Liferay 6.2-ce-ga5

com.liferay.portal.kernel.search
Interface IndexWriter

All Superinterfaces:
SpellCheckIndexWriter
All Known Implementing Classes:
BaseIndexWriter, DummyIndexWriter, IndexWriterProxyBean, LuceneIndexWriter

public interface IndexWriter
extends SpellCheckIndexWriter


Method Summary
 void addDocument(SearchContext searchContext, Document document)
           
 void addDocuments(SearchContext searchContext, Collection<Document> documents)
           
 void deleteDocument(SearchContext searchContext, String uid)
           
 void deleteDocuments(SearchContext searchContext, Collection<String> uids)
           
 void deletePortletDocuments(SearchContext searchContext, String portletId)
           
 void updateDocument(SearchContext searchContext, Document document)
           
 void updateDocuments(SearchContext searchContext, Collection<Document> documents)
           
 
Methods inherited from interface com.liferay.portal.kernel.search.SpellCheckIndexWriter
clearQuerySuggestionDictionaryIndexes, clearSpellCheckerDictionaryIndexes, indexKeyword, indexQuerySuggestionDictionaries, indexQuerySuggestionDictionary, indexSpellCheckerDictionaries, indexSpellCheckerDictionary
 

Method Detail

addDocument

void addDocument(SearchContext searchContext,
                 Document document)
                 throws SearchException
Throws:
SearchException

addDocuments

void addDocuments(SearchContext searchContext,
                  Collection<Document> documents)
                  throws SearchException
Throws:
SearchException

deleteDocument

void deleteDocument(SearchContext searchContext,
                    String uid)
                    throws SearchException
Throws:
SearchException

deleteDocuments

void deleteDocuments(SearchContext searchContext,
                     Collection<String> uids)
                     throws SearchException
Throws:
SearchException

deletePortletDocuments

void deletePortletDocuments(SearchContext searchContext,
                            String portletId)
                            throws SearchException
Throws:
SearchException

updateDocument

void updateDocument(SearchContext searchContext,
                    Document document)
                    throws SearchException
Throws:
SearchException

updateDocuments

void updateDocuments(SearchContext searchContext,
                     Collection<Document> documents)
                     throws SearchException
Throws:
SearchException

Liferay 6.2-ce-ga5