Grigoris Balaskas
03/10/2026, 4:58 PMv30.2.rc5 :
• We use an async reference from collection env.booking-payments towards env.bookings defined like:
{
"async_reference": true,
"cascade_delete": true,
"facet": true,
"index": true,
"infix": false,
"locale": "",
"name": "bookingId",
"optional": false,
"reference": "bookings.id",
"sort": true,
"stem": false,
"stem_dictionary": "",
"store": true,
"truncate_len": 100,
"type": "string"
}
• env.bookings collection is aliased as bookings
• although the queries on booking-payments collection used to work, at some point the reference seems to have broken, and when we filterBy using a field from bookings collection:
/collections/env.booking-payments/documents/search?q=*&filter_by=$bookings(enterpriseId:='11')
we get:
{
"message": "Failed to join on `env.bookings`: No reference field found."
}
• we checked the schema definition for bookings collection using /collections/env.bookings, the id field is not returned, although it is indexed in the documents
Do you have any idea what is the issue here?Harpreet Sangar
03/11/2026, 3:20 AMalthough the queries onDid you happen to re-index just the booking collection?collection used to work, at some point the reference seems to have broken, and when webooking-paymentsusing a field from bookings collection:filterBy
Grigoris Balaskas
03/11/2026, 9:30 AMGrigoris Balaskas
03/11/2026, 9:32 AMHarpreet Sangar
03/11/2026, 11:04 AMGrigoris Balaskas
03/11/2026, 2:42 PMtypesense
.collections(schema.name)
.documents()
.import_(documents, ImportDocumentsParameters().action(IndexAction.UPSERT))
Would this create an issue?Alan Martini
03/17/2026, 8:48 PM