java.lang.Object
org.apache.lucene.search.highlight.QueryScorer
org.elasticsearch.search.fetch.subphase.highlight.CustomQueryScorer
All Implemented Interfaces:
org.apache.lucene.search.highlight.Scorer

public final class CustomQueryScorer extends org.apache.lucene.search.highlight.QueryScorer
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomQueryScorer(org.apache.lucene.search.Query query)
     
    CustomQueryScorer(org.apache.lucene.search.Query query, String field)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.lucene.search.highlight.WeightedSpanTermExtractor
    newTermExtractor(String defaultField)
     

    Methods inherited from class org.apache.lucene.search.highlight.QueryScorer

    getFragmentScore, getMaxTermWeight, getTokenScore, getWeightedSpanTerm, init, isExpandMultiTermQuery, isUsePayloads, setExpandMultiTermQuery, setMaxDocCharsToAnalyze, setUsePayloads, setWrapIfNotCachingTokenFilter, startFragment

    Methods inherited from class java.lang.Object

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

    • CustomQueryScorer

      public CustomQueryScorer(org.apache.lucene.search.Query query, String field)
    • CustomQueryScorer

      public CustomQueryScorer(org.apache.lucene.search.Query query)
  • Method Details

    • newTermExtractor

      protected org.apache.lucene.search.highlight.WeightedSpanTermExtractor newTermExtractor(String defaultField)
      Overrides:
      newTermExtractor in class org.apache.lucene.search.highlight.QueryScorer