org.kie.kieora.backend.lucene
Interface LuceneSetup
- All Known Implementing Classes:
- BaseLuceneSetup, DirectoryLuceneSetup, MMapLuceneSetup, NIOLuceneSetup, RAMLuceneSetup
public interface LuceneSetup
CUSTOM_FIELD_FILENAME
static final String CUSTOM_FIELD_FILENAME
- See Also:
- Constant Field Values
getAnalyzer
org.apache.lucene.analysis.Analyzer getAnalyzer()
indexDocument
void indexDocument(String id,
org.apache.lucene.document.Document doc)
deleteIfExists
void deleteIfExists(String... ids)
rename
void rename(String source,
String target)
nrtSearcher
org.apache.lucene.search.IndexSearcher nrtSearcher()
nrtRelease
void nrtRelease(org.apache.lucene.search.IndexSearcher searcher)
dispose
void dispose()
freshIndex
boolean freshIndex()
commit
void commit()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.