Class SolrPathScorer

java.lang.Object
org.apache.lucene.search.Scorer
org.alfresco.solr.query.SolrPathScorer

public class SolrPathScorer extends org.apache.lucene.search.Scorer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.lucene.search.Scorer

    org.apache.lucene.search.Scorer.ChildScorer
  • Field Summary

    Fields inherited from class org.apache.lucene.search.Scorer

    weight
  • Method Summary

    Modifier and Type
    Method
    Description
    createPathScorer(SolrPathQuery solrPathQuery, org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.Weight weight, org.alfresco.service.cmr.dictionary.DictionaryService dictionarySertvice, boolean repeat)
     
    int
     
    int
     
    org.apache.lucene.search.DocIdSetIterator
     
    float
     

    Methods inherited from class org.apache.lucene.search.Scorer

    getChildren, getWeight, twoPhaseIterator

    Methods inherited from class java.lang.Object

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

    • createPathScorer

      public static SolrPathScorer createPathScorer(SolrPathQuery solrPathQuery, org.apache.lucene.index.LeafReaderContext context, org.apache.lucene.search.Weight weight, org.alfresco.service.cmr.dictionary.DictionaryService dictionarySertvice, boolean repeat) throws IOException
      Throws:
      IOException
    • score

      public float score() throws IOException
      Specified by:
      score in class org.apache.lucene.search.Scorer
      Throws:
      IOException
    • freq

      public int freq() throws IOException
      Specified by:
      freq in class org.apache.lucene.search.Scorer
      Throws:
      IOException
    • docID

      public int docID()
      Specified by:
      docID in class org.apache.lucene.search.Scorer
    • iterator

      public org.apache.lucene.search.DocIdSetIterator iterator()
      Specified by:
      iterator in class org.apache.lucene.search.Scorer