Re: required keyword in all a document

2008-10-06 Thread Chris Hostetter
: Sounds like the DisMax handler would work well for you. I'm no expert, but : I'm fairly certain that if you created a solr.DisMaxRequestHandler handler : with "qf" containing those three fields, you could issue the query "+france : +flag +french" and get the desired results. correct. -Hoss

Re: required keyword in all a document

2008-10-06 Thread Jason Rennie
Sounds like the DisMax handler would work well for you. I'm no expert, but I'm fairly certain that if you created a solr.DisMaxRequestHandler handler with "qf" containing those three fields, you could issue the query "+france +flag +french" and get the desired results. Jason On Mon, Oct 6, 2008

Re: required keyword in all a document

2008-10-06 Thread KLessou
On Mon, Oct 6, 2008 at 1:24 PM, KLessou <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to find all documents who contain "France, Flag, French". > > I've got docs like this one : > > ... > wordA,wordB,france, ... > wordA,wordB,flag, ... > wordA,wordB,french, ... > ... > >

Re: required keyword in all a document

2008-10-06 Thread KLessou
MultiFieldQueryParser seems to generate what I want : http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/queryParser/MultiFieldQueryParser.html But is there a Php version ? On Mon, Oct 6, 2008 at 1:24 PM, KLessou <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to

required keyword in all a document

2008-10-06 Thread KLessou
Hi, I would like to find all documents who contain "France, Flag, French". I've got docs like this one : ... wordA,wordB,france, ... wordA,wordB,flag, ... wordA,wordB,french, ... ... I can't make my query like this : k1_en:(+france +flag +french)^100 OR k2_en:(+france +flag