com.gisgraphy.domain.geoloc.service.fulltextsearch.spell
Interface ISpellCheckerIndexer

All Known Implementing Classes:
SpellCheckerIndexer

public interface ISpellCheckerIndexer

Author:
David Masclet

Method Summary
 java.util.Map<java.lang.String,java.lang.Boolean> buildAllIndex()
          Re-index all the SpellCheckerDictionaryNames
 boolean buildIndex(SpellCheckerDictionaryNames spellCheckerDictionaryName)
          re-index the dictionary for the specified spellchecker dictionary name
 

Method Detail

buildAllIndex

java.util.Map<java.lang.String,java.lang.Boolean> buildAllIndex()
Re-index all the SpellCheckerDictionaryNames

Returns:
a map with dictioanry name as key and boolean as value. the boolean is equal to true if the index has succeed for the dictionary
Throws:
a - SpellCheckerException if the spellChecker is not alive or if an error occured

buildIndex

boolean buildIndex(SpellCheckerDictionaryNames spellCheckerDictionaryName)
re-index the dictionary for the specified spellchecker dictionary name

Parameters:
spellCheckerDictionaryName - the spellChecker Dictionary to index / re-index
Throws:
a - SpellCheckerException if the spellChecker is not alive or if an error occured


Copyright © 2010. All Rights Reserved.