From be4c99a0d3f9f8967983773dbe785ddc802ae404 Mon Sep 17 00:00:00 2001 From: igorRovenki Date: Wed, 6 Nov 2013 11:01:53 +0200 Subject: [PATCH] Update README.md Should be "listener: ~" on the line 595, otherwise listener does not working --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a9b899..13d2024 100644 --- a/README.md +++ b/README.md @@ -592,7 +592,7 @@ Declare that you want to update the index in real time: persistence: driver: orm model: Application\UserBundle\Entity\User - listener: # by default, listens to "insert", "update" and "delete" + listener: ~ # by default, listens to "insert", "update" and "delete" Now the index is automatically updated each time the state of the bound Doctrine repository changes. No need to repopulate the whole "user" index when a new `User` is created.