You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/19 18:04:11 UTC

[jira] [Commented] (SOLR-8280) Schemaless features don't work reliably with SolrCoreAware sim factory -- example: SchemaSimilarityFactory

    [ https://issues.apache.org/jira/browse/SOLR-8280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013901#comment-15013901 ] 

ASF subversion and git services commented on SOLR-8280:
-------------------------------------------------------

Commit 1715215 from hossman@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1715215 ]

SOLR-8280: Fixed bug in SimilarityFactory initialization that prevented SolrCoreAware factories from functioning properly with managed schema features

> Schemaless features don't work reliably with SolrCoreAware sim factory -- example: SchemaSimilarityFactory
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8280
>                 URL: https://issues.apache.org/jira/browse/SOLR-8280
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.0
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 5.4, Trunk
>
>         Attachments: SOLR-8280.patch, SOLR-8280.patch, SOLR-8280.patch, SOLR-8280.patch, SOLR-8280__broken__resource_loader_experiment.patch
>
>
> SOLR-8271 uncovered problems with using SchemaSimilarityFactory + schemaless features.  While the broader problems of SolrCoreAware objects inited after the SolrCore was live have been spun off into SOLR-8311 this issue focuses on fixing & testing the core problem of ensuring SchemaSimilarityFactory + schemaless features function together.
> {panel:title=original bug report}
> Something about the code path(s) involved in TestCloudSchemaless & ChangedSchemaMergeTest don't play nicely with a SimilarityFactory that is SolrCoreAware -- notably: SchemaSimilarityFactory.
> I discovered this while trying to implement SOLR-8271, but it can be reproduced trivially by modifying the schema-add-schema-fields-update-processor.xml file used by TestCloudSchemaless (and hardcoded in java schema used by ChangedSchemaMergeTest) to refer to SchemaSimilarityFactory explicitly.  Other cloud tests (such as CollectionReloadTest) or cloud+schemaless (ex: TestCloudManagedSchema) tests don't seem to demonstrate the same problem.
> {panel}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org