lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2423) FieldType can take Object rather then String
Date Sat, 12 Mar 2011 07:22:01 GMT

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

Ryan McKinley commented on SOLR-2423:
-------------------------------------

FYI, I ran into this because I am experimenting with different ways to index spatial data
and want to index the same data with multiple representations.  Converting to/from string
each time is silly and with this the CopyField "just works"  

> FieldType can take Object rather then String
> --------------------------------------------
>
>                 Key: SOLR-2423
>                 URL: https://issues.apache.org/jira/browse/SOLR-2423
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>             Fix For: 4.0
>
>         Attachments: SOLR-2423-field-object.patch
>
>
> Currently, FieldType takes a String value and converts that to whatever it uses internally
-- it would be great to be able to pass an Object in directly.  For embeded solr, and for
UpdateRequestProcessors that wish to reuse objects in various fields, this will avoid conversion
to and from string.
> This is a major API change, so it should only apply to 4.0

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