Class CustomFieldQuery
- java.lang.Object
-
- org.apache.lucene.search.vectorhighlight.FieldQuery
-
- org.apache.lucene.search.vectorhighlight.CustomFieldQuery
-
public class CustomFieldQuery extends FieldQuery
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.search.vectorhighlight.FieldQuery
FieldQuery.QueryPhraseMap
-
-
Field Summary
Fields Modifier and Type Field Description static ThreadLocal<Boolean>highlightFilters
-
Constructor Summary
Constructors Constructor Description CustomFieldQuery(Query query, IndexReader reader, boolean phraseHighlight, boolean fieldMatch)CustomFieldQuery(Query query, IndexReader reader, FastVectorHighlighter highlighter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidflatten(Query sourceQuery, IndexReader reader, Collection<Query> flatQueries, float boost)-
Methods inherited from class org.apache.lucene.search.vectorhighlight.FieldQuery
getFieldTermMap, searchPhrase
-
-
-
-
Field Detail
-
highlightFilters
public static final ThreadLocal<Boolean> highlightFilters
-
-
Constructor Detail
-
CustomFieldQuery
public CustomFieldQuery(Query query, IndexReader reader, FastVectorHighlighter highlighter) throws IOException
- Throws:
IOException
-
CustomFieldQuery
public CustomFieldQuery(Query query, IndexReader reader, boolean phraseHighlight, boolean fieldMatch) throws IOException
- Throws:
IOException
-
-
Method Detail
-
flatten
protected void flatten(Query sourceQuery, IndexReader reader, Collection<Query> flatQueries, float boost) throws IOException
- Overrides:
flattenin classFieldQuery- Throws:
IOException
-
-