Class SolrCachingPathWeight

java.lang.Object
org.apache.lucene.search.Weight
org.alfresco.solr.query.SolrCachingPathWeight

public class SolrCachingPathWeight extends org.apache.lucene.search.Weight
Weight implementation for the SolrCachingPathQuery.
Author:
Matt Ward
  • Nested Class Summary

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

    org.apache.lucene.search.Weight.DefaultBulkScorer
  • Field Summary

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

    parentQuery
  • Constructor Summary

    Constructors
    Constructor
    Description
    SolrCachingPathWeight(SolrCachingPathQuery cachingPathQuery, org.apache.solr.search.SolrIndexSearcher searcher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.search.Explanation
    explain(org.apache.lucene.index.LeafReaderContext context, int doc)
     
    void
    extractTerms(Set<org.apache.lucene.index.Term> terms)
     
    float
     
    void
    normalize(float norm, float topLevelBoost)
     
    org.apache.lucene.search.Scorer
    scorer(org.apache.lucene.index.LeafReaderContext context)
     

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

    bulkScorer, getQuery, scorerSupplier

    Methods inherited from class java.lang.Object

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

  • Method Details

    • explain

      public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.LeafReaderContext context, int doc) throws IOException
      Specified by:
      explain in class org.apache.lucene.search.Weight
      Throws:
      IOException
    • getValueForNormalization

      public float getValueForNormalization() throws IOException
      Specified by:
      getValueForNormalization in class org.apache.lucene.search.Weight
      Throws:
      IOException
    • normalize

      public void normalize(float norm, float topLevelBoost)
      Specified by:
      normalize in class org.apache.lucene.search.Weight
    • scorer

      public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.LeafReaderContext context) throws IOException
      Specified by:
      scorer in class org.apache.lucene.search.Weight
      Throws:
      IOException
    • extractTerms

      public void extractTerms(Set<org.apache.lucene.index.Term> terms)
      Specified by:
      extractTerms in class org.apache.lucene.search.Weight