com.liferay.portal.search.lucene
Class LuceneIndexWriter
java.lang.Object
com.liferay.portal.kernel.search.BaseIndexWriter
com.liferay.portal.search.lucene.LuceneIndexWriter
- All Implemented Interfaces:
- IndexWriter, SpellCheckIndexWriter
public class LuceneIndexWriter
- extends BaseIndexWriter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneIndexWriter
public LuceneIndexWriter()
addDocument
public void addDocument(SearchContext searchContext,
Document document)
throws SearchException
- Throws:
SearchException
addDocuments
public void addDocuments(SearchContext searchContext,
Collection<Document> documents)
throws SearchException
- Throws:
SearchException
deleteDocument
public void deleteDocument(SearchContext searchContext,
String uid)
throws SearchException
- Throws:
SearchException
deleteDocuments
public void deleteDocuments(SearchContext searchContext,
Collection<String> uids)
throws SearchException
- Throws:
SearchException
deletePortletDocuments
public void deletePortletDocuments(SearchContext searchContext,
String portletId)
throws SearchException
- Throws:
SearchException
updateDocument
public void updateDocument(SearchContext searchContext,
Document document)
throws SearchException
- Throws:
SearchException
updateDocuments
public void updateDocuments(SearchContext searchContext,
Collection<Document> documents)
throws SearchException
- Throws:
SearchException