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 Thu, 04 Apr 2013 22:52:15 GMT


Steve Rowe updated SOLR-3251:

    Attachment: SOLR-3251.patch

Patch with REST API and SolrCloud tests.

The SolrCloud test reports the times it takes to fetch the schema from ZooKeeper after it's
persisted there, and on my Macbook Pro, it averages about 5 ms or so for an eight-shard cluster.
 The test attempts to find a newly added field on each shard right after persisting, and all
shards except the leader report its existence on the first try.  The leader sometimes takes
3 or 4 tries (no retry delay) before it reports the new field as being present in the schema,
with an additional latency of 15 ms or so.

The SolrCloud test also reports schema reload times, and for the first change, it's roughly
50 ms, and goes down to about 10 ms after a few changes.

I'm putting the patch up for reference - I won't commit right away.
> dynamically add field to schema
> -------------------------------
>                 Key: SOLR-3251
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Yonik Seeley
>            Assignee: Steve Rowe
>         Attachments: 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