- [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/ai-commerce-search/reference/rest/v2alpha/SearchParams.md.txt#SCHEMA_REPRESENTATION)

Search parameters.

| JSON representation |
|---|
| ``` { "filter": string, "canonicalFilter": string, "sortBy": string, "boostSpec": { object (`BoostSpec`) } } ``` |

| Fields ||
|---|---|
| `filter` | `string` Optional. The filter string to restrict search results. The syntax of the filter string is the same as `SearchRequest.filter`. |
| `canonicalFilter` | `string` Optional. The canonical filter string to restrict search results. The syntax of the canonical filter string is the same as `SearchRequest.canonical_filter`. |
| `sortBy` | `string` Optional. The sort string to specify the sorting of search results. The syntax of the sort string is the same as `SearchRequest.order_by`. |
| `boostSpec` | ``object (`BoostSpec`)`` Optional. The boost spec to specify the boosting of search results. The syntax of the boost spec is the same as `SearchRequest.boost_spec`. |