[
https://issues.apache.org/jira/browse/SOLR-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230627#comment-13230627
]
Hoss Man commented on SOLR-3251:
--------------------------------
bq. Any ideas for an external API?
I think the best way to support this externally is using the existing mechanism
for plugins...
* a RequestHandler people can register (if they want to support external
clients programaticly modifying the schema) that accepts ContentStreams
containing whatever payload structure makes sense given the functionality.
* an UpdateProcessor people can register (if they want to support stuff like
SOLR-3250 where clients adding documents can submit any field name and a type
is added based on the type of hte value) which could be configured with
mappings of java types to fieldTypes and rules about other field attributes --
ie "if a client submits a new field=value with a java.lang.Integer value,
create a new "tint" field with that name and set stored=true.
> dynamically add field to schema
> -------------------------------
>
> Key: SOLR-3251
> URL: https://issues.apache.org/jira/browse/SOLR-3251
> Project: Solr
> Issue Type: New Feature
> Reporter: Yonik Seeley
> Attachments: SOLR-3251.patch
>
>
> One related piece of functionality needed for SOLR-3250 is the ability to
> dynamically add a field to the schema.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]