Re: Surround query with Boolean queries

2014-06-20 Thread Ahmet Arslan
Hello, special field name _query_ is your friend. +_query_:"{!surround maxBasicQueries=10}company:5N(comput*, appli*)" +_query_:"{!lucene}year:[2005 TO *]" http://searchhub.org/2009/03/31/nested-queries-in-solr/ Ahmet On Friday, June 20, 2014 9:39 AM, Shyamsunder R Mutcha wrote: Hi,

Surround query with Boolean queries

2014-06-19 Thread Shyamsunder R Mutcha
Hi, I have two fields in the index with company and year. Following surround query finds computer and applications within and 5 words of each is working fine with surround query parser. {!surround maxBasicQueries=10}company:5N(comput*, appli*) Now If I have add another boolean query +year