Skip to content

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

@atrigub

Description

@atrigub

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions