public abstract class AbstractRondhuitSpellChecker extends SolrSpellChecker
Refer to SpellCheckComponent for more details.
修飾子とタイプ | フィールドと説明 |
---|---|
protected float |
accuracy |
static java.lang.String |
ACCURACY |
static java.lang.String |
COMPARATOR_CLASS |
static int |
DEFAULT_SUGGESTION_COUNT |
protected org.apache.lucene.search.spell.Dictionary |
dictionary |
static java.lang.String |
FREQ_COMP |
protected Directory |
index |
static java.lang.String |
INDEX_DIR |
protected java.lang.String |
indexDir |
static java.lang.String |
LOCATION |
static org.slf4j.Logger |
log |
static java.lang.String |
SCORE_COMP |
protected org.apache.lucene.search.spell.StringDistance |
sd |
protected java.lang.String |
sourceLocation |
protected SpellChecker |
spellChecker |
static java.lang.String |
SPELLCHECKER_ARG_NAME |
static java.lang.String |
STRING_DISTANCE |
analyzer, DEFAULT_DICTIONARY_NAME, DICTIONARY_NAME, field, FIELD, FIELD_TYPE, fieldTypeName, name
コンストラクタと説明 |
---|
AbstractRondhuitSpellChecker() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected IndexReader |
determineReader(IndexReader reader) |
float |
getAccuracy() |
java.lang.String |
getField() |
java.lang.String |
getFieldTypeName() |
java.lang.String |
getIndexDir() |
java.lang.String |
getSourceLocation() |
SpellChecker |
getSpellChecker() |
org.apache.lucene.search.spell.StringDistance |
getStringDistance() |
SpellingResult |
getSuggestions(SpellingOptions options) |
java.lang.String |
init(org.apache.solr.common.util.NamedList config,
SolrCore core) |
protected void |
initIndex()
|
void |
reload(SolrCore core,
SolrIndexSearcher searcher) |
build, getDictionaryName, getQueryAnalyzer, isSuggestionsMayOverlap, mergeSuggestions
public static final org.slf4j.Logger log
public static final java.lang.String SPELLCHECKER_ARG_NAME
public static final java.lang.String LOCATION
public static final java.lang.String INDEX_DIR
public static final java.lang.String ACCURACY
public static final java.lang.String STRING_DISTANCE
public static final java.lang.String COMPARATOR_CLASS
public static final java.lang.String SCORE_COMP
public static final java.lang.String FREQ_COMP
protected SpellChecker spellChecker
protected java.lang.String sourceLocation
protected Directory index
protected org.apache.lucene.search.spell.Dictionary dictionary
public static final int DEFAULT_SUGGESTION_COUNT
protected java.lang.String indexDir
protected float accuracy
protected org.apache.lucene.search.spell.StringDistance sd
public java.lang.String init(org.apache.solr.common.util.NamedList config, SolrCore core)
init
クラス内 SolrSpellChecker
public SpellingResult getSuggestions(SpellingOptions options) throws java.io.IOException
getSuggestions
クラス内 SolrSpellChecker
java.io.IOException
protected IndexReader determineReader(IndexReader reader)
public void reload(SolrCore core, SolrIndexSearcher searcher) throws java.io.IOException
reload
クラス内 SolrSpellChecker
java.io.IOException
protected void initIndex() throws java.io.IOException
java.io.IOException
- If there is a low-level I/O error.public float getAccuracy()
getAccuracy
クラス内 SolrSpellChecker
public java.lang.String getField()
public java.lang.String getFieldTypeName()
public java.lang.String getIndexDir()
public java.lang.String getSourceLocation()
public org.apache.lucene.search.spell.StringDistance getStringDistance()
getStringDistance
クラス内 SolrSpellChecker
public SpellChecker getSpellChecker()
Copyright © 2009-2018 RONDHUIT Co.,Ltd. All Rights Reserved.