Skip to content

Commit

Permalink
WIP: use experimental pelias-query branch
Browse files Browse the repository at this point in the history
  • Loading branch information
orangejulius committed Jun 16, 2020
1 parent 509cb33 commit d32e2a1
Show file tree
Hide file tree
Showing 12 changed files with 13 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.7.0",
"pelias-model": "^7.0.0",
"pelias-parser": "1.44.0",
"pelias-query": "^9.14.0",
"pelias-query": "pelias/query#allow-specifying-street-analyzer",
"pelias-sorting": "^1.2.0",
"predicates": "^2.0.0",
"regenerate": "^1.4.0",
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_boundary_country.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_boundary_country_multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_boundary_gid.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
2 changes: 2 additions & 0 deletions test/unit/fixture/search_fallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down Expand Up @@ -277,6 +278,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_linguistic_bbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_linguistic_focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_linguistic_focus_bbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_linguistic_focus_null_island.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_linguistic_only.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_with_category_filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down
1 change: 1 addition & 0 deletions test/unit/fixture/search_with_source_filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'match_phrase': {
'address_parts.street': {
'query': 'street value',
'analyzer': 'peliasQuery',
'slop': 1
}
}
Expand Down

0 comments on commit d32e2a1

Please sign in to comment.