Uses of Class
org.apache.lucene.monitor.QueryTree
-
Packages that use QueryTree Package Description org.apache.lucene.monitor Monitoring framework -
-
Uses of QueryTree in org.apache.lucene.monitor
Subclasses of QueryTree in org.apache.lucene.monitor Modifier and Type Class Description private static class
QueryTree.ConjunctionQueryTree
private static class
QueryTree.DisjunctionQueryTree
Fields in org.apache.lucene.monitor with type parameters of type QueryTree Modifier and Type Field Description (package private) java.util.List<java.util.function.Function<TermWeightor,QueryTree>>
QueryAnalyzer.QueryBuilder. children
(package private) java.util.List<QueryTree>
QueryTree.ConjunctionQueryTree. children
(package private) java.util.List<QueryTree>
QueryTree.DisjunctionQueryTree. children
private static java.util.Comparator<QueryTree>
QueryTree.ConjunctionQueryTree. COMPARATOR
private java.util.function.BiFunction<Query,TermWeightor,QueryTree>
QueryAnalyzer. unknownQueryMapper
Methods in org.apache.lucene.monitor that return QueryTree Modifier and Type Method Description static QueryTree
QueryTree. anyTerm(java.lang.String reason)
Returns a leaf node that will match any documentQueryTree
QueryAnalyzer.Disjunction. apply(TermWeightor termWeightor)
QueryTree
QueryAnalyzer.QueryBuilder. apply(TermWeightor termWeightor)
(package private) QueryTree
QueryAnalyzer. buildTree(Query luceneQuery, TermWeightor weightor)
Create aQueryTree
from a passed in Query or Filterstatic QueryTree
QueryTree. conjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)
Returns a conjunction of a set of child nodes(package private) static QueryTree
QueryTree. conjunction(QueryTree... children)
static QueryTree
QueryTree. disjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)
Returns a disjunction of a set of child nodes(package private) static QueryTree
QueryTree. disjunction(QueryTree... children)
QueryTree
CustomQueryHandler. handleQuery(Query query, TermWeightor termWeightor)
Builds aQueryTree
node from a queryQueryTree
RegexpQueryHandler. handleQuery(Query q, TermWeightor termWeightor)
static QueryTree
QueryTree. term(java.lang.String field, BytesRef term, double weight)
Returns a leaf node for a particular term and weight The weight must be greater than 0static QueryTree
QueryTree. term(Term term, double weight)
Returns a leaf node for a particular term and weight The weight must be greater than 0static QueryTree
QueryTree. term(Term term, TermWeightor weightor)
Returns a leaf node for a particular termMethods in org.apache.lucene.monitor that return types with arguments of type QueryTree Modifier and Type Method Description private static java.util.function.BiFunction<Query,TermWeightor,QueryTree>
QueryAnalyzer. buildMapper(java.util.List<CustomQueryHandler> mappers)
Methods in org.apache.lucene.monitor with parameters of type QueryTree Modifier and Type Method Description Document
MultipassTermFilteredPresearcher. buildQueryDocument(QueryTree querytree)
protected Document
TermFilteredPresearcher. buildQueryDocument(QueryTree querytree)
Builds aDocument
from the terms extracted from a queryprotected java.util.Map<java.lang.String,BytesRefHash>
TermFilteredPresearcher. collectTerms(QueryTree querytree)
Collects terms from aQueryTree
and maps them per-field(package private) static QueryTree
QueryTree. conjunction(QueryTree... children)
(package private) static QueryTree
QueryTree. disjunction(QueryTree... children)
Method parameters in org.apache.lucene.monitor with type arguments of type QueryTree Modifier and Type Method Description static QueryTree
QueryTree. conjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)
Returns a conjunction of a set of child nodesstatic QueryTree
QueryTree. disjunction(java.util.List<java.util.function.Function<TermWeightor,QueryTree>> children, TermWeightor weightor)
Returns a disjunction of a set of child nodesConstructor parameters in org.apache.lucene.monitor with type arguments of type QueryTree Constructor Description ConjunctionQueryTree(java.util.List<QueryTree> children)
DisjunctionQueryTree(java.util.List<QueryTree> children)
-