lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Pentchev (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-3704) Date range queries fail when highlighting
Date Fri, 03 Aug 2012 14:48:02 GMT

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message