public class TmFuzzyScorer
extends org.apache.lucene.search.Scorer
| Constructor and Description |
|---|
TmFuzzyScorer(float threshold,
org.apache.lucene.search.Weight weight,
List<org.apache.lucene.index.Term> terms,
org.apache.lucene.index.IndexReader reader,
String termCountField) |
| Modifier and Type | Method and Description |
|---|---|
int |
docID() |
float |
getMaxScore(int i) |
org.apache.lucene.search.DocIdSetIterator |
iterator() |
float |
score() |
public TmFuzzyScorer(float threshold,
org.apache.lucene.search.Weight weight,
List<org.apache.lucene.index.Term> terms,
org.apache.lucene.index.IndexReader reader,
String termCountField)
throws IOException
threshold - weight - terms - reader - IOExceptionpublic float score()
throws IOException
score in class org.apache.lucene.search.ScorableIOExceptionpublic int docID()
docID in class org.apache.lucene.search.Scorablepublic org.apache.lucene.search.DocIdSetIterator iterator()
iterator in class org.apache.lucene.search.Scorerpublic float getMaxScore(int i)
throws IOException
getMaxScore in class org.apache.lucene.search.ScorerIOExceptionCopyright © 2021. All rights reserved.