[ https://issues.apache.org/jira/browse/SOLR-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15037788#comment-15037788 ]
Shalin Shekhar Mangar commented on SOLR-8131: --------------------------------------------- There are still some test failures, Varun {code} [junit4] Tests with failures [seed: EF2ABB6034EFC3BC]: [junit4] - org.apache.solr.analytics.facet.FieldFacetTest (suite) [junit4] - org.apache.solr.analytics.expression.ExpressionTest (suite) [junit4] - org.apache.solr.analytics.NoFacetTest (suite) [junit4] - org.apache.solr.analytics.util.valuesource.FunctionTest (suite) [junit4] - org.apache.solr.analytics.facet.RangeFacetTest (suite) [junit4] - org.apache.solr.analytics.facet.FieldFacetExtrasTest (suite) [junit4] - org.apache.solr.analytics.facet.QueryFacetTest (suite) {code} Most are of the form: {code} [junit4] ERROR 0.00s J1 | QueryFacetTest (suite) <<< [junit4] > Throwable #1: java.security.AccessControlException: access denied ("java.io.FilePermission" "/home/shalin/work/oss/trunk/solr/contrib/analytics/src/test-files/solr/collection1/conf/managed-schema" "write") [junit4] > at __randomizedtesting.SeedInfo.seed([EF2ABB6034EFC3BC]:0) [junit4] > at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472) [junit4] > at java.security.AccessController.checkPermission(AccessController.java:884) [junit4] > at java.lang.SecurityManager.checkPermission(SecurityManager.java:549) [junit4] > at java.lang.SecurityManager.checkWrite(SecurityManager.java:979) [junit4] > at java.io.FileOutputStream.<init>(FileOutputStream.java:200) [junit4] > at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [junit4] > at org.apache.solr.schema.ManagedIndexSchema.persistManagedSchema(ManagedIndexSchema.java:130) [junit4] > at org.apache.solr.schema.ManagedIndexSchemaFactory.upgradeToManagedSchema(ManagedIndexSchemaFactory.java:271) [junit4] > at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:186) [junit4] > at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:46) [junit4] > at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:75) [junit4] > at org.apache.solr.util.TestHarness.<init>(TestHarness.java:97) [junit4] > at org.apache.solr.SolrTestCaseJ4.createCore(SolrTestCaseJ4.java:572) [junit4] > at org.apache.solr.SolrTestCaseJ4.initCore(SolrTestCaseJ4.java:562) [junit4] > at org.apache.solr.SolrTestCaseJ4.initCore(SolrTestCaseJ4.java:404) [junit4] > at org.apache.solr.SolrTestCaseJ4.initCore(SolrTestCaseJ4.java:393) [junit4] > at org.apache.solr.analytics.facet.QueryFacetTest.beforeClass(QueryFacetTest.java:39) [junit4] > at java.lang.Thread.run(Thread.java:745) {code} > Make ManagedIndexSchemaFactory as the default in Solr > ----------------------------------------------------- > > Key: SOLR-8131 > URL: https://issues.apache.org/jira/browse/SOLR-8131 > Project: Solr > Issue Type: Wish > Components: Data-driven Schema, Schema and Analysis > Reporter: Shalin Shekhar Mangar > Labels: difficulty-easy, impact-high > Fix For: 5.4, Trunk > > Attachments: SOLR-8131.patch, SOLR-8131.patch, SOLR-8131.patch, > SOLR-8131.patch > > > The techproducts and other examples shipped with Solr all use the > ClassicIndexSchemaFactory which disables all Schema APIs which need to modify > schema. It'd be nice to be able to support both read/write schema APIs > without needing to enable data-driven or schema-less mode. > I propose to change all 5.x examples to explicitly use > ManagedIndexSchemaFactory and to enable ManagedIndexSchemaFactory by default > in trunk (6.x). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org