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