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 Iterable<org.apache.lucene.document.Field> |
getAugmentedFields(String path,
org.apache.jackrabbit.oak.spi.state.NodeState document,
org.apache.jackrabbit.oak.spi.state.NodeState indexDefinition)
This method would get called while indexing a document.
|
@NotNull Set<String> |
getSupportedTypes()
This method is used to find which node types are supported by the implementation.
|
static final IndexFieldProvider DEFAULT
@NotNull @NotNull Iterable<org.apache.lucene.document.Field> getAugmentedFields(String path, org.apache.jackrabbit.oak.spi.state.NodeState document, org.apache.jackrabbit.oak.spi.state.NodeState indexDefinition)
@NotNull @NotNull Set<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 © 2012–2019 The Apache Software Foundation. All rights reserved.