Skip to content

Commit

Permalink
Search SDK: Adding maximum constraints to maxTokenLength
Browse files Browse the repository at this point in the history
  • Loading branch information
brjohnstmsft committed Sep 8, 2016
1 parent 0211ecb commit d560cc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions search/2015-02-28-Preview/swagger/searchservice.json
Original file line number Diff line number Diff line change
Expand Up @@ -1241,6 +1241,7 @@
"type": "integer",
"format": "int32",
"default": 255,
"maximum": 300,
"description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
},
"stopwords": {
Expand Down Expand Up @@ -1307,6 +1308,7 @@
"type": "integer",
"format": "int32",
"default": 255,
"maximum": 300,
"description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
}
},
Expand Down Expand Up @@ -1448,6 +1450,7 @@
"type": "integer",
"format": "int32",
"default": 255,
"maximum": 300,
"description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255."
},
"isSearchTokenizer": {
Expand Down Expand Up @@ -1529,6 +1532,7 @@
"type": "integer",
"format": "int32",
"default": 255,
"maximum": 300,
"description": "The maximum token length. Tokens longer than the maximum length are split. Maximum token length that can be used is 300 characters. Tokens longer than 300 characters are first split into tokens of length 300 and then each of those tokens is split based on the max token length set. Default is 255."
},
"isSearchTokenizer": {
Expand Down Expand Up @@ -1666,6 +1670,7 @@
"type": "integer",
"format": "int32",
"default": 255,
"maximum": 300,
"description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
}
},
Expand All @@ -1686,6 +1691,7 @@
"type": "integer",
"format": "int32",
"default": 255,
"maximum": 300,
"description": "The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters."
}
},
Expand Down

0 comments on commit d560cc0

Please sign in to comment.