Greg Bougeard
02/24/2025, 3:08 PMtaxonomy_production
alias with different versions taxonomy_1
, taxonomy_2
and at a time taxonomy_production
might be an alias of taxonomy_2
.
But in both taxonomy_1
and taxonomy_2
I would have a field referencing `ext_coll_production`which is an alias of `ext_coll_1`(or ext_coll_2
).Fanis Tharropoulos
02/24/2025, 3:17 PMFanis Tharropoulos
02/24/2025, 3:22 PMGreg Bougeard
02/24/2025, 3:28 PMIt will point to the first collection, not the aliased collections
Which first collection?
Let's say I have coll_1
collection referencing taxo_alias
.
and taxo_alias
is an alias for taxo_1
.
Currently when I query on taxo_alias
or taxo_1
joining on `coll_1`I have the impression to get
"Failed to join on `coll_1`: No reference field found`
Fanis Tharropoulos
02/24/2025, 3:29 PMGreg Bougeard
02/24/2025, 3:31 PMFanis Tharropoulos
02/24/2025, 3:32 PMGreg Bougeard
02/24/2025, 3:38 PMtaxo_alias
-> taxo_1
ext_coll_alias
-> ext_coll_1
references taxo_1
taxo_alias
-> taxo_2
I need to duplicate ext_coll_1
to ext_coll_2
to explicitely reference taxo_2
and then ext_coll_alias
-> ext_coll_2
Greg Bougeard
02/24/2025, 3:40 PMFanis Tharropoulos
02/24/2025, 3:44 PMGreg Bougeard
02/25/2025, 3:07 PMreaches
having an async ref on collection taxo
and when I'm updating documents of taxo
(with. emplace
mode) I'm having 400s
Collection `reaches` with async_reference to the collection `taxo` not found.
Which is expected because I deleted that reaches
collection.
And I have also 400s on the new collection reaches_2
wit async ref taxo
,
Error while updating async reference field `segment_id` of collection `reaches_2`: Document `id: lr_1634368372_*` already has a reference to document `1783355` of `taxo` collection, having reference value `lr_1634368372
Does it mean I cannot update documents used in async ref ?Greg Bougeard
02/26/2025, 9:40 AMFanis Tharropoulos
02/26/2025, 12:05 PMHarpreet Sangar
02/27/2025, 4:37 AMI deleted a collectionhaving an async ref on collectionreaches
and when I'm updating documents oftaxo
(with.taxo
mode) I'm having 400semplace
This must be a bug. When referencing collection is deleted, we must remove all the reference info from the referenced collection. I'll try to reproduce it locally.Copy codeCollection `reaches` with async_reference to the collection `taxo` not found.
Greg Bougeard
02/27/2025, 9:27 AMfacet_counts
but only 1 row in hits
. Maybe it's related.Harpreet Sangar
02/28/2025, 10:36 AMHarpreet Sangar
02/28/2025, 10:37 AMFYI I have really weird behavior like having 800 results inI don't think they are related. Can you share reproduction steps for this?but only 1 row infacet_counts
. Maybe it's related.hits