Click or drag to resize

IndexKeys<TDocument> Methods

The IndexKeys<TDocument> generic type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAscending
Sets one or more key names to index in ascending order.
Public methodStatic memberDescending
Sets one or more key names to index in descending order.
Public methodStatic memberGeoSpatial<TMember>
Sets the key name to create a geospatial index on.
Public methodStatic memberGeoSpatialHaystack<TMember>(Expression<Func<TDocument, TMember>>) Obsolete.
Sets the key name to create a geospatial haystack index on.
Public methodStatic memberGeoSpatialHaystack<TMember, TAdditionalMember>(Expression<Func<TDocument, TMember>>, Expression<Func<TDocument, TAdditionalMember>>) Obsolete.
Sets the key name and additional field name to create a geospatial haystack index on.
Public methodStatic memberGeoSpatialSpherical<TMember>
Sets the key name to create a spherical geospatial index on.
Public methodStatic memberHashed<TMember>
Sets the key name to create a hashed index on.
Public methodStatic memberText(Expression<Func<TDocument, IEnumerable<String>>>[])
Sets one or more key names to include in the text index.
Public methodStatic memberText(Expression<Func<TDocument, String>>[])
Sets one or more key names to include in the text index.
Public methodStatic memberTextAll
Create a text index that indexes all text fields of a document.
Public methodStatic memberWildcard
Sets a wildcard key to the index.
Top
See Also