Hello, Rodrigo.
I don'd fully understand your question but the only thing you can do is
group.q=members:6, nothing like using something from subquery in main one
is not possible.
Please clarify your question.

On Fri, May 22, 2020 at 12:21 AM rantonana <rodrigo.anton...@santexgroup.com>
wrote:

> Hello, I need to do the following:
> I have a main query who define a subquery called group with  "fields":
> "*,group:[subquery]",
> the group document has a lot of fields, but I want to filter the main query
> based on one of them.
> ex:
> {
> PID:1,
> type:doc,
>  "group":{"numFound":1,"start":0,"docs":[
>             {
> members:[1,2,3]
> }]
> },
> {
> PID:2,
> type:doc,
>  "group":{"numFound":1,"start":0,"docs":[
>             {
> members:[4,5,6]
> }]
> }
>
> in the example, I want to filter type documents where members field has the
> 6 value.
>
> thanks
>
>
>
>
>
> --
> Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to