Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
索引XML Solr无模式模式_Xml_Solr_Lucene_Schemaless_Solr Schema - Fatal编程技术网

索引XML Solr无模式模式

索引XML Solr无模式模式,xml,solr,lucene,schemaless,solr-schema,Xml,Solr,Lucene,Schemaless,Solr Schema,我在无模式模式下使用Solr,我想通过shell使用post命令对一些XML文件进行索引 我已经在solrconfig.xml中配置了ManagedSchemaDefinition,并对ClassicIndexSchemaFactory进行了注释 post命令已成功索引文件: bin/post-cmycollection服务器/solr/docs/*.xml 其中docs是一个文件夹,我在其中插入了要索引到mycollection中的XML文件 问题在于,在mycollection overvi

我在无模式模式下使用Solr,我想通过shell使用post命令对一些XML文件进行索引

我已经在solrconfig.xml中配置了ManagedSchemaDefinition,并对ClassicIndexSchemaFactory进行了注释

post命令已成功索引文件:
bin/post-cmycollection服务器/solr/docs/*.xml

其中docs是一个文件夹,我在其中插入了要索引到mycollection中的XML文件

问题在于,在mycollection overview中,Num Docs=0,并且在SchemaBrowser选项卡中,没有索引XML的字段


我是否遗漏了一些配置步骤?

您是否确实键入了
.xml*
?这将只匹配以.xml开头的文件。您可能会想到
*.xml
?显然,这是一个错误。我已经用正确的格式更新了这篇文章。你真的在键入
.xml*
?这将只匹配以.xml开头的文件。您可能会想到
*.xml
?显然,这是一个错误。我已经用正确的格式更新了这篇文章。