Liferay 6.1.2-ce-ga3

com.liferay.portal.search.lucene
Class LuceneIndexWriterImpl

java.lang.Object
  extended by com.liferay.portal.search.lucene.LuceneIndexWriterImpl
All Implemented Interfaces:
IndexWriter

public class LuceneIndexWriterImpl
extends Object
implements IndexWriter


Constructor Summary
LuceneIndexWriterImpl()
           
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneIndexWriterImpl

public LuceneIndexWriterImpl()
Method Detail

addDocument

public void addDocument(SearchContext searchContext,
                        Document document)
                 throws SearchException
Specified by:
addDocument in interface IndexWriter
Throws:
SearchException

addDocuments

public void addDocuments(SearchContext searchContext,
                         Collection<Document> documents)
                  throws SearchException
Specified by:
addDocuments in interface IndexWriter
Throws:
SearchException

deleteDocument

public void deleteDocument(SearchContext searchContext,
                           String uid)
                    throws SearchException
Specified by:
deleteDocument in interface IndexWriter
Throws:
SearchException

deleteDocuments

public void deleteDocuments(SearchContext searchContext,
                            Collection<String> uids)
                     throws SearchException
Specified by:
deleteDocuments in interface IndexWriter
Throws:
SearchException

deletePortletDocuments

public void deletePortletDocuments(SearchContext searchContext,
                                   String portletId)
                            throws SearchException
Specified by:
deletePortletDocuments in interface IndexWriter
Throws:
SearchException

updateDocument

public void updateDocument(SearchContext searchContext,
                           Document document)
                    throws SearchException
Specified by:
updateDocument in interface IndexWriter
Throws:
SearchException

updateDocuments

public void updateDocuments(SearchContext searchContext,
                            Collection<Document> documents)
                     throws SearchException
Specified by:
updateDocuments in interface IndexWriter
Throws:
SearchException

Liferay 6.1.2-ce-ga3