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

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomFieldQuery​(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 Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 class org.apache.lucene.search.vectorhighlight.FieldQuery
      Throws:
      IOException