Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在子查询上使用stats组件创建对Solr的请求_Solr - Fatal编程技术网

在子查询上使用stats组件创建对Solr的请求

在子查询上使用stats组件创建对Solr的请求,solr,Solr,我正在使用solr,我有一个子查询请求,我有一个疑问,我可以在子查询中使用stats吗?我希望每个子查询的统计信息不在主查询中。我已经在儿童身上测试过了,但是不起作用,有可能吗 http://localhost:8983/solr/test_es/select?q=*%3A*&fq=type:product&fq={!join+from=gtin_fixed+to=gtin}shop_id:2&fl=*,children:[subquery]&children.q

我正在使用solr,我有一个子查询请求,我有一个疑问,我可以在子查询中使用stats吗?我希望每个子查询的统计信息不在主查询中。我已经在儿童身上测试过了,但是不起作用,有可能吗

http://localhost:8983/solr/test_es/select?q=*%3A*&fq=type:product&fq={!join+from=gtin_fixed+to=gtin}shop_id:2&fl=*,children:[subquery]&children.q={!terms%20f=gtin%20v=$row.gtin}&children.stats=true
提前谢谢