public static GetTerms ( Query query ) : Lucene.Net.Search.Highlight.WeightedTerm[] | ||
query | Query | Query to extract term texts from /// |
Résultat | Lucene.Net.Search.Highlight.WeightedTerm[] |
/// <param name="query"> /// a Lucene query (ideally rewritten using <see cref="Query.Rewrite(IndexReader)"/> before /// being passed to this class and the searcher) /// </param> /// <param name="fieldName">the Field name which is used to match Query terms</param> public QueryTermScorer(Query query, string fieldName) : this(QueryTermExtractor.GetTerms(query, false, fieldName)) { }
/// <param name="query"> /// a Lucene query (ideally rewritten using <see cref="Query.Rewrite(IndexReader)"/> before /// being passed to this class and the searcher) /// </param> public QueryTermScorer(Query query) : this(QueryTermExtractor.GetTerms(query)) { }