[ 
https://issues.apache.org/jira/browse/SOLR-3704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789842#comment-16789842
 ] 

David Smiley commented on SOLR-3704:
------------------------------------

Of course this ought to be fixed but I should mention that such date queries 
are generally better placed into a filter query {{fq}} and not into the user 
query. Also, I wonder if the UnifiedHighlighter is affected by this weird bug.

> Date range queries fail when highlighting
> -----------------------------------------
>
>                 Key: SOLR-3704
>                 URL: https://issues.apache.org/jira/browse/SOLR-3704
>             Project: Solr
>          Issue Type: Bug
>          Components: highlighter
>    Affects Versions: 3.6
>            Reporter: Konstantin Pentchev
>            Priority: Major
>
> For the following valid date range query, an invalid date format exception is 
> thrown only when highlighting is enabled:
> {code}q= (Creation_Date:[2002-08-01T00:00:01.999Z TO 
> 2012-08-13T23:59:59.999Z])&hl=true&rows=10&start=0&hl.fl=Creation_Date&hl.requireFieldMatch=true&hl.snippets=1{code}
> Response is: Invalid Date String:'1296176143000'



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to