Package | Description |
---|---|
org.apache.lucene.monitor |
Monitoring framework
|
Modifier and Type | Class and Description |
---|---|
private static class |
QueryTree.ConjunctionQueryTree |
private static class |
QueryTree.DisjunctionQueryTree |
Modifier and Type | Field and 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 |
Modifier and Type | Method and Description |
---|---|
static QueryTree |
QueryTree.anyTerm(java.lang.String reason)
Returns a leaf node that will match any document
|
QueryTree |
QueryAnalyzer.QueryBuilder.apply(TermWeightor termWeightor) |
QueryTree |
QueryAnalyzer.Disjunction.apply(TermWeightor termWeightor) |
(package private) QueryTree |
QueryAnalyzer.buildTree(Query luceneQuery,
TermWeightor weightor)
Create a
QueryTree from a passed in Query or Filter |
static 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 a
QueryTree node from a query |
QueryTree |
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 0
|
static QueryTree |
QueryTree.term(Term term,
double weight)
Returns a leaf node for a particular term and weight
The weight must be greater than 0
|
static QueryTree |
QueryTree.term(Term term,
TermWeightor weightor)
Returns a leaf node for a particular term
|
Modifier and Type | Method and Description |
---|---|
private static java.util.function.BiFunction<Query,TermWeightor,QueryTree> |
QueryAnalyzer.buildMapper(java.util.List<CustomQueryHandler> mappers) |
Modifier and Type | Method and Description |
---|---|
Document |
MultipassTermFilteredPresearcher.buildQueryDocument(QueryTree querytree) |
protected Document |
TermFilteredPresearcher.buildQueryDocument(QueryTree querytree)
Builds a
Document from the terms extracted from a query |
protected java.util.Map<java.lang.String,BytesRefHash> |
TermFilteredPresearcher.collectTerms(QueryTree querytree)
Collects terms from a
QueryTree and maps them per-field |
(package private) static QueryTree |
QueryTree.conjunction(QueryTree... children) |
(package private) static QueryTree |
QueryTree.disjunction(QueryTree... children) |
Modifier and Type | Method and 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 nodes
|
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
|
Constructor and Description |
---|
ConjunctionQueryTree(java.util.List<QueryTree> children) |
DisjunctionQueryTree(java.util.List<QueryTree> children) |