Solr8-stored=响应中显示false字段

Solr8-stored=响应中显示false字段,solr,solr8,Solr,Solr8,我有一些字段设置为“stored=false”,但它们仍然显示在响应中。我检查了“useDocValuesAsStored”是否设置为false。知道为什么这些字段会出现在响应中吗。我是solr新手,但当我检查schema.xml文件时,我发现所有字段类型几乎都是DocValues(DocValues=“true”) 您可以在管理UI的模式中检查它。所以,如果不想在结果集中检索,请将docValues设置为false。什么类型的字段?i、 e.如何定义字段?在更改定义之前,是否将任何内容索引

我有一些字段设置为“stored=false”,但它们仍然显示在响应中。我检查了“useDocValuesAsStored”是否设置为false。知道为什么这些字段会出现在响应中吗。

我是solr新手,但当我检查schema.xml文件时,我发现所有字段类型几乎都是DocValues(DocValues=“true”)



您可以在管理UI的模式中检查它。所以,如果不想在结果集中检索,请将docValues设置为false。

什么类型的字段?i、 e.如何定义字段?在更改定义之前,是否将任何内容索引到字段中?还要注意的是,
usedocvaluesassstored
仅指通配符字段查询,而不是在专门请求字段时(当
usedocvaluesassstored=“false”
时,非存储的DocValues字段仍然可以在fl参数中按名称显式请求,但不会与glob模式匹配(
“*”
)这是一个简单的字符串字段->字段名=“域名”type=“string”index=“true”stored=“false”multiValued=“true”。测试时,我将字段定义为stored=true。然后我更改并删除了数据目录。重新启动服务器。在进行数据导入之前,我也进行了清理。没有特别要求字段。非常感谢。设置docValues=“false”有效。
<fieldType name="pint" class="solr.IntPointField" docValues="true"/>
<fieldType name="pints" class="solr.IntPointField" docValues="true" multiValued="true"/>
<fieldType name="string" class="solr.StrField" sortMissingLast="true" docValues="true"/>
<fieldType name="strings" class="solr.StrField" sortMissingLast="true" docValues="true" multiValued="true"/>
<fieldType name="plong" class="solr.LongPointField" docValues="true"/>
<fieldType name="plongs" class="solr.LongPointField" docValues="true" multiValued="true"/>