Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description |
|---|---|
protected String |
_pageId
The id.
|
protected boolean |
_withSubPages
True to search for a whole hierarchy.
|
| Constructor and Description |
|---|
PageQuery(String pageId,
boolean withSubPages)
Create a PageQuery which searches on the given page (and optionally its sub-pages).
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
protected boolean _withSubPages
public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.