Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Additional parameter required for Elasticsearch GET  #1

@HeglerTissot

Description

@HeglerTissot

Newest Python Elasticsearch API for 6.x looks to be requiring four parameters when calling es.GET to retrieve documents, so I am testing this by changing the method copy_doc from entity_centric_es.py as follows:

297: src_doc = self._es_instance.get(index=src_index, doc_type=src_doc_type, id=src_doc_id, _source=True)

Changes:

  • added _source parameter
  • src_doc_type = "_all" in the configuration file (doc_copy.src_doc_type property)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions