org.apache.lucene.search.highlight

Class QueryScorer

  • All Implemented Interfaces:
    Scorer


    public class QueryScorer
    extends Object
    implements Scorer
    Scorer implementation which scores text fragments by the number of unique query terms found. This class converts appropriate Querys to SpanQuerys and attempts to score only those terms that participated in generating the 'hit' on the document.