Interface IndexFieldProvider
-
@Deprecated public interface IndexFieldProvider
Deprecated.This interface exposes Lucene API directly - it will be removed soon. Use the "dynamicBoost" feature instead.Implementations of this interface would get callbacks while indexing documents. It's the responsibility of the implementation to exit as early as possible if it doesn't care about the document being indexed.
-
-
Field Summary
Fields Modifier and Type Field Description static IndexFieldProvider
DEFAULT
Deprecated.Implementation which doesn't do anything useful...
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull java.lang.Iterable<Field>
getAugmentedFields(java.lang.String path, NodeState document, NodeState indexDefinition)
Deprecated.This method would get called while indexing a document.@NotNull java.util.Set<java.lang.String>
getSupportedTypes()
Deprecated.This method is used to find which node types are supported by the implementation.
-
-
-
Field Detail
-
DEFAULT
static final IndexFieldProvider DEFAULT
Deprecated.Implementation which doesn't do anything useful... yet, abides with the contract.
-
-
Method Detail
-
getAugmentedFields
@NotNull @NotNull java.lang.Iterable<Field> getAugmentedFields(java.lang.String path, NodeState document, NodeState indexDefinition)
Deprecated.This method would get called while indexing a document.
-
getSupportedTypes
@NotNull @NotNull java.util.Set<java.lang.String> getSupportedTypes()
Deprecated.This method is used to find which node types are supported by the implementation. Based, on the index definition being used to index the document, only those implementations would get callback togetAugmentedFields(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.- Returns:
Set
of types supported by the implementation
-
-