You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2016/03/14 14:59:33 UTC

[jira] [Created] (SOLR-8844) Date math silently ignored for date strings

Markus Jelsma created SOLR-8844:
-----------------------------------

             Summary: Date math silently ignored for date strings
                 Key: SOLR-8844
                 URL: https://issues.apache.org/jira/browse/SOLR-8844
             Project: Solr
          Issue Type: Bug
    Affects Versions: 5.5
            Reporter: Markus Jelsma
            Priority: Minor
             Fix For: 6.1


Consider the following query, ordered by date ascending: {code}
http://localhost:8983/solr/logs/select?q=*:*&fq=[2011-05-26T08:15:36Z%2B3DAY%20TO%20NOW/DAY]&sort=time%20asc
{code}

Should not have a result set where the first entry entry has 2011-05-26T08:15:36Z for the time field.

It appears date math is just ignored, while i would expect it to work or throw an error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org