Skip to content

Commit c9b5cf8

Browse files
committed
Update turing-api-request.adoc
1 parent 5242542 commit c9b5cf8

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11

22
*IMPORTANT* These parameters have precedence over the query string.
33

4-
[%header,cols=3*]
4+
[%header,cols=4*]
55
|===
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
1717
| 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
2121
| populateMetrics | Boolean | Optional | If populate metrics
2222
| userId | String| Optional | User Id
2323
|===

0 commit comments

Comments
 (0)