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 TypeMethodDescriptionvoid
clearQuerySuggestionDictionaryIndexes
(SearchContext searchContext) void
clearSpellCheckerDictionaryIndexes
(SearchContext searchContext) void
commit
(SearchContext searchContext) protected abstract SpellCheckIndexWriter
void
indexKeyword
(SearchContext searchContext, float weight, String keywordType) void
indexQuerySuggestionDictionaries
(SearchContext searchContext) void
indexQuerySuggestionDictionary
(SearchContext searchContext) void
indexSpellCheckerDictionaries
(SearchContext searchContext) void
indexSpellCheckerDictionary
(SearchContext searchContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
clearQuerySuggestionDictionaryIndexes
in interfaceSpellCheckIndexWriter
- Throws:
SearchException
-
clearSpellCheckerDictionaryIndexes
- Specified by:
clearSpellCheckerDictionaryIndexes
in interfaceSpellCheckIndexWriter
- Throws:
SearchException
-
commit
- Specified by:
commit
in interfaceIndexWriter
- Throws:
SearchException
-
indexKeyword
public void indexKeyword(SearchContext searchContext, float weight, String keywordType) throws SearchException - Specified by:
indexKeyword
in interfaceSpellCheckIndexWriter
- Throws:
SearchException
-
indexQuerySuggestionDictionaries
- Specified by:
indexQuerySuggestionDictionaries
in interfaceSpellCheckIndexWriter
- Throws:
SearchException
-
indexQuerySuggestionDictionary
- Specified by:
indexQuerySuggestionDictionary
in interfaceSpellCheckIndexWriter
- Throws:
SearchException
-
indexSpellCheckerDictionaries
- Specified by:
indexSpellCheckerDictionaries
in interfaceSpellCheckIndexWriter
- Throws:
SearchException
-
indexSpellCheckerDictionary
- Specified by:
indexSpellCheckerDictionary
in interfaceSpellCheckIndexWriter
- Throws:
SearchException
-
getSpellCheckIndexWriter
-