Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When change node full text index is not remove old data from index #104

Open
atrigub opened this issue Apr 13, 2016 · 2 comments
Open

When change node full text index is not remove old data from index #104

atrigub opened this issue Apr 13, 2016 · 2 comments

Comments

@atrigub
Copy link

atrigub commented Apr 13, 2016

Example:

class Cinema 
{
    /**
     * @OGM\Index(name="FulltextIndex", type="fulltext")
    */
    protected $name
}

$cinema = new Cinema();
$cinema->setName("Test");

$this->manager->persist($cinema);
$this->manager->flush();

Run cypher query "START node = node:FulltextIndex("name:tes*") RETURN node" return Cinema node.

$cinema->setName("New name");
$this->manager->persist($cinema);
$this->manager->flush();

Run cypher query "START node = node:FulltextIndex("name:tes*") RETURN node" return Cinema node all the same

@lphuberdeau
Copy link
Owner

This seems legitimate. I won't have time to look into the issue myself. Could you resolve the issue and submit a PR?

@lphuberdeau
Copy link
Owner

PR #105 might be related or a similar fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants