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

Steve Rowe updated SOLR-7366:
-----------------------------
    Attachment: SOLR-7366.patch

I refactored the patch, pulling out post-read inform'ing into a method 
{{IndexSchema.postReadInform()}}, overridden in {{ManagedIndexSchema}} to also 
do the {{ResourceLoaderAware}} inform'ing so that {{IndexSchema.readSchema()}} 
doesn't cause non-managed schemas to have to do unnecessary inform'ing.

I ran all Solr tests on trunk, including Tim's new test, and all passed.

Committing shortly.

> Can't index example XML docs into the cloud example using bin/post due to 
> regression in ManagedIndexSchema's handling of ResourceLoaderAware objects 
> used by field types
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7366
>                 URL: https://issues.apache.org/jira/browse/SOLR-7366
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.1
>            Reporter: Timothy Potter
>            Assignee: Steve Rowe
>            Priority: Blocker
>             Fix For: 5.1
>
>         Attachments: SOLR-7366.patch, SOLR-7366.patch, SOLR-7366.patch
>
>
> Managed schema code has regressed SOLR-6764. Need to fix the regression and 
> implement a unit test to catch this type of regression. This is a blocker for 
> 5.1.
> To reproduce:
> {noformat}
> bin/solr -e cloud -noprompt
> bin/post -c gettingstarted example/exampledocs/*.xml
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to