问题描述
我在solr中有一个学生集,我只需要 subjectid 字段进行过滤。
查询
select?fq=subjectid:4000&q=ramesh
schema.xml
<field name="name" type="string" indexed="true" stored="true"/>
<field name="subjectid" type="long" uninvertible="false" indexed="true" stored="true"/>
在这种情况下,哪个更可取,docValues = true或indexed = true才能使此过滤器 subjectid 起作用?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)