Skip to content

Commit 98c1ffa

Browse files
committed
fix(admin_multi_match): update tests for pelias/query#116
1 parent 5632edf commit 98c1ffa

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"pelias-microservice-wrapper": "^1.7.0",
5757
"pelias-model": "^7.0.0",
5858
"pelias-parser": "1.38.0",
59-
"pelias-query": "^9.14.0",
59+
"pelias-query": "pelias/query#admin_multi_match",
6060
"pelias-sorting": "^1.2.0",
6161
"predicates": "^2.0.0",
6262
"regenerate": "^1.4.0",

test/unit/fixture/search_pelias_parser_full_address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ module.exports = {
9999
],
100100
'query': 'new york ny US',
101101
'analyzer': 'peliasAdmin',
102-
'cutoff_frequency': 0.01
102+
'type': 'cross_fields'
103103
}
104104
}],
105105
'filter': [

test/unit/fixture/search_pelias_parser_partial_address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = {
7171
],
7272
'query': 'new york',
7373
'analyzer': 'peliasAdmin',
74-
'cutoff_frequency': 0.01
74+
'type': 'cross_fields'
7575
}
7676
}],
7777
'filter': [

test/unit/fixture/search_pelias_parser_regions_address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = {
8989
],
9090
'query': 'manhattan ny',
9191
'analyzer': 'peliasAdmin',
92-
'cutoff_frequency': 0.01
92+
'type': 'cross_fields'
9393
}
9494
}],
9595
'filter': [

0 commit comments

Comments
 (0)