|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Query | |
org.apache.lucene.queryParser | A simple query parser implemented with JavaCC. |
org.apache.lucene.search | Search over indices. |
Uses of Query in org.apache.lucene.queryParser |
Methods in org.apache.lucene.queryParser that return Query | |
static Query |
QueryParser.parse(String query,
String field,
Analyzer analyzer)
Parses a query string, returning a Query . |
Query |
QueryParser.parse(String query)
Parses a query string, returning a Query. |
Query |
QueryParser.Query(String field)
|
Query |
QueryParser.Clause(String field)
|
Query |
QueryParser.Term(String field)
|
static Query |
MultiFieldQueryParser.parse(String query,
String[] fields,
Analyzer analyzer)
Parses a query which searches on the fields specified. |
static Query |
MultiFieldQueryParser.parse(String query,
String[] fields,
int[] flags,
Analyzer analyzer)
Parses a query, searching on the fields specified. |
Uses of Query in org.apache.lucene.search |
Subclasses of Query in org.apache.lucene.search | |
class |
BooleanQuery
A Query that matches documents matching boolean combinations of other queries, typically TermQuery s or PhraseQuery s. |
class |
FuzzyQuery
Implements the fuzzy search query |
class |
MultiTermQuery
A Query that matches documents containing a subset of terms provided
by a FilteredTermEnum enumeration. |
class |
PhraseQuery
A Query that matches documents containing a particular sequence of terms. |
class |
PrefixQuery
A Query that matches documents containing terms with a specified prefix. |
class |
RangeQuery
A Query that matches documents within an exclusive range. |
class |
TermQuery
A Query that matches documents containing a term. |
class |
WildcardQuery
Implements the wildcard search query |
Fields in org.apache.lucene.search declared as Query | |
Query |
BooleanClause.query
The query whose matching documents are combined by the boolean query. |
Methods in org.apache.lucene.search with parameters of type Query | |
Hits |
Searcher.search(Query query)
Returns the documents matching query . |
Hits |
Searcher.search(Query query,
Filter filter)
Returns the documents matching query and
filter . |
void |
Searcher.search(Query query,
HitCollector results)
Lower-level search API. |
abstract void |
Searcher.search(Query query,
Filter filter,
HitCollector results)
Lower-level search API. |
void |
MultiSearcher.search(Query query,
Filter filter,
HitCollector results)
Lower-level search API. |
void |
BooleanQuery.add(Query query,
boolean required,
boolean prohibited)
Adds a clause to a boolean query. |
void |
IndexSearcher.search(Query query,
Filter filter,
HitCollector results)
Lower-level search API. |
Constructors in org.apache.lucene.search with parameters of type Query | |
BooleanClause(Query q,
boolean r,
boolean p)
Constructs a BooleanClause with query q , required
r and prohibited p . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |