首页 文章

datastax solr search RELOAD重置schema.xml

提问于
浏览
0

我在DSE搜索中遇到了一个好奇的行为 . 如果通过generateResources = true创建核心,稍后在schema.xml上通过POST更新到/ks.table/admin/file?schema.xml,如果/ks.table/admin/cores,它将恢复为其初始版本?action = RELOAD被调用 .

dsetool create_core ks.tablename generateResources=true

solr中的schema.xml现在包括indexed =“true”的所有字段

curl http://localhost:8983/solr/resource/ks.tablename//schema.xml --data-binary @edited_schema.xml -H 'Content-type:text/xml; charset=utf-8'

现在使用设置为indexed =“false”的选定字段更新solr中的schema.xml

curl http://localhost:8983/solr/admin/cores?action=RELOAD&name=ks.tablename

solr中的schema.xml现在还原为索引的所有字段=“true”

这是预期的行为吗?

1 回答

  • 0

    我相信这是一个已知问题,您可以升级到最新的DSE并再试一次吗?

    我相信它是固定的 .

相关问题