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