Hello, Thanks for your letter. I investigated further and found out that we have title scored more than content in qf field and those docs in the first places have one of the words in title but not both of them. The doc in the first place has only one of the words in the content. Docs with both words in content are placed after them in around 20th place.
After putting the same score for title and content in qf filed, docs with both words in content moved to fifth place. The doc in the first, third and fourth places still have only one of the words in content and title. The doc in the second place has one of the words in title and both words in the content but in different places not together. Thanks. Alex. -----Original Message----- From: Michael Kuhlmann <k...@solarier.de> To: solr-user <solr-user@lucene.apache.org> Sent: Tue, Nov 15, 2011 12:20 am Subject: Re: two word phrase search using dismax Am 14.11.2011 21:50, schrieb alx...@aim.com: > Hello, > > I use solr3.4 and nutch 1.3. In request handler we have > <str name="mm">2<-1 5<-2 6<90%</str> > > As fas as I know this means that for two word phrase search match must be 100%. > However, I noticed that in most cases documents with both words are ranked around 20 place. > In the first places are documents with one of the words in the phrase. > > Any ideas why this happening and is it possible to fix it? Hi, are you sure that only one of the words matched in the found documents? Have you checked all fields that are listed in the qf parameter? And did you check for stemmed versions of your search terms? If all this is true, you maybe want to give an example. And AFAIK the mm parameter does not affect the ranking.