found this... http://trac.symfony-project.org/ticket/5859
implemented suggested solution #3. It works now! Thanks On Oct 18, 10:56 pm, Jonathan Franks <jonat...@ifranks.com> wrote: > I've followed the Jobeet Tutorial chapter on search and managed to implement > a lucene based search engine for my site. It seems to be working but the > result order doesn't make sense to me. > > If I search for 'blue trousers', I would expect the results that contain that > exact phrase to come up top, then the results that contain both words, > followed by the results that contain only one of the words. But actually, the > first 5 results might only include the word 'trousers'. I know I can put the > phrase in inverted commas to get the exact term only, or use AND to get > results with both words only. But I expect a more natural result set when I > don't use any search modifiers. > > I've spent ages trawling the web for some advice on this and can't find > anything. Am I doing something wrong or is this simply the way lucene works? > I much prefer the type of result set I would get if I searched my site with > google, but I want to use the results to retreive objects from my database, > which I believe rules google out. > > Any advice would be greatly appreciated, > > Jonathan -- 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