Re: dismax: limiting term match to one field

2012-01-24 Thread astubbs
This seems like a real shame. As soon as you search across more than one field, the mm setting becomes nearly useless. -- View this message in context: http://lucene.472066.n3.nabble.com/dismax-limiting-term-match-to-one-field-tp2056498p3685850.html Sent from the Solr - User mailing list archive

Re: dismax: limiting term match to one field

2010-12-10 Thread Jan Kurella
On 09.12.2010 21:26, ext Chris Hostetter wrote: : doc1 is name=A B category=B : doc2 is name=A category=B : : when searching for the terms "A" and "B" I want doc2 to get a higher score. : to be more specific, I don't want the term "B" to influence doc1's score in : both and, only in one of them.

Re: dismax: limiting term match to one field

2010-12-09 Thread Chris Hostetter
: doc1 is name=A B category=B : doc2 is name=A category=B : : when searching for the terms "A" and "B" I want doc2 to get a higher score. : to be more specific, I don't want the term "B" to influence doc1's score in : both and , only in one of them. if you set the boost value of category to som

Re: dismax: limiting term match to one field

2010-12-09 Thread davidbrai
Thanks for the answer Jan, I noticed that my example doesn't correctly describe the problem I'm facing. here's a better example: doc1 is name=A B category=B doc2 is name=A category=B when searching for the terms "A" and "B" I want doc2 to get a higher score. to be more specific, I don't want the

Re: dismax: limiting term match to one field

2010-12-09 Thread Jan Kurella
Short: No. Long: the concept is different from what you are looking for. The DisMaxQHandler splits up the tokens and searches each token across the given field with a DIsMaxQuery. All DismaxQueries are combined in a BooleanQuery as SHould clauses (with a minShouldMatch according your mm setti

Re: dismax: limiting term match to one field

2010-12-09 Thread davidbrai
Thanks for the relpy. I've tried to add a tie breaker with different values, but in most cases it didn't change anything, and sometimes caused weird things to have higher scores, like you suggested might happen. Is there another way? On Thu, Dec 9, 2010 at 1:58 PM, jan.kurella [via Lucene] < ml-

RE: dismax: limiting term match to one field

2010-12-09 Thread jan.kurella
try to set the tiebreaker above 1.0, this will increase score for dismax findings in other than the best field. But this may lead to strange side effects? >-Original Message- >From: ext davidbrai [mailto:davidb...@gmail.com] >Sent: Donnerstag, 9. Dezember 2010 09:55 >To: solr-user@lucene.