Interface FulltextQueryTermsProvider
Deprecated.
This interface exposes Lucene API directly - it will be removed
as soon as an alternative is available. See also
IndexFieldProvider.
Implementations of this interface would get callbacks while forming lucene
full text queries.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FulltextQueryTermsProvider
Deprecated.Implementation which doesn't do anything useful... -
Method Summary
Modifier and TypeMethodDescription@Nullable Query
getQueryTerm
(String text, Analyzer analyzer, NodeState indexDefinition) Deprecated.This method would get called while forming full text clause for full text clause not constrained on a particular field.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
-
getQueryTerm
Deprecated.This method would get called while forming full text clause for full text clause not constrained on a particular field. -
getSupportedTypes
Deprecated.This method is used to find which node types are supported by the implementation. Based, on the index definition being used to query the document, only those implementations would get callback togetQueryTerm(java.lang.String, org.apache.lucene.analysis.Analyzer, 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
-