Re: Expanding sets of words

2013-05-21 Thread Mike Hugo
in the book as well. > > -- Jack Krupansky > > -Original Message- From: Jack Krupansky > Sent: Tuesday, May 21, 2013 11:37 AM > > To: solr-user@lucene.apache.org > Subject: Re: Expanding sets of words > > Hmmm... I did a quick test and quoted phrase wasn'

Re: Expanding sets of words

2013-05-21 Thread Jack Krupansky
7;ll make sure that example is in the book as well. -- Jack Krupansky -Original Message- From: Jack Krupansky Sent: Tuesday, May 21, 2013 11:37 AM To: solr-user@lucene.apache.org Subject: Re: Expanding sets of words Hmmm... I did a quick test and quoted phrase wasn't working for me e

Re: Expanding sets of words

2013-05-21 Thread Jack Krupansky
iginal Message- From: Mike Hugo Sent: Tuesday, May 21, 2013 12:29 AM To: solr-user@lucene.apache.org Subject: Re: Expanding sets of words Fantastic! Thanks! On Mon, May 20, 2013 at 11:21 PM, Jack Krupansky **wrote: Yes, with the Solr "surround" query parser: q=(java OR

Re: Expanding sets of words

2013-05-21 Thread Mike Hugo
Original Message- From: Mike Hugo > Sent: Tuesday, May 21, 2013 12:29 AM > To: solr-user@lucene.apache.org > Subject: Re: Expanding sets of words > > > Fantastic! Thanks! > > > On Mon, May 20, 2013 at 11:21 PM, Jack Krupansky > **wrote: > > Yes, with the Solr

Re: Expanding sets of words

2013-05-21 Thread Jack Krupansky
I'll make sure to include that specific example in the new Solr book. -- Jack Krupansky -Original Message- From: Mike Hugo Sent: Tuesday, May 21, 2013 12:29 AM To: solr-user@lucene.apache.org Subject: Re: Expanding sets of words Fantastic! Thanks! On Mon, May 20, 2013 at 11:

Re: Expanding sets of words

2013-05-20 Thread Mike Hugo
Fantastic! Thanks! On Mon, May 20, 2013 at 11:21 PM, Jack Krupansky wrote: > Yes, with the Solr "surround" query parser: > > q=(java OR groovy OR scala) W (programming OR coding OR development) > > BUT... there is the caveat that the surround query parser does no > analysis. So, maybe you need

Re: Expanding sets of words

2013-05-20 Thread Jack Krupansky
Yes, with the Solr "surround" query parser: q=(java OR groovy OR scala) W (programming OR coding OR development) BUT... there is the caveat that the surround query parser does no analysis. So, maybe you need "Java OR java" etc. Or, if you know that the index is lower case. Try this dataset:

Re: Expanding sets of words

2013-05-20 Thread Gora Mohanty
On 21 May 2013 09:12, Mike Hugo wrote: > Is there a way to query for combinations of two sets of words? For > example, if I had > > (java or groovy or scala) > (programming or coding or development) > > Is there a query parser that, at query time, would expand that into > combinations like > > ja