Hey! So I started experimenting with Typesense a f...
# community-help
v
Hey! So I started experimenting with Typesense a few weeks ago, all the basics works well. However I have a lot of issues with JOINs (performance with large collections and various bugs) that make it hard to actually get something to work correctly. My last issue right now is: Can I actually use collections aliases as an async
reference
in a collection schema, or is it a bad idea?
Let's say I have: • Collection
a_1
with alias
a
• Collection
b_1
with alias
b
and in the schema a reference to the alias
a
(and not
a_1
) I delete the collection
b_1
to re-index it as
b_2
(after another issue), and I update the index
b
. Now, I cannot insert anything anymore into
a
, Typesense returns following error:
Copy code
Server said: Collection `b_1` with async_reference to the collection `a_1` not found. RequestMalformed: Request failed with HTTP code 400
I have the feeling that due to the async reference from
b_1
to
a
, there is an internal reference from
a_1
to
b_1
(the other direction) that was never cleaned, and now the collection
a_1
is broken until I delete it. Thanks!