Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pelias-query 9.13.0 #1321

Merged
merged 2 commits into from
Jun 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"pelias-logger": "^1.2.0",
"pelias-microservice-wrapper": "^1.7.0",
"pelias-model": "^5.8.0",
"pelias-query": "^9.10.0",
"pelias-query": "^9.13.0",
"pelias-sorting": "^1.2.0",
"predicates": "^2.0.0",
"retry": "^0.12.0",
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_boundary_country.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_boundary_country_multi.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_boundary_gid.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
20 changes: 15 additions & 5 deletions test/unit/fixture/search_fallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,16 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.number': 'number value'
'address_parts.number': {
'query': 'number value'
}
}
},
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
},
{
Expand Down Expand Up @@ -181,7 +185,9 @@ module.exports = {
'should': [
{
'match_phrase': {
'address_parts.zip': 'postalcode value'
'address_parts.zip': {
'query': 'postalcode value'
}
}
}
],
Expand Down Expand Up @@ -268,7 +274,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
},
{
Expand Down Expand Up @@ -343,7 +351,9 @@ module.exports = {
'should': [
{
'match_phrase': {
'address_parts.zip': 'postalcode value'
'address_parts.zip': {
'query': 'postalcode value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_linguistic_bbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_linguistic_focus.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_linguistic_focus_bbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_linguistic_focus_null_island.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_linguistic_only.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_with_category_filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down
4 changes: 3 additions & 1 deletion test/unit/fixture/search_with_source_filtering.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
'must': [
{
'match_phrase': {
'address_parts.street': 'street value'
'address_parts.street': {
'query': 'street value'
}
}
}
],
Expand Down