lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Male (JIRA)" <>
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


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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message