public class SimpleConcordanceFuzzyScorer
extends org.apache.lucene.search.Scorer
Scorer that generates scored documents for the SimpleConcordanceFuzzyQuery| Constructor and Description |
|---|
SimpleConcordanceFuzzyScorer(float threshold,
org.apache.lucene.search.Similarity similarity,
List<org.apache.lucene.index.Term> terms,
org.apache.lucene.index.IndexReader reader)
Creates a SimpleConcordanceFuzzyScorer with the supplied parameters.
|
| 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 SimpleConcordanceFuzzyScorer(float threshold,
org.apache.lucene.search.Similarity similarity,
List<org.apache.lucene.index.Term> terms,
org.apache.lucene.index.IndexReader reader)
throws IOException
threshold - - value between 0.0 and 1.0, where 1.0 is a perfect match and 0.0 is no match.similarity - - Lucene Similarityterms - list of Termsreader - - current IndexReaderIOExceptionpublic 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.