我想使用schema.xml而不是托管架构,因此我将solrconfig.xml中的以下内容更改为以下内容
<schemaFactory class="ManagedIndexSchemaFactory">
<bool name="mutable">true</bool>
<str name="managedSchemaResourceName">managed-schema</str>
</schemaFactory>
Run Code Online (Sandbox Code Playgroud)
至
<schemaFactory class="ClassicIndexSchemaFactory"/>
Run Code Online (Sandbox Code Playgroud)
但是当我尝试使用post命令索引平面文件时,我得到indexschema不是可变错误.