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()
ISpellCheckerIndexerbuildAllIndex in interface ISpellCheckerIndexerpublic boolean buildIndex(com.gisgraphy.fulltext.spell.SpellCheckerDictionaryNames spellCheckerDictionaryName)
ISpellCheckerIndexerbuildIndex in interface ISpellCheckerIndexerspellCheckerDictionaryName - the spellChecker Dictionary to index / re-indexpublic void setSolrClient(IsolrClient solrClient)
solrClient - the solrClient to setCopyright © 2015. All rights reserved.