--- On Mon, 7/11/11, Jens Sieckmann <jens.sieckm...@unicepta.de> wrote:

> From: Jens Sieckmann <jens.sieckm...@unicepta.de>
> Subject: Query grouping search terms with proximity operator
> To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
> Date: Monday, July 11, 2011, 6:44 PM
> Hi folks,
> 
> I’m new to Solr and just evaluating it for my purposes.
> 
> I want to combine OR-grouped search terms by using the
> proximity
> operator with other OR-grouped terms. Something like
> (although
> this is not query parser syntax):
> 
> (term A OR term B OR term c) NEAR/5 (term D OR term E)
> 
> I didn't find a possibility to do that. Do I have to break
> it down to:
> 
> (term A NEAR/8 term D) OR
> (term A NEAR/8 term E) OR
> (term B NEAR/8 term D) OR
> (term B NEAR/8 term E) OR
> (term C NEAR/8 term D) OR
> (term C NEAR/8 term E)?
> 

With https://issues.apache.org/jira/browse/SOLR-1604 you can do that.

"(termA termB termC) (termD termE)"~5

Reply via email to