Solr过滤器查询中的数学运算和比较运算

Solr过滤器查询中的数学运算和比较运算,solr,Solr,在solr schema.xml中,我得到了以下条目 <field name="quality" type="int" indexed="true" stored="true"/> 此数学运算将根据查询而变化。您可以使用Solr的 fq={!frange l=256}产品(质量,16) 检查Solr中所有可用函数的列表 http://localhost:8983/solr/myindex/select/?q=computer&fq=quality*16>256

在solr schema.xml中,我得到了以下条目

 <field name="quality" type="int" indexed="true" stored="true"/>
此数学运算将根据查询而变化。

您可以使用Solr的

fq={!frange l=256}产品(质量,16)

检查Solr中所有可用函数的列表

http://localhost:8983/solr/myindex/select/?q=computer&fq=quality*16>256