Skip to content

Moving a node leads to double-indexed nodes #353

Open

Description

@daniellienert

Currently, the identifier of the elasticsearch document is calculated using the nodepath.
When a node is moved, a new document with a new identifier is added to the index instead of updating the existing.

Activity

  1. baschny commented on Apr 5, 2021

    @baschny

    why not use the identifier instead of the node-path when finding the nodes to delete/create on move? the identifier doesn't change when moving it, right?

  2. dfeyer commented on Apr 9, 2021

    @dfeyer
    Contributor

    why not use the identifier instead of the node-path when finding the nodes to delete/create on move? the identifier doesn't change when moving it, right?

    Don't remember why we use the context path for this document identifier ... sounds odd ... but some memories could be nice .... maybe in the past the node uuid change during a move operation ?

  3. baschny commented on Apr 9, 2021

    @baschny

    We've been running a "patched" version of this that does exactly this (use the Identifier) without a problem. I thought we did a pull request back then, but apparently not. Maybe @remuslazar can provide a pull request?

  4. remuslazar commented on Apr 10, 2021

    @remuslazar
    Contributor

    @baschny sure thing!

  5. remuslazar commented on Apr 10, 2021

    @remuslazar
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions