[symfony-users] how to use lucene to make an exactly match?
I have to build a function to find out data with same name, how can I use lucene to do this? I use ::getLuceneIndex()-find($query) to find similar items, but now I need a strict filter to get the exactly same things. thanks for helping. yours Joe -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] sorry to bother you all about the production env..
when create the project there are two php file in the web directory: frontend_dev.php and index.php in index.php I find this ' $configuration = ProjectConfiguration::getApplicationConfiguration('frontend', 'prod', false);' when i visit .localhost/frontend_dev.php I can use the route.yml configure to go to a module with index action but as I visit .localhost or .localhost/index.php I can only see the default symfony project homepage. how can I change the configure or something else to made the product environment accessable ? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using remove me as the subject.
[symfony-users] Re: a question about lucene in symfony
thanks a lot, this is so useful! On 4月6日, 下午2时02分, Michał Piotrowski mkkp...@gmail.com wrote: Hi, 2010/4/6 Lee Joseph name.liz...@gmail.com: I learned how to use lucene to create a index when add or modify data on the website, but I want to know is this possible to build index from a existing data in table? and how? I not tried it yet, but I think you need to create task that: - fetch all data from table - iterate across all records - save each record to index This should do the trick Regards, Michal thanks for all your help! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using remove me as the subject. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: a question about lucene in symfony
Oh, I use pdo too, thank you too! On 4月6日, 下午2时05分, Gábor Fási maerl...@gmail.com wrote: I created a task that fetches all the data in the table (via pdo instead of propel, so it uses a lot less memory), and add them to the index one by one. Probably not the prettiest one out there, but here's my task:http://github.com/maerlyn/tibiahu/blob/master/lib/task/TibiahuRebuild... On Tue, Apr 6, 2010 at 07:57, Lee Joseph name.liz...@gmail.com wrote: I learned how to use lucene to create a index when add or modify data on the website, but I want to know is this possible to build index from a existing data in table? and how? thanks for all your help! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using remove me as the subject. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] a question about routing framework :P
as I know routing framework in symfony which separates url information with slash '/' or dot '.' like some_route: url: /:module/:actions/:id I just want know is there anything I can do to make some Url like .com/auckland/module-action-id -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en To unsubscribe, reply using remove me as the subject.