Victor
08/22/2025, 9:04 AMauto_gallery_pk_sequence_id
value for doc 5318541
.`
The relevant parts of the schema are:
schema "foo":
{
name: "auto_gallery_pk",
type: "string",
optional: true,
reference: "gallery.id",
async_reference: true
}
schema "gallery":
{name: "pk", type: "int64"}
Am I missing anything obvious? or any idea what to do about this? Unfortunately I couldn't find a way of replicating locallyFanis Tharropoulos
08/22/2025, 10:15 AMVictor
08/22/2025, 10:18 AMFanis Tharropoulos
08/22/2025, 10:19 AM{q: "*", filter_by: "id:=5318541"}
Victor
08/22/2025, 10:23 AMFanis Tharropoulos
08/22/2025, 10:27 AMVictor
08/22/2025, 10:46 AMauto_gallery_pk_sequence_id
value for doc 5318541
.`
I assumed 5318541
was an internal ID because of `"Could not find " + reference_helper_field_name + "
value for doc " + std::to_string(seq_id)
Victor
08/22/2025, 10:47 AMVictor
08/22/2025, 10:50 AM/collections/{collection_name}/documents/5318541
, {"message": "Could not find a document with id: 5318541"}
Victor
08/22/2025, 11:48 AMHowever, it's important to keep in mind that a collection's documents store the internal IDs of the referenced collection's documents.https://typesense.org/docs/29.0/api/joins.html#using-aliases-with-joins could be why I can't find these IDs in my collection
Victor
08/22/2025, 11:58 AMauto_gallery_pk_sequence_id
value for doc `1`` when I search with joinFanis Tharropoulos
08/22/2025, 12:29 PMVictor
08/22/2025, 12:37 PMVictor
08/22/2025, 1:30 PMFanis Tharropoulos
08/22/2025, 1:42 PMKrunal Gandhi
09/03/2025, 10:59 AMbuilding_id
is set optional and not all records are having value of the building_id
.
So when that field is included and if a doc is not having that value, it'll log that error.
Please verify whether it is the case in your setup too.Victor
09/03/2025, 11:20 AMKrunal Gandhi
09/03/2025, 12:02 PMVictor
09/03/2025, 4:57 PMHarpreet Sangar
09/04/2025, 3:47 AMasync_reference
then we should switch to LOG(INFO)
instead since these messages are expected in async reference scenario.Victor
09/04/2025, 8:20 AM