Skip to content
Snippets Groups Projects

Elastic 7

Merged Riabokon Stanislav(EPAM)[GCP] requested to merge elastic_7 into master

ElasticSearch 7.8.1 for indexer service

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • resolved all threads

  • @Stanislav_Riabokon please take a look at integration tests

  • added 142 commits

    Compare with previous version

  • @Stanislav_Riabokon, @rostislav.dublin please merge with latest changes in master

  • ethiraj krishnamanaidu locked this merge request

    locked this merge request

  • ethiraj krishnamanaidu unlocked this merge request

    unlocked this merge request

  • added 12 commits

    Compare with previous version

    • @Stanislav_Riabokon

      1. Are there any corresponding/similar changes in core-common and search related to elastic 7? Is there any common issue tracking all elastic 7 dependent changes in all module/changes at one place.
      2. Are these changes backward compatible to 6.8.1 or 6.8.3 by any chance?
      1. Only Search has similar changes for elastic 7. If you are interested, you can take a look at search-service!70 (merged)
      2. Elastic 7.8.1 has another Java API in comparison with 6.8.1 or 6.8.3. There are some findings:

      Record with location should be:

      "data": {
              "Field": "OSDU OFFICE - 3",
              "Location": "29.749655,-95.473476",

      OR

       "Location": {
              "lat":18.5204,
              "lon":73.8567
            }

      OR "location" : [-71.34, 41.12]

      https://www.elastic.co/guide/en/elasticsearch/reference/1.7/mapping-geo-point-type.html

      A new schema for indexes:

      {
      "dynamic":false,
      		"properties": {
      			"id": {
      				"type": "keyword"
      			},
      			"kind": {
      				"type": "keyword"
      			},
      			"namespace": {
      				"type": "keyword"
      			},
      			"type": {
      				"type": "keyword"
      			},
      			"version": {
      				"type": "keyword"
      			},
      			"x-acl": {
      				"type": "keyword"
      			},
      			"acl": {
      				"properties": {
      					"owners": {
      						"type": "keyword"
      					},
      					"viewers": {
      						"type": "keyword"
      					}
      				}
      			},
      			"legal": {
      				"properties": {
      					"legaltags": {
      						"type": "keyword"
      					},
      					"otherRelevantDataCountries": {
      						"type": "keyword"
      					},
      					"status": {
      						"type": "keyword"
      					}
      				}
      			},
      			"data": {
      				"properties": {
      					"Field": {
      						"type": "text"
      					},
      					"Location": {
      						"type": "geo_point"
      					},
      					"LocationGeoShape": {
      					    "type": "geo_shape"
      					},
      					"Basin": {
      						"type": "text"
      					},
      					"County": {
      						"type": "text"
      					},
      					"State": {
      						"type": "text"
      					},
      					"Country": {
      						"type": "text"
      					},
      					"WellStatus": {
      						"type": "text"
      					},
      					"OriginalOperator": {
      						"type": "text"
      					},
      					"WellName": {
      						"type": "text"
      					},
      					"WellType": {
      						"type": "text"
      					},
      					"EmptyAttribute": {
      						"type": "text"
      					},
      					"Rank": {
      						"type": "integer"
      					},
      					"Score": {
      						"type": "integer"
      					},
      					"Established": {
      						"type": "date"
      					}
      				}
      			}
      		}
      }

      For information: https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html

      Edited by Riabokon Stanislav(EPAM)[GCP]
    • Please register or sign in to reply
  • Alok Joshi added 10 commits

    added 10 commits

    Compare with previous version

  • added M4 label

  • Dmitriy Rudko added 1 deleted label

    added 1 deleted label

  • Dmitriy Rudko removed 1 deleted label

    removed 1 deleted label

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading