diff --git a/Documentation/Highlighting.md b/Documentation/Highlighting.md index b21a6e2e6..424e453e4 100644 --- a/Documentation/Highlighting.md +++ b/Documentation/Highlighting.md @@ -22,6 +22,12 @@ would print for example: features: NoiseGuard, SilentSeek technology, Fluid Dynamic Bearing (FDB) motor ``` +If you need to specify additional parameters, for example the snippet size for a specific field, it is necessary to do so using ExtraParams which then are added to the QueryOptions object of your query. +``` +Dictionary extraParams = new Dictionary(); +extraParams.Add("f.features.hl.fragsize", "250"); +``` + The results object will include: - A Highlights property which is an IDictionary. - The string corresponds to the document uniquekey