|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.query.larq.IndexBuilderBase
public class IndexBuilderBase
Root class for index creation.
| Constructor Summary | |
|---|---|
IndexBuilderBase()
Create an in-memory index |
|
IndexBuilderBase(java.io.File fileDir)
Create an on-disk index |
|
IndexBuilderBase(org.apache.lucene.index.IndexWriter existingWriter)
Manage a Lucene index that has already been created |
|
IndexBuilderBase(java.lang.String fileDir)
Create an on-disk index |
|
| Method Summary | |
|---|---|
void |
closeWriter()
Close the writing index permanently. |
void |
closeWriter(boolean optimize)
Close the writing index permanently. |
void |
flushWriter()
Flush index - does a Lucene optimize |
IndexLARQ |
getIndex()
Get a search index used by LARQ |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexBuilderBase()
public IndexBuilderBase(org.apache.lucene.index.IndexWriter existingWriter)
public IndexBuilderBase(java.io.File fileDir)
public IndexBuilderBase(java.lang.String fileDir)
| Method Detail |
|---|
public void closeWriter()
closeWriter in interface IndexBuilderpublic void closeWriter(boolean optimize)
optimize - Run Lucene optimize on the index before closing.public void flushWriter()
IndexBuilder
flushWriter in interface IndexBuilderpublic IndexLARQ getIndex()
getIndex in interface IndexBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||