This is what I get ...
{ "responseHeader": { "status": 400, "QTime": 1, "params": { "q": "-{!field
f=schedule op=Contains}[2016-08-26T12:00:12Z TO 2016-08-26T15:00:12Z]",
"indent": "true", "wt": "json", "_": "1474373612202" } }, "error": { "msg":
"Invalid Date in Date Math String:'[2016-08-26T12:00:12Z'", "code": 400 }}
SRK
On Tuesday, September 20, 2016 5:34 PM, David Smiley
<[email protected]> wrote:
It should, I think... what happens? Can you ascertain the nature of the
results?
~ David
On Tue, Sep 20, 2016 at 5:35 AM Sandeep Khanzode
<[email protected]> wrote:
> For Solr 6.1.0
> This works .. -{!field f=schedule op=Intersects}2016-08-26T12:00:56Z
>
> This works .. {!field f=schedule op=Contains}[2016-08-26T12:00:12Z TO
> 2016-08-26T15:00:12Z]
>
>
> Why does this not work?-{!field f=schedule
> op=Contains}[2016-08-26T12:00:12Z TO 2016-08-26T15:00:12Z]
> SRK
--
Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
LinkedIn: http://linkedin.com/in/davidwsmiley | Book:
http://www.solrenterprisesearchserver.com