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

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.SloppyPhraseScorer

final class SloppyPhraseScorer
extends PhraseScorer


Field Summary
private  int slop
           
 
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
SloppyPhraseScorer(Weight weight, TermPositions[] tps, Similarity similarity, int slop, byte[] norms)
           
 
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

slop

private int slop
Constructor Detail

SloppyPhraseScorer

SloppyPhraseScorer(Weight weight,
                   TermPositions[] tps,
                   Similarity similarity,
                   int slop,
                   byte[] norms)
             throws IOException
Throws:
IOException
Method Detail

phraseFreq

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