我需要在 solr 中搜索方面,如下所示:
现在我需要搜索具有上述方面(逻辑与)和(逻辑或)的文章。
假设我有以下文章
- country=USA France //主题:英思科
- country=USA canada //主题:工业
- country=USA canada //话题:工业政治
现在,我试过了
http://127.0.0.1:8888/solr/Collection1/select?q=*:*&start=0&rows=10&facet=true&fq=country:USA&fq=country:canada&fq=topic:political&fq=topic:industrial
但这没有返回任何东西:(你能指导我如何通过它们之间的ANDing和ORing来搜索这些面孔吗?
谢谢你的帮助