Querying by ID Using GTIN in a Collection
TLDR Julian asks if it's possible to query by ID using GTIN. Jason suggests creating a separate field called
gtin and using that in query_by.
May 15, 2023 (4 months ago)
query_byid? I have a collection with food records and I have used the GTIN as id. Now I want to be able to query by GTIN.
idis a special field used internally, so it can’t be used in
query_by. You would have to create another field called say
gtinand use that in query_by
Indexed 2764 threads (79% resolved)
Querying Documents by ID in Typesense
Facundo asked how to query documents by ID, and Jason suggested creating a new field named `id_search` for this purpose.
Issue with Query Hangs Identifying Different Collection Field Names
Kanak experiences query hangs when collection field names differ. Ahmed had an issue adding documents to collections, which was self-resolved. Kishore Nallan resolved Kanak's issue with the updated build.
Issues with Typesense Search and JSON Formatting
Babin had issues with not getting all fields in a search. The problem was due to a JSON formatting extension in VS Code. Jason also clarified the requirement of `query_by` in multi-search POST method.