Package com.liferay.portal.kernel.search
Class BaseIndexWriter
Object
com.liferay.portal.kernel.search.BaseIndexWriter
- All Implemented Interfaces:
IndexWriter,SpellCheckIndexWriter
- Author:
- Michael C. Han
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearQuerySuggestionDictionaryIndexes(SearchContext searchContext) voidclearSpellCheckerDictionaryIndexes(SearchContext searchContext) voidcommit(SearchContext searchContext) protected abstract SpellCheckIndexWritervoidindexKeyword(SearchContext searchContext, float weight, String keywordType) voidindexQuerySuggestionDictionaries(SearchContext searchContext) voidindexQuerySuggestionDictionary(SearchContext searchContext) voidindexSpellCheckerDictionaries(SearchContext searchContext) voidindexSpellCheckerDictionary(SearchContext searchContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.search.IndexWriter
addDocument, addDocuments, deleteDocument, deleteDocuments, deleteEntityDocuments, partiallyUpdateDocument, partiallyUpdateDocuments, updateDocument, updateDocuments
-
Constructor Details
-
BaseIndexWriter
public BaseIndexWriter()
-
-
Method Details
-
clearQuerySuggestionDictionaryIndexes
public void clearQuerySuggestionDictionaryIndexes(SearchContext searchContext) throws SearchException - Specified by:
clearQuerySuggestionDictionaryIndexesin interfaceSpellCheckIndexWriter- Throws:
SearchException
-
clearSpellCheckerDictionaryIndexes
- Specified by:
clearSpellCheckerDictionaryIndexesin interfaceSpellCheckIndexWriter- Throws:
SearchException
-
commit
- Specified by:
commitin interfaceIndexWriter- Throws:
SearchException
-
indexKeyword
public void indexKeyword(SearchContext searchContext, float weight, String keywordType) throws SearchException - Specified by:
indexKeywordin interfaceSpellCheckIndexWriter- Throws:
SearchException
-
indexQuerySuggestionDictionaries
- Specified by:
indexQuerySuggestionDictionariesin interfaceSpellCheckIndexWriter- Throws:
SearchException
-
indexQuerySuggestionDictionary
- Specified by:
indexQuerySuggestionDictionaryin interfaceSpellCheckIndexWriter- Throws:
SearchException
-
indexSpellCheckerDictionaries
- Specified by:
indexSpellCheckerDictionariesin interfaceSpellCheckIndexWriter- Throws:
SearchException
-
indexSpellCheckerDictionary
- Specified by:
indexSpellCheckerDictionaryin interfaceSpellCheckIndexWriter- Throws:
SearchException
-
getSpellCheckIndexWriter
-