lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2497) Move Solr to new NumericField stored field impl of LUCENE-3065
Date Fri, 06 May 2011 04:05:03 GMT

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

Chris Male commented on SOLR-2497:
----------------------------------

Hey Uwe,

I spent quite some time tracking this down.  The problem is that the dates cannot be parsed
because they are lacking the compulsory 'Z' on the end (its required by the date parser).

You need to change TrieDateField#indexedToReadable to:

return wrappedField.indexedToReadable(indexedForm) + Z;

with that change, the test now passes for me.

You can see in DateField#indexedToReadable it does the same thing.

> Move Solr to new NumericField stored field impl of LUCENE-3065
> --------------------------------------------------------------
>
>                 Key: SOLR-2497
>                 URL: https://issues.apache.org/jira/browse/SOLR-2497
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 3.2, 4.0
>
>         Attachments: SOLR-2497.patch, SOLR-2497.patch, SOLR-2497.patch
>
>
> This implements the changes to NumericField (LUCENE-3065) in Solr. TrieField & Co
would use NumericField for indexing and reading stored fields. To enable this some missing
changes in Solr's internals (Field -> Fieldable) need to be done. Also some backwards compatible
stored fields parsing is needed to read pre-3.2 indexes without reindexing (as the format
changed a little bit and Document.getFieldable returns NumericField instances now).

--
This message is automatically generated by JIRA.
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