gate.creole.annic.apache.lucene.search
Class ExactPhraseScorer

java.lang.Object
  extended by gate.creole.annic.apache.lucene.search.Scorer
      extended by gate.creole.annic.apache.lucene.search.PhraseScorer
          extended by gate.creole.annic.apache.lucene.search.ExactPhraseScorer

final class ExactPhraseScorer
extends PhraseScorer


Field Summary
(package private)  int patternSize
           
 
Fields inherited from class gate.creole.annic.apache.lucene.search.PhraseScorer
first, last, norms, pq, value
 
Fields inherited from class gate.creole.annic.apache.lucene.search.Scorer
searcher
 
Constructor Summary
ExactPhraseScorer(Weight weight, TermPositions[] tps, Similarity similarity, byte[] norms)
           
ExactPhraseScorer(Weight weight, TermPositions[] tps, Vector positions, int totalTerms, Similarity similarity, byte[] norms, Searcher searcher)
           
 
Method Summary
protected  float phraseFreq()
           
 
Methods inherited from class gate.creole.annic.apache.lucene.search.PhraseScorer
doc, explain, firstToLast, next, pqToList, score, skipTo, toString
 
Methods inherited from class gate.creole.annic.apache.lucene.search.Scorer
getSimilarity, score
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

patternSize

int patternSize
Constructor Detail

ExactPhraseScorer

ExactPhraseScorer(Weight weight,
                  TermPositions[] tps,
                  Similarity similarity,
                  byte[] norms)
            throws IOException
Throws:
IOException

ExactPhraseScorer

ExactPhraseScorer(Weight weight,
                  TermPositions[] tps,
                  Vector positions,
                  int totalTerms,
                  Similarity similarity,
                  byte[] norms,
                  Searcher searcher)
            throws IOException
Throws:
IOException
Method Detail

phraseFreq

protected final float phraseFreq()
                          throws IOException
Specified by:
phraseFreq in class PhraseScorer
Throws:
IOException