lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Commented] (SOLR-3251) dynamically add field to schema
Date Fri, 05 Apr 2013 16:57:17 GMT


Robert Muir commented on SOLR-3251:

It may not be a problem given the current implementation, but in my opinion its unsupported
(definitely untested).
And it raises the point if it really should be: if you asked me a year or so ago, I think
it would be a definitive "no".

And I'm not saying the thing has to be immutable from this point of view necessarily either,
I'm just saying we shouldnt rush into it. If we are careful and examine all the issues, discuss
and add appropriate docs and tests then I would feel better about it. For example, we could
add lucene-level tests for this per-field codec/sim stuff in IndexWriter and I wouldnt worry
as much about that side. But today I worry about it since I have no idea what would happen.

On the solr search side, binding to a indexsearcher sounds pretty good, but could still be
problematic in some cases because there is nothing to ensure the same indexsearcher is used
across multiple phases of a distributed request, right? 

Anyway, this is why I added my comments: I'm not trying to argue for any particular design
as much as I'm just saying I don't think its a good idea to just commit right now and assume
this all works today (from indexing or search side), and open a bunch of nasty bug reports

> 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