Yep, that's my issue: we still use solr 3.4. On Fri, Jan 18, 2013 at 4:57 PM, Jack Krupansky <j...@basetechnology.com>wrote:
> LUCENE-2754 is already in Lucene 4.0 - SpanMultiTermQueryWrapper. > > > -- Jack Krupansky > > -----Original Message----- From: Dmitry Kan > Sent: Friday, January 18, 2013 9:50 AM > > To: solr-user@lucene.apache.org > Subject: Re: SOLR 4.x: multiterm phrase inside proximity searches possible? > > That is good to know, thanks! > > Taking the alternative (LUCENE-2754): somehow applying the most recent > patch attached to the jira wasn't successful, not sure why. I'd guess, > since it patches Lucene, one would still need to wire this to Solr or am I > missing something? > > Dmitry > > On Fri, Jan 18, 2013 at 4:44 PM, Jack Krupansky <j...@basetechnology.com>* > *wrote: > > Unfortuntaely, yes. >> >> >> -- Jack Krupansky >> >> -----Original Message----- From: Dmitry Kan >> Sent: Friday, January 18, 2013 9:42 AM >> To: solr-user@lucene.apache.org >> Subject: Re: SOLR 4.x: multiterm phrase inside proximity searches >> possible? >> >> >> Thanks, Jack. >> >> I have been looking at SurroundQueryParser and came across an old thread >> [1], mentioning two drawbacks: term analysis is left out and no default >> search operator. >> Do you know, if this is still true? >> >> [1] >> http://search-lucene.com/m/****94ONm1KRuAv1/<http://search-lucene.com/m/**94ONm1KRuAv1/> >> <http://search-**lucene.com/m/94ONm1KRuAv1/<http://search-lucene.com/m/94ONm1KRuAv1/> >> > >> >> On Fri, Jan 18, 2013 at 4:38 PM, Jack Krupansky <j...@basetechnology.com >> >* >> *wrote: >> >> >> There is no regular expression support across terms in queries, just >> >>> within a single term, which is what LUCENE-2754 does >>> (SpanMultiTermQueryWrapper). >>> >>> You can use the "surround" query parser to do span queries: >>> http://wiki.apache.org/solr/******SurroundQueryParser<http://wiki.apache.org/solr/****SurroundQueryParser> >>> <http://**wiki.apache.org/solr/****SurroundQueryParser<http://wiki.apache.org/solr/**SurroundQueryParser> >>> > >>> <http://**wiki.apache.org/**solr/**SurroundQueryParser<http://wiki.apache.org/solr/**SurroundQueryParser> >>> <htt**p://wiki.apache.org/solr/**SurroundQueryParser<http://wiki.apache.org/solr/SurroundQueryParser> >>> > >>> >>> > >>> >>> >>> But, surround does not support regex terms, just wildcards. >>> >>> -- Jack Krupansky >>> >>> -----Original Message----- From: Dmitry Kan >>> Sent: Friday, January 18, 2013 8:59 AM >>> To: solr-user@lucene.apache.org >>> Subject: SOLR 4.x: multiterm phrase inside proximity searches possible? >>> >>> >>> Hello! >>> >>> Does SOLR 4.x support / is going to support the multi-term phrase search >>> inside proximity searches? >>> >>> To illustrate, we would like the following to work: >>> >>> "\a b\" c"~10 >>> >>> which would return hits with "a b" 10 tokens away from c in no particular >>> order. >>> >>> It looks like >>> https://issues.apache.org/******jira/browse/LUCENE-2754<https://issues.apache.org/****jira/browse/LUCENE-2754> >>> <https:**//issues.apache.org/**jira/**browse/LUCENE-2754<https://issues.apache.org/**jira/browse/LUCENE-2754> >>> > >>> <https:**//issues.apache.org/**jira/**browse/LUCENE-2754<http://issues.apache.org/jira/**browse/LUCENE-2754> >>> <http**s://issues.apache.org/jira/**browse/LUCENE-2754<https://issues.apache.org/jira/browse/LUCENE-2754> >>> > >>> >>> >implements >>> >>> what we need on the Lucene side. >>> >>> Regards, >>> >>> Dmitry >>> >>> >>> >> >