Liferay 6.0.5

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(long companyId, Document document)
           
 void addDocuments(long companyId, Collection<Document> documents)
           
 void deleteDocument(long companyId, String uid)
           
 void deleteDocuments(long companyId, Collection<String> uids)
           
 void deletePortletDocuments(long companyId, String portletId)
           
 void updateDocument(long companyId, Document document)
           
 void updateDocuments(long companyId, 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(long companyId,
                        Document document)
                 throws SearchException
Specified by:
addDocument in interface IndexWriter
Throws:
SearchException

addDocuments

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

deleteDocument

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

deleteDocuments

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

deletePortletDocuments

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

updateDocument

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

updateDocuments

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

Liferay 6.0.5