public abstract class BaseLuceneIndex extends Object implements LuceneIndex
CUSTOM_FIELD_FILENAME| Constructor and Description |
|---|
BaseLuceneIndex() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteIfExists(String... docIds) |
void |
indexDocument(String id,
org.apache.lucene.document.Document doc) |
protected int[] |
lookupDocIdByPK(org.apache.lucene.search.IndexSearcher searcher,
String... ids) |
void |
rename(String sourceId,
org.apache.lucene.document.Document doc) |
abstract org.apache.lucene.index.IndexWriter |
writer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnrtReader, nrtRelease, nrtRelease, nrtSearchercommit, delete, freshIndex, getClusterpublic void indexDocument(String id, org.apache.lucene.document.Document doc)
indexDocument in interface LuceneIndexpublic boolean deleteIfExists(String... docIds)
deleteIfExists in interface LuceneIndexpublic void rename(String sourceId, org.apache.lucene.document.Document doc)
rename in interface LuceneIndexprotected int[] lookupDocIdByPK(org.apache.lucene.search.IndexSearcher searcher,
String... ids)
throws IOException
IOExceptionpublic abstract org.apache.lucene.index.IndexWriter writer()
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.