Class CustomFieldQuery
java.lang.Object
org.apache.lucene.search.vectorhighlight.FieldQuery
org.apache.lucene.search.vectorhighlight.CustomFieldQuery
public class CustomFieldQuery
extends org.apache.lucene.search.vectorhighlight.FieldQuery
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.vectorhighlight.FieldQuery
org.apache.lucene.search.vectorhighlight.FieldQuery.QueryPhraseMap
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCustomFieldQuery(org.apache.lucene.search.Query query, org.apache.lucene.index.IndexReader reader, boolean phraseHighlight, boolean fieldMatch)
CustomFieldQuery(org.apache.lucene.search.Query query, org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.vectorhighlight.FastVectorHighlighter highlighter)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
flatten(org.apache.lucene.search.Query sourceQuery, org.apache.lucene.index.IndexReader reader, Collection<org.apache.lucene.search.Query> flatQueries, float boost)
Methods inherited from class org.apache.lucene.search.vectorhighlight.FieldQuery
getFieldTermMap, searchPhrase
-
Field Details
-
highlightFilters
-
-
Constructor Details
-
CustomFieldQuery
public CustomFieldQuery(org.apache.lucene.search.Query query, org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.vectorhighlight.FastVectorHighlighter highlighter) throws IOException- Throws:
IOException
-
CustomFieldQuery
public CustomFieldQuery(org.apache.lucene.search.Query query, org.apache.lucene.index.IndexReader reader, boolean phraseHighlight, boolean fieldMatch) throws IOException- Throws:
IOException
-
-
Method Details
-
flatten
protected void flatten(org.apache.lucene.search.Query sourceQuery, org.apache.lucene.index.IndexReader reader, Collection<org.apache.lucene.search.Query> flatQueries, float boost) throws IOException- Overrides:
flatten
in classorg.apache.lucene.search.vectorhighlight.FieldQuery
- Throws:
IOException
-