public interface FulltextQueryTermsProvider
Modifier and Type | Field and Description |
---|---|
static FulltextQueryTermsProvider |
DEFAULT
Implementation which doesn't do anything useful...
|
Modifier and Type | Method and Description |
---|---|
@Nullable org.apache.lucene.search.Query |
getQueryTerm(java.lang.String text,
org.apache.lucene.analysis.Analyzer analyzer,
NodeState indexDefinition)
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()
This method is used to find which node types are supported by the implementation.
|
static final FulltextQueryTermsProvider DEFAULT
@Nullable @Nullable org.apache.lucene.search.Query getQueryTerm(java.lang.String text, org.apache.lucene.analysis.Analyzer analyzer, NodeState indexDefinition)
text
- full text termanalyzer
- Analyzer
being used while forming the query. Can be used to analyze text consistently.indexDefinition
- NodeState
of index definitionQuery
object to be OR'ed with query being prepared. null
, if nothing is to be added.@NotNull @NotNull java.util.Set<java.lang.String> getSupportedTypes()
getQueryTerm(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.Set
of types supported by the implementationCopyright © 2010 - 2020 Adobe. All Rights Reserved