| com.liferay.portal.lucene.ReadOnlyIndexWriter
ReadOnlyIndexWriter | public class ReadOnlyIndexWriter extends IndexWriter (Code) | | View Source
author: Jorge Ferrer |
Constructor Summary | |
public | ReadOnlyIndexWriter(Directory luceneDir, Analyzer analyzer, boolean create) |
ReadOnlyIndexWriter | public ReadOnlyIndexWriter(Directory luceneDir, Analyzer analyzer, boolean create) throws IOException(Code) | | |
addDocument | public void addDocument(Document document) throws CorruptIndexException, IOException(Code) | | |
addDocument | public void addDocument(Document document, Analyzer analyzer) throws CorruptIndexException, IOException(Code) | | |
addIndexes | public synchronized void addIndexes(Directory[] directories) throws CorruptIndexException, IOException(Code) | | |
addIndexes | public synchronized void addIndexes(IndexReader[] indexReaders) throws CorruptIndexException, IOException(Code) | | |
addIndexesNoOptimize | public synchronized void addIndexesNoOptimize(Directory[] directories) throws CorruptIndexException, IOException(Code) | | |
deleteDocuments | public synchronized void deleteDocuments(Term term) throws CorruptIndexException, IOException(Code) | | |
deleteDocuments | public synchronized void deleteDocuments(Term[] terms) throws CorruptIndexException, IOException(Code) | | |
optimize | public synchronized void optimize() throws CorruptIndexException, IOException(Code) | | |
updateDocument | public void updateDocument(Term term, Document document) throws CorruptIndexException, IOException(Code) | | |
updateDocument | public void updateDocument(Term term, Document document, Analyzer analyzer) throws CorruptIndexException, IOException(Code) | | |
|
|