|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.utilities.indexing.LuceneIndexer
public class LuceneIndexer
Indexing class.
Constructor Summary | |
---|---|
LuceneIndexer()
|
Method Summary | |
---|---|
static void |
addBiobjToIndex(BIObject biObj)
Method to add biObj input to lucene index (no metadata included) |
void |
createIndex(java.io.File index)
Method called to create or increment Lucene index created over metadata binary contents. |
static void |
updateBiobjInIndex(BIObject biObj,
boolean delete)
Method to update a lucene document based on biObj input parameter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuceneIndexer()
Method Detail |
---|
public static void addBiobjToIndex(BIObject biObj)
biObj
- public static void updateBiobjInIndex(BIObject biObj, boolean delete)
biObj
- public void createIndex(java.io.File index) throws org.apache.lucene.index.CorruptIndexException, java.io.IOException
index
- index filecreate
- indicating whether index is to be created or updated
java.io.IOException
org.apache.lucene.index.CorruptIndexException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |