org.kie.kieora.backend.lucene.setups
Class BaseLuceneSetup
java.lang.Object
org.kie.kieora.backend.lucene.setups.BaseLuceneSetup
- All Implemented Interfaces:
- LuceneSetup
- Direct Known Subclasses:
- DirectoryLuceneSetup
public abstract class BaseLuceneSetup
- extends Object
- implements LuceneSetup
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseLuceneSetup
public BaseLuceneSetup()
indexDocument
public void indexDocument(String id,
org.apache.lucene.document.Document doc)
- Specified by:
indexDocument in interface LuceneSetup
deleteIfExists
public void deleteIfExists(String... docIds)
- Specified by:
deleteIfExists in interface LuceneSetup
rename
public void rename(String sourceId,
String targetId)
- Specified by:
rename in interface LuceneSetup
lookupDocIdByPK
protected int[] lookupDocIdByPK(org.apache.lucene.search.IndexSearcher searcher,
String... ids)
throws IOException
- Throws:
IOException
writer
public abstract org.apache.lucene.index.IndexWriter writer()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.