lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Forming Solr Query for multiple operators against multiple fields
Date Tue, 23 Oct 2012 12:42:42 GMT


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

> From: Sandeep Mestry <sanmestry@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


Mime
View raw message