Re: dismax query does not match with additional field in qf

2014-10-08 Thread Andreas Hubold
the text field as a phrase of contiguous terms. -- Jack Krupansky -Original Message- From: Andreas Hubold Sent: Tuesday, October 7, 2014 12:08 PM To: solr-user@lucene.apache.org Subject: Re: dismax query does not match with additional field in qf Okay, sounds reasonable. However I did

Re: dismax query does not match with additional field in qf

2014-10-07 Thread Jack Krupansky
ubject: Re: dismax query does not match with additional field in qf Okay, sounds reasonable. However I didn't expect this when reading the documentation of the dismax query parser. Especially the need to escape special characters (and which ones) was not clear to me as the dismax query parser

Re: dismax query does not match with additional field in qf

2014-10-07 Thread Andreas Hubold
Okay, sounds reasonable. However I didn't expect this when reading the documentation of the dismax query parser. Especially the need to escape special characters (and which ones) was not clear to me as the dismax query parser "is designed to process simple phrases (without complex syntax) ente

Re: dismax query does not match with additional field in qf

2014-10-07 Thread Jack Krupansky
I think what is happening is that your last term, the naked apostrophe is analyzing to zero terms and simply being ignored, but when you add the extra field, a string field, you now have another term in the query, and you have mm set to 100%, so that "new" term must match. It probably fails beca

Re: dismax query does not match with additional field in qf

2014-10-07 Thread Andreas Hubold
Andreas Hubold wrote on 09/30/2014 05:14 PM: I ran into a problem with the Solr dismax query parser. ... I'd expect that an additional field in the qf parameter would not lead to fewer matches. Okay, the above example is a rather crude test but I'd like to understand it. Is this a bug in Solr?