public class SpellCheckerIndexer extends Object implements ISpellCheckerIndexer
ISpellCheckerIndexer
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger
The logger
|
Constructor and Description |
---|
SpellCheckerIndexer() |
Modifier and Type | Method and Description |
---|---|
Map<String,Boolean> |
buildAllIndex()
Re-index all the SpellCheckerDictionaryNames
|
boolean |
buildIndex(com.gisgraphy.fulltext.spell.SpellCheckerDictionaryNames spellCheckerDictionaryName)
re-index the dictionary for the specified spellchecker dictionary name
|
void |
setSolrClient(IsolrClient solrClient) |
public Map<String,Boolean> buildAllIndex()
ISpellCheckerIndexer
buildAllIndex
in interface ISpellCheckerIndexer
public boolean buildIndex(com.gisgraphy.fulltext.spell.SpellCheckerDictionaryNames spellCheckerDictionaryName)
ISpellCheckerIndexer
buildIndex
in interface ISpellCheckerIndexer
spellCheckerDictionaryName
- the spellChecker Dictionary to index / re-indexpublic void setSolrClient(IsolrClient solrClient)
solrClient
- the solrClient to setCopyright © 2015. All rights reserved.