lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-3610) After reloading a core, indexing will fail on any newly added fields to the schema.
Date Mon, 09 Jul 2012 22:11:34 GMT

     [ https://issues.apache.org/jira/browse/SOLR-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Muir updated SOLR-3610:
------------------------------

    Attachment: SOLR-3610.patch

updated patch with checks
                
> After reloading a core, indexing will fail on any newly added fields to the schema.
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-3610
>                 URL: https://issues.apache.org/jira/browse/SOLR-3610
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0-ALPHA
>            Reporter: Robert Muir
>         Attachments: SOLR-3610.patch, SOLR-3610.patch
>
>
> This is just another instantiation of SOLR-3587.
> Because the IndexWriter is kept open, the Codec still uses the old schema, and when asked
to index for the field, doesn't know about it and returns an error.
> We could dodge the problem for now by turning off per-field codec support by default,
requiring users to turn it on explicitly in solrconfig.xml (like similarity), knowing they
are making a tradeoff by doing that (same goes for Similarity if you are using a per-field
configuration).

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message