lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Updated] (SOLR-3251) dynamically add field to schema
Date Wed, 17 Apr 2013 02:36:14 GMT


Steve Rowe updated SOLR-3251:

    Attachment: SOLR-3251.patch

Patch, fixing issues Robert and Yonik raised.

# Restored SchemaCodecFactory's and SchemaSimilarityFactory's not-null assertions in their
# Moved zkIndexSchemaReader to ManagedIndexSchemaFactory.
# Removed SolrIndexSearcher.getSchema() entirely, switching previous calls to either pull
the schema from the request, if available or failing that, from the searcher's SolrCore.
# Put {{newField()}} and {{addFields()}} back as member functions of IndexSchema, rather than
static methods on ManagedIndexSchema.  This is not the full refactoring with an abstract IndexSchema,
but at least these methods won't get in the way of that.  I'll make a separate JIRA for the
schema refactoring so the idea doesn't get lost.
# Fixed javadoc duplication on SchemaAware {{inform()}} methods.
# In RealTimeGetComponent, switched from {{req.getCore().getSchema()}} to {{req.getSchem()}}.
 Added a basic test in new class TestAddFieldRealTimeGet to make sure this works.
> dynamically add field to schema
> -------------------------------
>                 Key: SOLR-3251
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Steve Rowe
>             Fix For: 4.3
>         Attachments: SOLR-3251.patch, SOLR-3251.patch, SOLR-3251.patch, SOLR-3251.patch,
SOLR-3251.patch, 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
For more information on JIRA, see:

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

View raw message