Skip to content

Commit

Permalink
feat(query): improve unit number sorting for fallback.housenumber que…
Browse files Browse the repository at this point in the history
…ries
  • Loading branch information
missinglink committed Jan 21, 2025
1 parent 002392a commit 0cc2f24
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"pelias-microservice-wrapper": "^1.10.0",
"pelias-model": "^9.0.0",
"pelias-parser": "2.2.0",
"pelias-query": "^11.2.0",
"pelias-query": "pelias/query#search-address-fallback-sorting",
"pelias-sorting": "^1.7.0",
"predicates": "^2.0.0",
"regenerate": "^1.4.0",
Expand Down
7 changes: 7 additions & 0 deletions test/unit/fixture/search_fallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,13 @@ module.exports = {
}
],
'should': [
{
'match_phrase': {
'phrase.default': {
'query': 'number value'
}
}
},
{
'match_phrase': {
'address_parts.zip': {
Expand Down

0 comments on commit 0cc2f24

Please sign in to comment.