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 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: DisMaxQParserPlugin and Tokenization

2010-11-25 Thread Jan Kurella
Ok, I think I found it: the Queryparser used in the background "chunks" by whitespaces (and {}). Each of these chunks are then treated as "Phrases". This is complete useless for non-whitespace tokenizing languages. So I started a simple DisMaxQueryParser. Can someone verify, that this codes pr