Typesense Docker Service Setup Issue Resolved
TLDR Jeff raised an issue regarding unexpected behavior while setting up Typesense Docker service and a possible bug in release 0.23.1. Kishore Nallan confirmed the issue, mentioning it is fixed in the latest release candidates and will be in future releases.
Aug 12, 2022 (14 months ago)
Jeff
09:45 PMThe bug is apparent when we use the latest release 0.23.1.
For development, we have a setup script that runs a series of command to provision all Typesense collections and then index documents for each collection from the seeded development data. The script and commands work as expected when executed on the host machine against the docker Typesense instance but have strange behaviour when the same script is run as part of the associated API's Docker command. i.e. the script is called in the API Dockerfile command before executing the actual API server process,
All collections are provisioned properly and the command feedback for each index command looks correct. When we check the actual content of the collections however, they all contain the same documents. i.e. One collection (the last command to run) contains the correct documents and data but the other collections all contain the exact same documents instead of the correct documents for each collection.
When I run the Typesense docker instance with the most recent 0.24.0.rc29 version, the problem goes away. Normally, with the problem gone, I would stop there but this version is obviously a release candidate and I can't find any completed issues or commit that seem to address the bug I was experiencing.
Are there any changes between 0.23.1 and 0.24.0.rc29 that might be what solved this bug for me? Will this fix/change still be present in the next latest release?
Aug 13, 2022 (14 months ago)
Kishore Nallan
02:32 AMTypesense
Indexed 2779 threads (79% resolved)
Similar Threads
Issue with `included_fields` Command in Typesense
SamHendley encountered an issue with the `included_fields` command in Typesense versions 0.23.0 and 0.24.0.rc17. Jason helped identify it as a bug in the 0.24.X version, which was later addressed in release 0.24.0.rcn19.
Typesense Server Crash and Counting Issue
Dan reported a server crash and counting issues with Typesense server version 0.26.0.rc1. Jason suggested an upgrade to `0.26.0.rc13` while Kishore Nallan committed to investigate the issue based on a sample dataset from Dan.
Discussing Search API Limitations and Solutions
Sidharth had problems with search API response limitations and sorting issues. Kishore Nallan suggested multi_search query and provided links for an updated version. After installation, some timeout and performance issues were encountered, partially resolved by adjusting client timeout values.