You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ryan McKinley (JIRA)" <ji...@apache.org> on 2011/03/12 08:22:01 UTC
[jira] Commented: (SOLR-2423) FieldType can take Object rather then
String
[ 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