org.alfresco.repo.search.impl.lucene.query
Class PathScorer

java.lang.Object
  extended by org.apache.lucene.search.DocIdSetIterator
      extended by org.apache.lucene.search.Scorer
          extended by org.alfresco.repo.search.impl.lucene.query.PathScorer

public class PathScorer
extends org.apache.lucene.search.Scorer


Method Summary
static PathScorer createPathScorer(org.apache.lucene.search.Similarity similarity, PathQuery pathQuery, org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.Weight weight, DictionaryService dictionarySertvice, boolean repeat)
           
 int doc()
           
 org.apache.lucene.search.Explanation explain(int position)
           
 boolean next()
           
 float score()
           
 boolean skipTo(int position)
           
 
Methods inherited from class org.apache.lucene.search.Scorer
getSimilarity, score, score
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createPathScorer

public static PathScorer createPathScorer(org.apache.lucene.search.Similarity similarity,
                                          PathQuery pathQuery,
                                          org.apache.lucene.index.IndexReader reader,
                                          org.apache.lucene.search.Weight weight,
                                          DictionaryService dictionarySertvice,
                                          boolean repeat)
                                   throws java.io.IOException
Throws:
java.io.IOException

next

public boolean next()
             throws java.io.IOException
Specified by:
next in class org.apache.lucene.search.DocIdSetIterator
Throws:
java.io.IOException

doc

public int doc()
Specified by:
doc in class org.apache.lucene.search.DocIdSetIterator

score

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

skipTo

public boolean skipTo(int position)
               throws java.io.IOException
Specified by:
skipTo in class org.apache.lucene.search.DocIdSetIterator
Throws:
java.io.IOException

explain

public org.apache.lucene.search.Explanation explain(int position)
                                             throws java.io.IOException
Specified by:
explain in class org.apache.lucene.search.Scorer
Throws:
java.io.IOException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.