Click or drag to resize

Fields Methods

The Fields type exposes the following members.

Methods
  NameDescription
Public methodStatic memberElemMatch
Returns the first matching element in the array specified by name.
Public methodStatic memberExclude
Adds one or more field names to be excluded from the results.
Public methodStatic memberInclude
Adds one or more field names to be included in the results.
Public methodStatic memberMetaTextScore
Specifies the name of field to hold the computed relevance score for text search.
Public methodStatic memberSlice(String, Int32)
Adds a slice to be included in the results.
Public methodStatic memberSlice(String, Int32, Int32)
Adds a slice to be included in the results.
Top
See Also