Serializablepublic class RuleQuery extends Object implements Serializable
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAnchoring() |
|
String |
getContext() |
|
Long |
getHitsPerPage() |
|
Long |
getPage() |
|
String |
getQuery() |
|
RuleQuery |
setAnchoring(String anchoring) |
Set the anchoring, restricts the search to rules with a specific anchoring type
|
RuleQuery |
setContext(String context) |
Set the context, restricts the search to rules with a specific context (exact match)
|
RuleQuery |
setHitsPerPage(Integer hitsPerPage) |
Set the number of hits per page.
|
RuleQuery |
setHitsPerPage(Long hitsPerPage) |
Set the number of hits per page.
|
RuleQuery |
setPage(Integer page) |
Set the page to retrieve (zero base).
|
RuleQuery |
setPage(Long page) |
Set the page to retrieve (zero base).
|
RuleQuery |
setQuery(String query) |
Set the full text query
|
String |
toString() |
public RuleQuery(String query)
public String getQuery()
public String getAnchoring()
public RuleQuery setAnchoring(String anchoring)
public String getContext()
public RuleQuery setContext(String context)
public Long getPage()
public RuleQuery setPage(Integer page)
public Long getHitsPerPage()
public RuleQuery setHitsPerPage(Long hitsPerPage)
public RuleQuery setHitsPerPage(Integer hitsPerPage)
Copyright © 2018. All rights reserved.