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
FieldsModifier and TypeFieldDescriptionstatic final IndexFieldProviderDeprecated.Implementation which doesn't do anything useful... -
Method Summary
Modifier and TypeMethodDescriptiongetAugmentedFields(String path, NodeState document, NodeState indexDefinition) Deprecated.This method would get called while indexing a document.Deprecated.This method is used to find which node types are supported by the implementation.
-
Field Details
-
DEFAULT
Deprecated.Implementation which doesn't do anything useful... yet, abides with the contract.
-
-
Method Details
-
getAugmentedFields
@NotNull @NotNull Iterable<Field> getAugmentedFields(String path, NodeState document, NodeState indexDefinition) Deprecated.This method would get called while indexing a document. -
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:
Setof types supported by the implementation
-