public interface LuceneIndex extends Index
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_FIELD_FILENAME |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteIfExists(String... ids) |
void |
indexDocument(String id,
org.apache.lucene.document.Document doc) |
org.apache.lucene.index.IndexReader |
nrtReader() |
void |
nrtRelease(org.apache.lucene.index.IndexReader searcher) |
void |
nrtRelease(org.apache.lucene.search.IndexSearcher searcher) |
org.apache.lucene.search.IndexSearcher |
nrtSearcher() |
void |
rename(String sourceId,
org.apache.lucene.document.Document doc) |
commit, delete, freshIndex, getCluster
static final String CUSTOM_FIELD_FILENAME
void indexDocument(String id, org.apache.lucene.document.Document doc)
boolean deleteIfExists(String... ids)
void rename(String sourceId, org.apache.lucene.document.Document doc)
org.apache.lucene.index.IndexReader nrtReader()
void nrtRelease(org.apache.lucene.index.IndexReader searcher)
org.apache.lucene.search.IndexSearcher nrtSearcher()
void nrtRelease(org.apache.lucene.search.IndexSearcher searcher)
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.