Method MetaTextScore
MetaTextScore(FieldDefinition<TSource>)
Creates a text score projection.
public ProjectionDefinition<TSource> MetaTextScore(FieldDefinition<TSource> field)
Parameters
field
FieldDefinition<TSource>The field.
Returns
- ProjectionDefinition<TSource>
A text score projection.
MetaTextScore<TField>(Expression<Func<TSource, TField>>)
Creates a text score projection.
public ProjectionDefinition<TSource> MetaTextScore<TField>(Expression<Func<TSource, TField>> field)
Parameters
field
Expression<Func<TSource, TField>>The field.
Returns
- ProjectionDefinition<TSource>
A text score projection.
Type Parameters
TField