Skip to content

Commit

Permalink
Merge pull request #74 from Opetushallitus/fix/open-search-fuzziness
Browse files Browse the repository at this point in the history
Change opensearch fuzziness to 1 instead of AUTO
  • Loading branch information
MikkoKauhanen authored Feb 5, 2025
2 parents f4df599 + 20bbeda commit cf1f292
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aoe-infra/environments/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"memory_limit": "1024",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-319",
"image_tag": "ga-364",
"allow_ecs_exec": true,
"env_vars": {
"NODE_ENV": "production",
Expand Down
2 changes: 1 addition & 1 deletion aoe-infra/environments/prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"memory_limit": "4096",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-319",
"image_tag": "ga-364",
"allow_ecs_exec": true,
"env_vars": {
"NODE_ENV": "production",
Expand Down
2 changes: 1 addition & 1 deletion aoe-infra/environments/qa.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"memory_limit": "1024",
"min_count": 1,
"max_count": 1,
"image_tag": "ga-319",
"image_tag": "ga-364",
"allow_ecs_exec": true,
"env_vars": {
"NODE_ENV": "production",
Expand Down
2 changes: 1 addition & 1 deletion aoe-web-backend/src/search/esQueries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export function createMultiMatchObject(keywords: string, fields: string[]) {
'multi_match': {
'query': keywords,
'fields': fields,
'fuzziness': 'AUTO'
'fuzziness': '1'
}
};
}
Expand Down

0 comments on commit cf1f292

Please sign in to comment.