com.liferay.portal.search.lucene
Interface IndexAccessor
- All Known Implementing Classes:
- IndexAccessorImpl, SynchronizedIndexAccessorImpl
public interface IndexAccessor
DEFAULT_LAST_GENERATION
static final long DEFAULT_LAST_GENERATION
- See Also:
- Constant Field Values
addDocument
void addDocument(org.apache.lucene.document.Document document)
throws IOException
- Throws:
IOException
close
void close()
delete
void delete()
deleteDocuments
void deleteDocuments(org.apache.lucene.index.Term term)
throws IOException
- Throws:
IOException
dumpIndex
void dumpIndex(OutputStream outputStream)
throws IOException
- Throws:
IOException
getCompanyId
long getCompanyId()
getLastGeneration
long getLastGeneration()
getLuceneDir
org.apache.lucene.store.Directory getLuceneDir()
loadIndex
void loadIndex(InputStream inputStream)
throws IOException
- Throws:
IOException
updateDocument
void updateDocument(org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document)
throws IOException
- Throws:
IOException