org.kie.kieora.backend.lucene
public class LuceneIndexEngine extends Object implements MetaIndexEngine
FULL_TEXT_FIELD
Constructor and Description |
---|
LuceneIndexEngine(MetaModelStore metaModelStore,
LuceneSetup lucene,
FieldFactory fieldFactory) |
Modifier and Type | Method and Description |
---|---|
void |
commit() |
void |
delete(KObjectKey... objectsKey) |
void |
delete(KObjectKey objectKey) |
void |
dispose() |
boolean |
freshIndex() |
void |
index(KObject... objects) |
void |
index(KObject object) |
void |
rename(KObjectKey from,
KObjectKey to) |
void |
startBatchMode() |
public LuceneIndexEngine(MetaModelStore metaModelStore, LuceneSetup lucene, FieldFactory fieldFactory)
public boolean freshIndex()
freshIndex
in interface MetaIndexEngine
public void startBatchMode()
startBatchMode
in interface MetaIndexEngine
public void index(KObject object)
index
in interface MetaIndexEngine
public void index(KObject... objects)
index
in interface MetaIndexEngine
public void rename(KObjectKey from, KObjectKey to)
rename
in interface MetaIndexEngine
public void delete(KObjectKey objectKey)
delete
in interface MetaIndexEngine
public void delete(KObjectKey... objectsKey)
delete
in interface MetaIndexEngine
public void commit()
commit
in interface MetaIndexEngine
public void dispose()
dispose
in interface MetaIndexEngine
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.