com.elasticpath.persistence
Interface SpellIndexWriter
- All Known Implementing Classes:
- SpellIndexWriterImpl
public interface SpellIndexWriter
Represents an index writer that will generate a spelling index based on the
contents of the field in another index.
|
Method Summary |
void |
writeSpellIndex(java.lang.String field,
java.lang.String sourceIndexDir,
java.lang.String destIndexDir,
java.util.Locale locale)
Generates and saves a spelling index from the contents of a field in an
existing index. |
writeSpellIndex
void writeSpellIndex(java.lang.String field,
java.lang.String sourceIndexDir,
java.lang.String destIndexDir,
java.util.Locale locale)
- Generates and saves a spelling index from the contents of a field in an
existing index.
- Parameters:
field - the field of the source index to extract terms fromsourceIndexDir - the source indexdestIndexDir - the destination for the spelling indexlocale - the locale to index