lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: FieldType API change proposal -- SOLR-2423
Date Mon, 14 Mar 2011 16:52:18 GMT
On Mon, Mar 14, 2011 at 12:45 PM, Ryan McKinley <ryantxu@gmail.com> wrote:
> Any opinions on this?

I've been focused on getting this 3.1 release out (reviewing/fixing
docs, packaging, etc).
I'm not sure about Object... does that mean most FieldTypes would be
doing "instanceof" checks?

-Yonik
http://lucidimagination.com


> thanks
> ryan
>
>
> On Sat, Mar 12, 2011 at 2:29 AM, Ryan McKinley <ryantxu@gmail.com> wrote:
>> I think FieldType should take an Object input rather then String --
>> this gives FieldTypes the option of using (and reusing) explicit types
>> in addition to String.  For embedded apps that fill SolrInputDocuments
>> with real objects, the fields can use objects directly -- this means
>> that Date does not have to get converted to a String and then back to
>> a Date.
>>
>> This is a major API change, but I think the value is worth the trouble.
>>
>> Thoughts?
>>
>> ryan
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

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


Mime
View raw message