solr - 在一个请求中执行多个查询 [英] solr - execute multiple queries in one request

查看:33
本文介绍了solr - 在一个请求中执行多个查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在单个 solr 请求中执行多个查询并获得结果的联合作为响应

Is there a way to execute multiple queries in a single solr request and get the union of results as response

我的简化架构看起来像一个名称字段和一个类型字段(4-5 种不同的类型),我希望每个类型值有 10 个结果.这可以在 solr 中完成吗?

my simplified schema would look like a name field and a type field(4-5 different types) and I want 10 results per type value. can this be done in solr?

推荐答案

目前不可能,看看这个请求,可能当这个修复到位时

Currently not possible, Look at this request, possibly when this fix is in place

https://issues.apache.org/jira/browse/SOLR-1093

这篇关于solr - 在一个请求中执行多个查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆