lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Rosen <joel.ro...@gmail.com>
Subject Re: Dismax Question
Date Mon, 02 Jul 2012 15:31:38 GMT
I and another user recently posted about this exact same issue.  It sounds
like maybe this is a new bug introduced in 3.6:

http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201206.mbox/%3CCAMKKMTx_ybPqsbgU5NtQ19t%2B0kWdAHtq-CZTZxfYxdu6rS1u1g%40mail.gmail.com%3E

http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201206.mbox/%3CCAMySt%2BE6Hr6%3DgOkkDeZU9PCTpgJ4Mb1i8YrzfAndfqUzdot8xw%40mail.gmail.com%3E

I've managed to figure out a fix that is working well enough for my own
application right now.  I set autoGeneratePhraseQueries to "true" on my
field, and also set qs=20000.  The high query slop value simulates the AND
behavior that I want since my documents are relatively short, but this is
obviously not the correct solution, and I don't know if there are any
performance issues with using really high query slop values.

On Mon, Jul 2, 2012 at 9:16 AM, Steve Fatula <compconsultant@yahoo.com>wrote:

>
> >From: Ahmet Arslan <iorixxx@yahoo.com>
> >To: solr-user@lucene.apache.org; Steve Fatula <compconsultant@yahoo.com>
> >Sent: Monday, July 2, 2012 6:22 AM
> >Subject: Re: Dismax Question
> >
> >> So, my question is how do we get Solr search to work with
> >> AND when it is splitting words? The splitting part is good,
> >> the bad part is that it is searching for any one of those
> >> split words.
> >
> >Setting autoGeneratePhraseQueries="true" and &mm=100% might help you.
> >
> ><fieldType name="text" class="solr.TextField"
> autoGeneratePhraseQueries="true">
> >
> >I set mm to 100%, no effect at all. It works only for words typed in that
> are separated already. Remember, the example here is:
> >
> >
> >DualHead2Go finds all kinds of matches (it splits into dual head 2 go)
> >
> >
> >Dial Head 2 Go finds the correct matches, indicating it is adding them
> based on q/op, defautOperator, and mm.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message