Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description |
|---|---|
protected List<Query> |
_queries
The list of queries.
|
| Constructor and Description |
|---|
OrQuery(Collection<Query> queries)
Build an OrQuery object.
|
OrQuery(Query... queries)
Build an OrQuery object.
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the solr query string representing the Query object.
|
List<Query> |
getQueries()
Get the list of queries in this "or".
|
public OrQuery(Query... queries)
queries - the queries.public OrQuery(Collection<Query> queries)
queries - the queries as a Collection.public List<Query> getQueries()
public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.