--- On Tue, 10/23/12, Sandeep Mestry <sanmes...@gmail.com> wrote:

> From: Sandeep Mestry <sanmes...@gmail.com>
> Subject: Forming Solr Query for multiple operators against multiple fields
> To: solr-user@lucene.apache.org
> Date: Tuesday, October 23, 2012, 2:51 PM
> Dear All,
> 
> I have a requirement to search against multiple fields like
> title,
> description, annotations, comments, text and the query can
> contain multiple
> boolean operators.
> So, can someone point me out in right direction.
> 
> If the user enters a query like ,
> 
> - (day AND world) NOT night

Probably you can make use of (e)dismax query parser.
http://wiki.apache.org/solr/DisMax
http://wiki.apache.org/solr/ExtendedDisMax

Reply via email to