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

Konstantin Pentchev edited comment on SOLR-3704 at 8/3/12 2:47 PM:
-------------------------------------------------------------------

Hi Tommaso,

my field definition is:

    {code}<fieldType name="date" class="solr.TrieDateField" omitNorms="true" 
precisionStep="0" positionIncrementGap="0"/>
<field name="Creation_Date" type="date" multiValued="false" stored="true" 
indexed="true" termVectors="false" termPositions="false" 
termOffsets="false"/>{code}

I will try to reproduce it with 4.0 on Monday. 
                
      was (Author: kpentchev):
    Hi Tommaso,

my field definition is:

    {code}<fieldType name="date" class="solr.TrieDateField" omitNorms="true" 
precisionStep="0" positionIncrementGap="0"/>
<field name="Creation_Date" type="date" multiValued="false" stored="true" 
indexed="true" termVectors="false" termPositions="false" 
termOffsets="false"/>{code}
                  
> 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
>
> For the following valid date range query, an invalid date format exception is 
> thrown only when highlighting is enabled:
> 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
> Response is: Invalid Date String:'1296176143000'

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to