public abstract class BaseIndexWriter extends Object implements IndexWriter, SpellCheckIndexWriter
Constructor and Description |
---|
BaseIndexWriter() |
Modifier and Type | Method and Description |
---|---|
void |
clearQuerySuggestionDictionaryIndexes(SearchContext searchContext) |
void |
clearSpellCheckerDictionaryIndexes(SearchContext searchContext) |
void |
commit(SearchContext searchContext) |
void |
indexKeyword(SearchContext searchContext,
float weight,
String keywordType) |
void |
indexQuerySuggestionDictionaries(SearchContext searchContext) |
void |
indexQuerySuggestionDictionary(SearchContext searchContext) |
void |
indexSpellCheckerDictionaries(SearchContext searchContext) |
void |
indexSpellCheckerDictionary(SearchContext searchContext) |
void |
setSpellCheckIndexWriter(SpellCheckIndexWriter spellCheckIndexWriter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDocument, addDocuments, deleteDocument, deleteDocuments, deleteEntityDocuments, partiallyUpdateDocument, partiallyUpdateDocuments, updateDocument, updateDocuments
public void clearQuerySuggestionDictionaryIndexes(SearchContext searchContext) throws SearchException
clearQuerySuggestionDictionaryIndexes
in interface SpellCheckIndexWriter
SearchException
public void clearSpellCheckerDictionaryIndexes(SearchContext searchContext) throws SearchException
clearSpellCheckerDictionaryIndexes
in interface SpellCheckIndexWriter
SearchException
public void commit(SearchContext searchContext) throws SearchException
commit
in interface IndexWriter
SearchException
public void indexKeyword(SearchContext searchContext, float weight, String keywordType) throws SearchException
indexKeyword
in interface SpellCheckIndexWriter
SearchException
public void indexQuerySuggestionDictionaries(SearchContext searchContext) throws SearchException
indexQuerySuggestionDictionaries
in interface SpellCheckIndexWriter
SearchException
public void indexQuerySuggestionDictionary(SearchContext searchContext) throws SearchException
indexQuerySuggestionDictionary
in interface SpellCheckIndexWriter
SearchException
public void indexSpellCheckerDictionaries(SearchContext searchContext) throws SearchException
indexSpellCheckerDictionaries
in interface SpellCheckIndexWriter
SearchException
public void indexSpellCheckerDictionary(SearchContext searchContext) throws SearchException
indexSpellCheckerDictionary
in interface SpellCheckIndexWriter
SearchException
public void setSpellCheckIndexWriter(SpellCheckIndexWriter spellCheckIndexWriter)