Highlighting() public method

Allows setting of additional highlighting on the result set of matching terms.
public Highlighting ( HighLightStyle highLightStyle ) : ISearchParams
highLightStyle HighLightStyle The to use.
return ISearchParams
コード例 #1
0
 /// <summary>
 /// Allows setting of additional highlighting on the result set of matching terms.
 /// </summary>
 /// <param name="highLightStyle">The <see cref="HighLightStyle" /> to use.</param>
 /// <param name="fields">The specific terms or fields to highlight.</param>
 /// <returns></returns>
 public SearchQuery Highlighting(HighLightStyle highLightStyle, params string[] fields)
 {
     SearchParams.Highlighting(highLightStyle, fields);
     return(this);
 }
コード例 #2
0
 /// <summary>
 /// Allows setting of additional highlighting on the result set of matching terms.
 /// </summary>
 /// <param name="highLightStyle">The <see cref="HighLightStyle" /> to use.</param>
 /// <returns></returns>
 public SearchQuery Highlighting(HighLightStyle highLightStyle)
 {
     SearchParams.Highlighting(highLightStyle);
     return(this);
 }