public interface IndexFieldProvider
Modifier and Type | Field and Description |
---|---|
static IndexFieldProvider |
DEFAULT
Implementation which doesn't do anything useful...
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.lang.Iterable<org.apache.lucene.document.Field> |
getAugmentedFields(java.lang.String path,
NodeState document,
NodeState indexDefinition)
This method would get called while indexing a document.
|
@NotNull java.util.Set<java.lang.String> |
getSupportedTypes()
This method is used to find which node types are supported by the implementation.
|
static final IndexFieldProvider DEFAULT
@NotNull @NotNull java.lang.Iterable<org.apache.lucene.document.Field> getAugmentedFields(java.lang.String path, NodeState document, NodeState indexDefinition)
@NotNull @NotNull java.util.Set<java.lang.String> getSupportedTypes()
getAugmentedFields(java.lang.String, org.apache.jackrabbit.oak.spi.state.NodeState, org.apache.jackrabbit.oak.spi.state.NodeState)
which declare a matching node type. Note, node types are
exact matches and do not support inheritance.Set
of types supported by the implementationCopyright © 2010 - 2020 Adobe. All Rights Reserved