Skip to content

Commit 00b703c

Browse files
committed
- Turing: Default values
1 parent c9b5cf8 commit 00b703c

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/_adoc_includes/turing/0.3.9/api/turing-api-query-string.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
|===
33
| Attribute | Required / Optional | Description | Example
44
| q | Required | Search Query. | q=foo
5-
| p | Required | Page Number, first page is 1. | p=1
6-
| sort | Required | Sort values: `relevance`, `newest` and `oldest`. Or *FIELD*: *SORT* | sort=relevance or sort=title:asc
5+
| p | Required | Page Number, first page is 1. *DEFAULT: 1* | p=1
6+
| sort | Required | Sort values: `relevance`, `newest` and `oldest`. Or *FIELD*: *SORT* *DEFAULT: relevance* | sort=relevance or sort=title:asc
77
| 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*. | fq[]=title:bar
88
| fq.and[] | Optional | Query Field. Filter `AND` by field, using the following pattern: *FIELD*: *VALUE*. | fq.and[]=title:bar
99
| fq.or[] | Optional | Query Field. Filter `OR` by field, using the following pattern: *FIELD*: *VALUE*. | fq.or[]=title:bar
1010
| fq.op | Optional | Query Field Operator. Filter OR by field, Operator values: `AND` and `OR`. | fq.op=AND
11-
| rows | Optional | Number of rows that query will return. | rows=10
11+
| rows | Optional | Number of rows that query will return. *DEFAULT: Behavior Configuration*| rows=10
1212
| _setlocale | Required | Locale of Semantic Navigation Site | _setlocale=en_US
13-
| nfpr | Optional | Disable Auto Correction | nfpr=1
13+
| nfpr | Optional | Disable Auto Correction *DEFAULT: 0* | nfpr=1
1414
| group | Optional | Group by attribute | group=type
1515
|===

docs/_adoc_includes/turing/0.3.9/api/turing-api-request.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
|===
66
| Attribute | Type | Required / Optional | Description
77
| 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*
8+
| page | Integer | Required | Page Number, first page is 1. *DEFAULT: 1*
9+
| sort | String | Required | Sort values: `relevance`, `newest` and `oldest`. Or *FIELD*: *SORT*. *DEFAULT: relevance*
1010
| 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*.
1111
| fqAnd | String | Optional | Query Field. Filter `AND` by field, using the following pattern: *FIELD*: *VALUE*.
1212
| fqOr | String | Optional | Query Field. Filter `OR` by field, using the following pattern: *FIELD*: *VALUE*.
1313
| 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.
14+
| rows | Integer| Optional | Number of rows that query will return. *DEFAULT: Behavior Configuration*
1515
| locale | String | Required | Locale of Semantic Navigation Site
1616
| group | String | Optional | Group by attribute
1717
| targetingRules | String[] | Optional | Targeting Rules. Restrict search based in: *FIELD*: *VALUE*.
@@ -20,4 +20,5 @@
2020
| targetingRulesWithConditionOR | Map<String, String[]> | Optional | Targueting Rules `OR` with Condition
2121
| populateMetrics | Boolean | Optional | If populate metrics
2222
| userId | String| Optional | User Id
23+
| disableAutoComplete | Boolean | Optional | Disable Auto Correction. *DEFAULT: false*
2324
|===

0 commit comments

Comments
 (0)