Skip to content

Commit

Permalink
documents: Increase in the size of the suggested field
Browse files Browse the repository at this point in the history
The default size of the suggestion field is 50. It has been increased to 100.

* Closes #853.

Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
Garfield-fr committed Jul 26, 2022
1 parent 98d08b7 commit 82b1ac0
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"suggest": {
"type": "text",
"analyzer": "autocomplete",
"search_analyzer": "standard"
"search_analyzer": "standard",
"max_input_length": 100
},
"raw": {
"type": "keyword",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@
},
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
}
}
},
Expand Down Expand Up @@ -583,7 +584,8 @@
},
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
}
}
},
Expand All @@ -595,7 +597,8 @@
},
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
}
}
},
Expand All @@ -607,7 +610,8 @@
},
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"suggest": {
"type": "text",
"analyzer": "autocomplete",
"search_analyzer": "standard"
"search_analyzer": "standard",
"max_input_length": 100
},
"raw": {
"type": "keyword",
Expand Down
3 changes: 2 additions & 1 deletion sonar/modules/users/mappings/v7/users/user-v1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"fields": {
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
},
"raw": {
"type": "keyword",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"suggest": {
"type": "text",
"analyzer": "autocomplete",
"search_analyzer": "standard"
"search_analyzer": "standard",
"max_input_length": 100
},
"raw": {
"type": "keyword",
Expand Down Expand Up @@ -138,7 +139,8 @@
"fields": {
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
}
}
},
Expand All @@ -147,7 +149,8 @@
"fields": {
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
}
}
},
Expand All @@ -156,7 +159,8 @@
"fields": {
"suggest": {
"type": "completion",
"analyzer": "default"
"analyzer": "default",
"max_input_length": 100
}
}
},
Expand Down

0 comments on commit 82b1ac0

Please sign in to comment.