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/ 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> > > 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>implements > what we need on the Lucene side. > > Regards, > > Dmitry >