Method MetaTextScore
MetaTextScore<TDocument>(ProjectionDefinition<TDocument>, string)
Combines an existing projection with a text score projection.
public static ProjectionDefinition<TDocument> MetaTextScore<TDocument>(this ProjectionDefinition<TDocument> projection, string field)
Parameters
projection
ProjectionDefinition<TDocument>The projection.
field
stringThe field.
Returns
- ProjectionDefinition<TDocument>
A combined projection.
Type Parameters
TDocument
The type of the document.