lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: Combining complex joins with other criteria
Date Fri, 24 Nov 2017 07:43:45 GMT
This is my pet peeve in Solr.
When q={!join ..}all tokens goes into join qp
but even if we put space in front of curly brace q= {!join
..}1st_only_token_goes_to_join_qp
I remember there were some discussion in comments, but I believe it is not
raised ever raised as a defect.
We have some json query syntax introduced recently, it might work more
predictable.

On Fri, Nov 24, 2017 at 1:08 AM, David Frese <david.frese@active-group.de>
wrote:

> Am 23.11.17 um 20:13 schrieb Mikhail Khludnev:
>
>> Hello, David.
>> It should be like
>> q=name:"Mike" AND {!join from=pid to=id v=$qq}&qq=city:"London" AND
>> id:"a1"
>>
>>
> Thanks a lot!
>
> But this looks like working around a bug, given that
>
> >> {!join from=pid to=id}(city:"London" AND id:"a1")
>
> works fine. Is there any documentation about this? Or an open issue?
>
> --
> David Frese
> +49 7071 70896 75
>
> Active Group GmbH
> Hechinger Str. 12/1, 72072 Tübingen
> Registergericht: Amtsgericht Stuttgart, HRB 224404
> Geschäftsführer: Dr. Michael Sperber
>



-- 
Sincerely yours
Mikhail Khludnev

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message