yente icon indicating copy to clipboard operation
yente copied to clipboard

Regression: Multiple topic param's in /match are interpreted using AND, not OR

Open angpao opened this issue 8 months ago • 3 comments

Last time , I use yente version last year (May be 3....). Now , I updated to yente 4.2. When query parameter filter many topics https:xxx/match/default?topics=sanction&topics=sanction.linked Body { "queries": { "match": { "schema": "Company", "properties": { "name": [ "China Mobile" ] } } } } No have result.

But Post "https:xxx/match/default?topics=sanction" , I found the result.

Why? I think new version have a bug or not? or topics=sanction.linked cannot filter as well?

angpao avatar Mar 28 '25 10:03 angpao

Thank you for reporting this bug report! This seems to have been introduced by https://github.com/opensanctions/yente/pull/648. I'll follow up with a fix.

leonhandreke avatar Mar 31 '25 14:03 leonhandreke

Thank you so much. You will update docker yente 4.2.3 to solve this,right ?

angpao avatar Apr 01 '25 01:04 angpao

The fix is now live in our production system, I'll let it cook overnight and release a yente 4.3 tomorrow.

leonhandreke avatar Apr 01 '25 14:04 leonhandreke

I am waiting for you

angpao avatar Apr 03 '25 01:04 angpao

Cutting the release will take a bit longer. Meanwhile, you can use latest yente main, it's fixed there.

leonhandreke avatar Apr 03 '25 10:04 leonhandreke

Yente 4.3.0 includes this fix.

leonhandreke avatar Apr 04 '25 11:04 leonhandreke

Thank you so much. @leonhandreke So fast solve.

angpao avatar Apr 04 '25 11:04 angpao