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