Skip to content

Commit 7ea3518

Browse files
committed
feat(es8): remove bounding box query type parameter
requires pelias/query#140
1 parent 34cf61f commit 7ea3518

9 files changed

+1
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"pelias-microservice-wrapper": "^1.10.0",
5656
"pelias-model": "^9.0.0",
5757
"pelias-parser": "2.2.0",
58-
"pelias-query": "^11.3.0",
58+
"pelias-query": "^11.4.0",
5959
"pelias-sorting": "^1.7.0",
6060
"predicates": "^2.0.0",
6161
"regenerate": "^1.4.0",

query/autocomplete_defaults.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ module.exports = _.merge({}, peliasQuery.defaults, {
1515
'boundary:circle:radius': '50km',
1616
'boundary:circle:distance_type': 'plane',
1717

18-
'boundary:rect:type': 'indexed',
19-
2018
'ngram:analyzer': 'peliasQuery',
2119
'ngram:field': 'name.default',
2220
'ngram:boost': 100,

query/reverse_defaults.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ module.exports = _.merge({}, peliasQuery.defaults, {
1515
'boundary:circle:radius': '1km',
1616
'boundary:circle:distance_type': 'plane',
1717

18-
'boundary:rect:type': 'indexed',
19-
2018
'ngram:analyzer': 'peliasQuery',
2119
'ngram:field': 'name.default',
2220
'ngram:boost': 1,

query/search_defaults.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ module.exports = _.merge({}, peliasQuery.defaults, {
1414
'boundary:circle:radius': '50km',
1515
'boundary:circle:distance_type': 'plane',
1616

17-
'boundary:rect:type': 'indexed',
18-
1917
'ngram:analyzer': 'peliasQuery',
2018
'ngram:field': 'name.default',
2119
'ngram:boost': 1,

test/unit/fixture/autocomplete_linguistic_bbox_san_francisco.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ module.exports = {
5252
}],
5353
'filter': [{
5454
'geo_bounding_box': {
55-
'type': 'indexed',
5655
'center_point': {
5756
'top': 37.83239,
5857
'right': -122.35698,

test/unit/fixture/search_linguistic_bbox.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ module.exports = {
3434
'must': [
3535
{
3636
'geo_bounding_box': {
37-
'type': 'indexed',
3837
'center_point': {
3938
'top': 11.51,
4039
'right': -61.84,

test/unit/fixture/search_linguistic_focus_bbox.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ module.exports = {
3434
'must': [
3535
{
3636
'geo_bounding_box': {
37-
'type': 'indexed',
3837
'center_point': {
3938
'top': 11.51,
4039
'right': -61.84,

test/unit/fixture/search_pelias_parser_linguistic_bbox.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ module.exports = {
5656
}],
5757
'filter': [{
5858
'geo_bounding_box': {
59-
'type': 'indexed',
6059
'center_point': {
6160
'top': 11.51,
6261
'right': -61.84,

test/unit/fixture/search_pelias_parser_linguistic_focus_bbox.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ module.exports = {
7878
}],
7979
'filter': [{
8080
'geo_bounding_box': {
81-
'type': 'indexed',
8281
'center_point': {
8382
'top': 11.51,
8483
'right': -61.84,

0 commit comments

Comments
 (0)