Hi all, using solr 6.1.0, I'm trying to add bbox into my schema, the same way it's in all examples I could find:
<field name="bbox" type="bbox" indexed="true" stored="true" /> <fieldType name="bbox" class="solr.BBoxField" geo="true" numberType="_bbox_coord" storeSubFields="false" /> <fieldType name="_bbox_coord" class="solr.TrieDoubleField" precisionStep="8" docValues="true" stored="false"/> However, if I add these lines the core cannot be initialized, I'm getting following exception: java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [phaidra] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.solr.core.CoreContainer$1.run(CoreContainer.java:494) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$22(ExecutorUtil.java:229) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.solr.common.SolrException: Unable to create core [phaidra] at org.apache.solr.core.CoreContainer.create(CoreContainer.java:825) at org.apache.solr.core.CoreContainer.lambda$load$0(CoreContainer.java:466) ... 5 more Caused by: org.apache.solr.common.SolrException: Could not load conf for core phaidra: Can't load schema /var/solr/data/phaidra/conf/managed-schema: Plugin Initializing failure for [schema.xml] fieldType at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:86) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:810) ... 6 more Caused by: org.apache.solr.common.SolrException: Can't load schema /var/solr/data/phaidra/conf/managed-schema: Plugin Initializing failure for [schema.xml] fieldType at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:600) at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:183) at org.apache.solr.schema.ManagedIndexSchema.<init>(ManagedIndexSchema.java:104) at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:174) at org.apache.solr.schema.ManagedIndexSchemaFactory.create(ManagedIndexSchemaFactory.java:47) at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:75) at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:108) at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:79) ... 7 more Caused by: org.apache.solr.common.SolrException: Plugin Initializing failure for [schema.xml] fieldType at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:194) at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:494) ... 14 more Caused by: java.lang.RuntimeException: Can't set positionIncrementGap on custom analyzer class org.apache.solr.schema.AbstractSpatialPrefixTreeFieldType$1 at org.apache.solr.schema.FieldType.setArgs(FieldType.java:182) at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:150) at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:53) at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:191) ... 15 more thanks for any help! Rasta