Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
BooleanClause.Occur |
BooleanClause.getOccur() |
static BooleanClause.Occur |
BooleanClause.Occur.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BooleanClause.Occur[] |
BooleanClause.Occur.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
BooleanQuery.add(Query query,
BooleanClause.Occur occur)
Adds a clause to a boolean query.
|
void |
BooleanClause.setOccur(BooleanClause.Occur occur) |
Constructor and Description |
---|
BooleanClause(Query query,
BooleanClause.Occur occur)
Constructs a BooleanClause.
|
Modifier and Type | Method and Description |
---|---|
Query |
QueryBuilder.createBooleanQuery(String field,
String queryText,
BooleanClause.Occur operator)
Creates a boolean query from the query text.
|
protected Query |
QueryBuilder.createFieldQuery(Analyzer analyzer,
BooleanClause.Occur operator,
String field,
String queryText,
boolean quoted,
int phraseSlop)
Creates a query from the analysis chain.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.