public interface IndexEntry
Indexer to be implemented genericly, because the different
implementations of this interface define how index entries are added to a Lucene document.| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifier()
The identifier which can be used to retrieve this IndexEntry, and which should uniquely identify it.
|
String |
getKey()
Key to be used for 'sub-queries', this can be the same as
getIdentifier(), but this is not necessary. |
Collection<IndexDefinition> |
getSubDefinitions()
Returns a Collection of 'sub definition', probably copied from the IndexDefinition which produces this entry.
|
void |
index(org.apache.lucene.document.Document document)
Writes this index entry to a lucene
Document. |
void index(org.apache.lucene.document.Document document)
Document.
This does not consider sub-definitions. This is done by Indexer using getSubDefinitions()Collection<IndexDefinition> getSubDefinitions()
String getIdentifier()
String getKey()
getIdentifier(), but this is not necessary.MMBase 1.9-SNAPSHOT - ${javadoctimestamp}