Package com.algolia.model.search
Class SearchRulesParams
java.lang.Object
com.algolia.model.search.SearchRulesParams
Rules search parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet anchoringOnly return rules that match the context (exact match).If `true`, return only enabled rules.Maximum number of hits per page.getPage()Requested page of the API response.getQuery()Search query for rules.inthashCode()setAnchoring(Anchoring anchoring) setContext(String context) setEnabled(Boolean enabled) setHitsPerPage(Integer hitsPerPage) toString()
-
Constructor Details
-
SearchRulesParams
public SearchRulesParams()
-
-
Method Details
-
setQuery
-
getQuery
Search query for rules. -
setAnchoring
-
getAnchoring
Get anchoring -
setContext
-
getContext
Only return rules that match the context (exact match). -
setPage
-
getPage
Requested page of the API response. minimum: 0 -
setHitsPerPage
-
getHitsPerPage
Maximum number of hits per page. minimum: 1 maximum: 1000 -
setEnabled
-
getEnabled
If `true`, return only enabled rules. If `false`, return only inactive rules. By default, _all_ rules are returned. -
equals
-
hashCode
public int hashCode() -
toString
-