|
1 | 1 |
|
2 | 2 | *IMPORTANT* These parameters have precedence over the query string.
|
3 | 3 |
|
4 |
| -[%header,cols=3*] |
| 4 | +[%header,cols=4*] |
5 | 5 | |===
|
6 |
| -| Attribute | Required / Optional | Description |
7 |
| -| query | Required | Search Query. |
8 |
| -| page | Required | Page Number, first page is 1. |
9 |
| -| sort | Required | Sort values: `relevance`, `newest` and `oldest`. Or *FIELD*: *SORT* |
10 |
| -| fq | Optional | Query Field. Filter by field using default operator in configuration or using the `fqOperator`(request) or `fq.op` (query string), using the following pattern: *FIELD*: *VALUE*. |
11 |
| -| fqAnd | Optional | Query Field. Filter `AND` by field, using the following pattern: *FIELD*: *VALUE*. |
12 |
| -| fqOr | Optional | Query Field. Filter `OR` by field, using the following pattern: *FIELD*: *VALUE*. |
13 |
| -| fqOperator | Optional | Query Field Operator. Filter OR by field, Operator values: `AND` and `OR`. |
14 |
| -| rows | Optional | Number of rows that query will return. |
15 |
| -| locale | Required | Locale of Semantic Navigation Site |
16 |
| -| group | Optional | Group by attribute |
| 6 | +| Attribute | Type | Required / Optional | Description |
| 7 | +| query | String | Required | Search Query. |
| 8 | +| page | Integer | Required | Page Number, first page is 1. |
| 9 | +| sort | String | Required | Sort values: `relevance`, `newest` and `oldest`. Or *FIELD*: *SORT* |
| 10 | +| fq | String | Optional | Query Field. Filter by field using default operator in configuration or using the `fqOperator`(request) or `fq.op` (query string), using the following pattern: *FIELD*: *VALUE*. |
| 11 | +| fqAnd | String | Optional | Query Field. Filter `AND` by field, using the following pattern: *FIELD*: *VALUE*. |
| 12 | +| fqOr | String | Optional | Query Field. Filter `OR` by field, using the following pattern: *FIELD*: *VALUE*. |
| 13 | +| fqOperator | String | Optional | Query Field Operator. Filter OR by field, Operator values: `AND` and `OR`. |
| 14 | +| rows | Integer| Optional | Number of rows that query will return. |
| 15 | +| locale | String | Required | Locale of Semantic Navigation Site |
| 16 | +| group | String | Optional | Group by attribute |
17 | 17 | | targetingRules | String[] | Optional | Targeting Rules. Restrict search based in: *FIELD*: *VALUE*.
|
18 |
| -| targetingRulesWithCondition | Optional | Targueting Rules with Condition |
19 |
| -| targetingRulesWithConditionAND | Optional | Targueting Rules `AND` with Condition |
20 |
| -| targetingRulesWithConditionOR | Optional | Targueting Rules `OR` with Condition |
| 18 | +| targetingRulesWithCondition | Map<String, String[]> | Optional | Targueting Rules with Condition |
| 19 | +| targetingRulesWithConditionAND | Map<String, String[]> | Optional | Targueting Rules `AND` with Condition |
| 20 | +| targetingRulesWithConditionOR | Map<String, String[]> | Optional | Targueting Rules `OR` with Condition |
21 | 21 | | populateMetrics | Boolean | Optional | If populate metrics
|
22 | 22 | | userId | String| Optional | User Id
|
23 | 23 | |===
|
0 commit comments