public interface IndexDefinition
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
Per index a an Analyzer can be defined.
|
CloseableIterator<? extends IndexEntry> |
getCursor()
Returns an Iterator over all
IndexEntry's defined by this index. |
String |
getId() |
Node |
getNode(Cloud cloud,
org.apache.lucene.document.Document doc)
Defines how a Node for this index must be produced.
|
CloseableIterator<? extends IndexEntry> |
getSubCursor(String key)
Returns an Iterator over all
IndexEntry's defined by this index, restricted by a
certain identifier. |
boolean |
inIndex(String number)
Whether the object with given key would be included in this index
|
void |
setId(String i) |
CloseableIterator<? extends IndexEntry> getCursor()
IndexEntry's defined by this index. Only makes sense if this is not a 'sub definition'.CloseableIterator<? extends IndexEntry> getSubCursor(String key)
IndexEntry's defined by this index, restricted by a
certain identifier. For a 'top' level index definition, this should normally return only one
Entry, and the key must be the identifier of this entry. For 'nested' IndexDefinitions, the
key most be the key of the parent.org.apache.lucene.analysis.Analyzer getAnalyzer()
Node getNode(Cloud cloud, org.apache.lucene.document.Document doc)
boolean inIndex(String number)
String getId()
void setId(String i)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}