Package | Description |
---|---|
org.apache.lucene.queryParser.surround.query |
This package contains SrndQuery and its subclasses.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search.regex |
Regular expression Query.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.xmlparser.builders |
Modifier and Type | Method and Description |
---|---|
SpanQuery |
SpanNearClauseFactory.makeSpanNearClause() |
Modifier and Type | Method and Description |
---|---|
protected void |
SpanNearClauseFactory.addSpanQueryWeighted(SpanQuery sq,
float weight) |
Modifier and Type | Field and Description |
---|---|
protected SpanQuery |
SpanQueryFilter.query |
Modifier and Type | Method and Description |
---|---|
SpanQuery |
SpanQueryFilter.getQuery() |
Constructor and Description |
---|
SpanQueryFilter(SpanQuery query)
Constructs a filter which only matches documents matching
query . |
Modifier and Type | Class and Description |
---|---|
class |
BoostingTermQuery
Deprecated.
See
PayloadTermQuery |
class |
PayloadNearQuery
This class is very similar to
SpanNearQuery except that it factors
in the value of the payloads located at each of the positions where the
TermSpans occurs. |
class |
PayloadTermQuery
This class is very similar to
SpanTermQuery except that it factors
in the value of the payload located at each of the positions where the
Term occurs. |
Constructor and Description |
---|
PayloadNearQuery.PayloadNearSpanWeight(SpanQuery query,
Searcher searcher) |
PayloadNearQuery(SpanQuery[] clauses,
int slop,
boolean inOrder) |
PayloadNearQuery(SpanQuery[] clauses,
int slop,
boolean inOrder,
PayloadFunction function) |
Modifier and Type | Class and Description |
---|---|
class |
SpanRegexQuery
A SpanQuery version of
RegexQuery allowing regular expression
queries to be nested within other SpanQuery subclasses. |
Modifier and Type | Class and Description |
---|---|
class |
FieldMaskingSpanQuery
Wrapper to allow
SpanQuery objects participate in composite
single-field SpanQueries by 'lying' about their search field. |
class |
SpanFirstQuery
Matches spans near the beginning of a field.
|
class |
SpanNearQuery
Matches spans which are near one another.
|
class |
SpanNotQuery
Removes matches which overlap with another SpanQuery.
|
class |
SpanOrQuery
Matches the union of its clauses.
|
class |
SpanTermQuery
Matches spans containing a term.
|
Modifier and Type | Field and Description |
---|---|
protected SpanQuery |
SpanWeight.query |
Modifier and Type | Method and Description |
---|---|
SpanQuery[] |
SpanNearQuery.getClauses()
Return the clauses whose spans are matched.
|
SpanQuery[] |
SpanOrQuery.getClauses()
Return the clauses whose spans are matched.
|
SpanQuery |
SpanNotQuery.getExclude()
Return the SpanQuery whose matches must not overlap those returned.
|
SpanQuery |
SpanNotQuery.getInclude()
Return the SpanQuery whose matches are filtered.
|
SpanQuery |
FieldMaskingSpanQuery.getMaskedQuery() |
SpanQuery |
SpanFirstQuery.getMatch()
Return the SpanQuery whose matches are filtered.
|
Constructor and Description |
---|
FieldMaskingSpanQuery(SpanQuery maskedQuery,
String maskedField) |
SpanFirstQuery(SpanQuery match,
int end)
Construct a SpanFirstQuery matching spans in
match whose end
position is less than or equal to end . |
SpanNearQuery(SpanQuery[] clauses,
int slop,
boolean inOrder)
Construct a SpanNearQuery.
|
SpanNearQuery(SpanQuery[] clauses,
int slop,
boolean inOrder,
boolean collectPayloads) |
SpanNotQuery(SpanQuery include,
SpanQuery exclude)
Construct a SpanNotQuery matching spans from
include which
have no overlap with spans from exclude . |
SpanOrQuery(SpanQuery[] clauses)
Construct a SpanOrQuery merging the provided clauses.
|
SpanWeight(SpanQuery query,
Searcher searcher) |
Modifier and Type | Method and Description |
---|---|
SpanQuery |
BoostingTermBuilder.getSpanQuery(Element e) |
SpanQuery |
SpanOrTermsBuilder.getSpanQuery(Element e) |
SpanQuery |
SpanQueryBuilderFactory.getSpanQuery(Element e) |
SpanQuery |
SpanNearBuilder.getSpanQuery(Element e) |
SpanQuery |
SpanOrBuilder.getSpanQuery(Element e) |
SpanQuery |
SpanFirstBuilder.getSpanQuery(Element e) |
SpanQuery |
SpanNotBuilder.getSpanQuery(Element e) |
SpanQuery |
SpanQueryBuilder.getSpanQuery(Element e) |
SpanQuery |
SpanTermBuilder.getSpanQuery(Element e) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.