public class TmFuzzyScorer
extends org.apache.lucene.search.Scorer
| Constructor and Description |
|---|
TmFuzzyScorer(float threshold,
org.apache.lucene.search.Similarity similarity,
List<org.apache.lucene.index.Term> terms,
org.apache.lucene.index.IndexReader reader,
String termCountField) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
int |
docID() |
int |
nextDoc() |
float |
score() |
boolean |
scoresDocsOutOfOrder()
Are the docs scored out of order?
|
public TmFuzzyScorer(float threshold,
org.apache.lucene.search.Similarity similarity,
List<org.apache.lucene.index.Term> terms,
org.apache.lucene.index.IndexReader reader,
String termCountField)
throws IOException
threshold - similarity - terms - reader - IOExceptionpublic int advance(int target)
throws IOException
advance in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic float score()
throws IOException
score in class org.apache.lucene.search.ScorerIOExceptionpublic boolean scoresDocsOutOfOrder()
public int nextDoc()
throws IOException
nextDoc in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorCopyright © 2019. All rights reserved.