Highlighter.Net 2.0.0

QueryTermExtractor.GetTerms Method (Query, Boolean)

Extracts all terms texts of a given Query into an array of WeightedTerms

public static WeightedTerm[] GetTerms(
   Query query,
   bool prohibited
);

Parameters

query
Query to extract term texts from
prohibited
true
to extract "prohibited" terms, too

Return Value

an array of the terms used in a query, plus their weights.

See Also

QueryTermExtractor Class | Lucene.Net.Highlight Namespace | QueryTermExtractor.GetTerms Overload List