internal FieldHighlightings AddField(string fieldName) { var fieldHighlightings = new FieldHighlightings(fieldName); _fields.Add(fieldHighlightings); return(fieldHighlightings); }
/// <inheritdoc /> IAsyncDocumentQuery <T> IDocumentQueryBase <T, IAsyncDocumentQuery <T> > .Highlight <TValue>( Expression <Func <T, TValue> > propertySelector, Expression <Func <T, TValue> > keyPropertySelector, int fragmentLength, int fragmentCount, out FieldHighlightings fieldHighlightings) { Highlight(GetMemberQueryPath(propertySelector), GetMemberQueryPath(keyPropertySelector), fragmentLength, fragmentCount, out fieldHighlightings); return(this); }
/// <inheritdoc /> IDocumentQuery <T> IDocumentQueryBase <T, IDocumentQuery <T> > .Highlight( string fieldName, int fragmentLength, int fragmentCount, out FieldHighlightings highlightings) { Highlight(fieldName, fragmentLength, fragmentCount, out highlightings); return(this); }
/// <inheritdoc /> public void Highlight(string fieldName, string fieldKeyName, int fragmentLength, int fragmentCount, out FieldHighlightings fieldHighlightings) { throw new NotImplementedException("This feature is not yet implemented"); //HighlighterKeyName = fieldKeyName; //HighlightedFields.Add(new HighlightedField(fieldName, fragmentLength, fragmentCount, null)); //fieldHighlightings = Highlightings.AddField(fieldName); }