Skip to content

Commit

Permalink
feat(version): add support elasticsearch v8 (#518)
Browse files Browse the repository at this point in the history
add support elasticsearch v8

BREAKING CHANGE: Pelias no longer supports elasticsearch v6

This change drops support for elasticsearch v6 in order to support v8.
The current recommended version remains v7.
  • Loading branch information
missinglink committed Mar 13, 2024
1 parent 8f289fe commit b1daa42
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 23 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"lodash": "^4.16.0",
"minimist": "^1.2.0",
"pelias-blacklist-stream": "^1.0.0",
"pelias-config": "^4.12.0",
"pelias-dbclient": "^2.13.0",
"pelias-config": "^6.0.0",
"pelias-dbclient": "^3.0.0",
"pelias-logger": "^1.2.1",
"pelias-model": "^9.2.0",
"pelias-model": "^10.0.0",
"pelias-wof-admin-lookup": "^7.8.0",
"split2": "^3.2.2",
"temp": "^0.9.1",
Expand Down
1 change: 1 addition & 0 deletions schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = Joi.object().keys({
dataHost: Joi.string(),
s3Options: Joi.string(),
adminLookup: Joi.boolean(),
token: Joi.string(),
missingFilesAreFatal: Joi.boolean().default(false).truthy('yes').falsy('no')
}).unknown(false)
}).unknown(true)
Expand Down
20 changes: 0 additions & 20 deletions test/data/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:7552fdd1d9eb5765",
"_type": "_doc",
"data": {
"name": {
"default": "100 Main St"
Expand Down Expand Up @@ -137,7 +136,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:e21716b47966b98a",
"_type": "_doc",
"data": {
"name": {
"default": "200 Main St"
Expand All @@ -161,7 +159,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:7456321cc7d6d352",
"_type": "_doc",
"data": {
"name": {
"default": "0 Main St"
Expand All @@ -185,7 +182,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:f026cd5494a7e4f4",
"_type": "_doc",
"data": {
"name": {
"default": "00 Elm St"
Expand All @@ -209,7 +205,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_1:4509c0194f1efaca",
"_type": "_doc",
"data": {
"name": {
"default": "00300 Main St"
Expand All @@ -233,7 +228,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:fc6d8b0a0e5cda70",
"_type": "_doc",
"data": {
"name": {
"default": "400 Vireo Rd"
Expand All @@ -257,7 +251,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:b7c25b5e6eea7831",
"_type": "_doc",
"data": {
"name": {
"default": "00000 Vireo Rd"
Expand All @@ -281,7 +274,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:25d52af880bfefc4",
"_type": "_doc",
"data": {
"name": {
"default": "00500 Calle De Lago"
Expand All @@ -305,7 +297,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:input_file_2:0d9cb0ba093a3d23",
"_type": "_doc",
"data": {
"name": {
"default": "00500 Calle De Lago"
Expand All @@ -329,7 +320,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_3:0c0641950f5693a0",
"_type": "_doc",
"data": {
"name": {
"default": "10 Smith Street"
Expand Down Expand Up @@ -357,7 +347,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:2e7dc83e6d7c43b5",
"_type": "_doc",
"data": {
"name": {
"default": "244 Barkly Street"
Expand All @@ -383,7 +372,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:b9d4e479b3787466",
"_type": "_doc",
"data": {
"name": {
"default": "10/244-246 Wattletree Road"
Expand All @@ -408,7 +396,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:5d465daf4228aeae",
"_type": "_doc",
"data": {
"name": {
"default": "10/244-246 Mary Street"
Expand All @@ -433,7 +420,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:19c92a8fab88d851",
"_type": "_doc",
"data": {
"name": {
"default": "244 Brunswick Street"
Expand All @@ -459,7 +445,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:2d93ffa5b82d5815",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -485,7 +470,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:a6e27ffafd14a0da",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -511,7 +495,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:4c18bc2fab1af1ee",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -537,7 +520,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:d5236248ba736eba",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -563,7 +545,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:7dbcebf7bd632ef8",
"_type": "_doc",
"data": {
"name": {
"default": "244 Dorcas Street"
Expand All @@ -589,7 +570,6 @@
{
"_index": "pelias",
"_id": "openaddresses:address:au/input_file_4:822280a9b8a92d85",
"_type": "_doc",
"data": {
"name": {
"default": "244 Pascoe Vale Road"
Expand Down

0 comments on commit b1daa42

Please sign in to comment.