Interface FulltextQueryTermsProvider
-
@Deprecated public 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
Fields Modifier and Type Field Description static FulltextQueryTermsProvider
DEFAULT
Deprecated.Implementation which doesn't do anything useful...
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @Nullable Query
getQueryTerm(java.lang.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.@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 FulltextQueryTermsProvider DEFAULT
Deprecated.Implementation which doesn't do anything useful... yet, abides with the contract.
-
-
Method Detail
-
getQueryTerm
@Nullable @Nullable Query getQueryTerm(java.lang.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.
-
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 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
-
-