|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.solr.spelling.SpellingOptions
public class SpellingOptions
Field Summary | |
---|---|
float |
accuracy
Optionally restrict the results to have a minimum accuracy level. |
int |
count
The number of suggestions to return, if there are any. |
SolrParams |
customParams
Any other custom params can be passed through. |
boolean |
extendedResults
Provide additional, per implementation, information about the results |
boolean |
onlyMorePopular
Return only those results that are more popular, as defined by the implementation |
org.apache.lucene.index.IndexReader |
reader
An optional IndexReader |
Collection<org.apache.lucene.analysis.Token> |
tokens
The tokens to spell check |
Constructor Summary | |
---|---|
SpellingOptions()
|
|
SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens,
org.apache.lucene.index.IndexReader reader)
|
|
SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens,
org.apache.lucene.index.IndexReader reader,
int count)
|
|
SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens,
org.apache.lucene.index.IndexReader reader,
int count,
boolean onlyMorePopular,
boolean extendedResults,
float accuracy,
SolrParams customParams)
|
|
SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens,
int count)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Collection<org.apache.lucene.analysis.Token> tokens
public org.apache.lucene.index.IndexReader reader
IndexReader
public int count
public boolean onlyMorePopular
public boolean extendedResults
public float accuracy
public SolrParams customParams
Constructor Detail |
---|
public SpellingOptions()
public SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens, int count)
public SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens, org.apache.lucene.index.IndexReader reader)
public SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens, org.apache.lucene.index.IndexReader reader, int count)
public SpellingOptions(Collection<org.apache.lucene.analysis.Token> tokens, org.apache.lucene.index.IndexReader reader, int count, boolean onlyMorePopular, boolean extendedResults, float accuracy, SolrParams customParams)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |