Hi all, I finally find a way to upgrade from sfLucene 0.1.0 to 0.1.5 (it seems there are some issues with some PHP5 versions and more important: make sure to not have Zend already installed in PEAR!). I am encountering a problem time to time with some of the index lock files only readable but I am still trying to get more details before publishing here my detail question... Ok, now the question! I have one propel object Article indexed obviously by sfLucene when it is saved. The problem is that everytime someone read the article for the first time, I update the counter field inside my Article object, which triggers sfLucene to re-index my document very often. Is there a way to say to Lucene to not index this document under certain condition? I would write something like: <?php if ($article->isNew()) lucene-can-index-the-object; else donotneedtoindexit;
Of course it will be a little bit more complex, but the question is on the code for Lucene itself. By default Lucene is doing a preSave or postSave, is there anyway to not run this when we do not want it on our code? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
