|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of the entity to build the index on.public interface IndexDefn<T>
Defines a Lucene Index for a given entity type.
| Method Summary | |
|---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
Return the default Analyzer to use for this index. |
String |
getDefaultField()
Return the name of the default query field. |
List<IndexFieldDefn> |
getFields()
Return the index fields. |
int |
getMaxBufferedDocs()
Return the max buffered documents for this index. |
org.apache.lucene.index.IndexWriter.MaxFieldLength |
getMaxFieldLength()
Return the max field length to use for this index. |
double |
getRAMBufferSizeMB()
Return the ram buffer size for this index. |
int |
getTermIndexInterval()
Return the term index interval. |
String[] |
getUpdateSinceProperties()
Return the properties that are the 'last updated timestamp' properties(s). |
void |
initialise(IndexDefnBuilder helper)
Initialise the index defining the fields on the index. |
boolean |
isUpdateSinceSupported()
Return true if incremental index updates are supported via 'last updated timestamp' properties(s). |
| Method Detail |
|---|
void initialise(IndexDefnBuilder helper)
The IndexDefnBuilder can be used to make defining fields a little easier.
helper - to help create index field definitionsString getDefaultField()
List<IndexFieldDefn> getFields()
boolean isUpdateSinceSupported()
String[] getUpdateSinceProperties()
org.apache.lucene.analysis.Analyzer getAnalyzer()
org.apache.lucene.index.IndexWriter.MaxFieldLength getMaxFieldLength()
int getMaxBufferedDocs()
double getRAMBufferSizeMB()
int getTermIndexInterval()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||