lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-3251) dynamically add field to schema
Date Thu, 15 Mar 2012 22:14:38 GMT


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:
>             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:!default.jspa
For more information on JIRA, see:


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

View raw message