Re: How to set NOT clause on Date range query in Solr

2016-09-22 Thread Muhammad Zahid Iqbal
Intend your question properly so that someone can understand.

I am out!

On Tue, Sep 20, 2016 at 12:23 PM, Sandeep Khanzode <
sandeep_khanz...@yahoo.com.invalid> wrote:

> Have been trying to understand this for a while ...How can I specify NOT
> clause in the following query?{!field f=schedule
> op=Intersects}[2016-08-26T12:30:00Z TO 2016-08-26T18:30:00Z]{!field
> f=schedule op=Contains}[2016-08-26T12:30:00Z TO
> 2016-08-26T18:30:00Z]Like, without LocalParams, we can specify
> -DateField:[2016-08-26T12:30:00Z TO 2016-08-26T18:30:00Z] to get an
> equivalent NOT clause. But, I need a NOT Contains Date Range query.I have
> tried a few options but I end up getting parsing errors. Surely there must
> be some obvious way I am missing. SRK


How to set NOT clause on Date range query in Solr

2016-09-20 Thread Sandeep Khanzode
Have been trying to understand this for a while ...How can I specify NOT clause 
in the following query?{!field f=schedule op=Intersects}[2016-08-26T12:30:00Z 
TO 2016-08-26T18:30:00Z]{!field f=schedule op=Contains}[2016-08-26T12:30:00Z TO 
2016-08-26T18:30:00Z]Like, without LocalParams, we can specify 
-DateField:[2016-08-26T12:30:00Z TO 2016-08-26T18:30:00Z] to get an equivalent 
NOT clause. But, I need a NOT Contains Date Range query.I have tried a few 
options but I end up getting parsing errors. Surely there must be some obvious 
way I am missing. SRK