我正在尝试将 solr 流与流评估器(6.5 版本的 solr)一起使用。我遇到了 solr 流式传输错误。请让我知道我做错了什么。
select(
search(loc-1215, q=*:*, fq="LOCATION_POINTS:[100 TO 300]", fl="id,LOCATION_POINTS", sort="id asc", qt="/export", partitionKeys="id"),id,log(LOCATION_POINTS))
我在 solr 流媒体中收到以下错误。如果我log(LOCATION_POINTS)
从选择流式函数中删除 ,则此流式表达式可以正常工作。如下所示,我收到此错误unknown operands found
。请让我知道我在这里做错了什么。我是否必须在 solrconfig.xml 中添加任何类路径设置?
{
"result-set": {
"docs": [
{
"EXCEPTION": "Invalid expression select(search(loc-1215,q=\"*:*\",fq=\"LOCATION_POINTS:[100 TO 300]\",fl=\"id,LOCATION_POINTS\",sort=\"id asc\",qt=\"/export\",partitionKeys=id),id,log(LOCATION_POINTS)) - unknown operands found",
"EOF": true
}
]
}
}
LOCATION_POINTS 的字段类型是tdouble