Solr Join查询以组合两个查询

时间:2018-01-30 09:40:10

标签: solr solr-query-syntax

我的第一个Solr查询是:

http://localhost:8983/solr/test/select?q=*:*&fq={!geofilt pt=latlonval sfield=latlon d=50}

使用结果(只返回1个结果)我从这个查询中得到“latlon”字段值(让我们从结果中将其称为 latlonval 并将其传递给以下查询:

---
title: Noticias
content:
    items: '@self.children'
    order:
        by: header.date
        dir: asc
    pagination: true
    limit: 10
---

使用两个查询需要花费太多时间来处理。无论如何将这两个查询组合成一个查询?可能使用连接。如果是这样,请告诉我如何。

0 个答案:

没有答案
相关问题