On Saturday, March 08, 2008, SNake! wrote: > Could it be done by return the field as array and declare that field > as keyword , like: I am working on an elegant way to do this. Eventually the plugin will resolve the foreign relationships automatically. So, if you have a 1:m::book:author, the plugin will create a subdocument for each author and link it to the book.
But, I have to make some bigger changes before I can implement this. > Or I have to do a customized indexer for it in sfLucenePlugin ? You can create a new method, ->getAuthorIdsAsString(), which implodes the response from ->getAuthorIds(). This is how I currently accomplish your problem. But, a custom indexer would also work. Carl --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
