Improving Query Results and Docker Issue with Typesense
TLDR Draisy struggled with retrieving query results and a docker command not working with a newer version of typesense. Jason suggested getting Typesense logs and upgrading cluster, but problems persist.
2
Jul 12, 2023 (2 months ago)
Draisy
08:55 PMinfix:true
in the schema field, and I'm passing infix: 'always'
in the search params, but not getting the results I expect. For example, I would expect a field with a string value of ABC1234
to be returned as a possible result for a query of 123
or 1234
, etc.As per that thread, I tried testing locally with the
typesense:0.25.0.rct46
image, but that container exits immediately after I run it. When I try with older versions, the container spins up and runs as expected. Is this tag still up and running, or should I test with a different one? The command I'm testing with is docker run -p 8108:8108 -v/tmp/data:/data typesense/typesense:0.25.0.rct46 --data-dir /data --api-key=<API_KEY>
. The same command works when I try it with other tags, such as typesense/typesense:0.22.2
Jason
09:09 PMJason
09:09 PMDraisy
10:13 PMdocker ps -a
, I can see the container exited with status 139, but docker logs <container_id>
returns emptyDraisy
10:15 PMJason
10:16 PMDraisy
10:20 PMJason
10:21 PM1
Draisy
10:29 PMDraisy
10:30 PMJason
10:30 PMJason
10:31 PMmulti_search
, copy-as-curl and then DM it to me?1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Fixing Errors on Typesense Cluster
Tugay is having issues with their Typesense cluster, and Jason is trying to diagnose the problem. They have ruled out issues with the data dir and are currently considering whether the errors could be due to high concurrent writes or running bulk migrations. They plan to test with 0.24.0.rcn56 Typesense version.
Resolving Issues with Infix and Prefix in Query Searches
Daren struggled with searches missing values in production. Jason and Kishore Nallan offered insights and created new features to help solve the problem, which was then tested and deployed by Daren.
Using Typesense in Docker Container – Importing JSONL File
Hakim faced 'Empty reply from server' error when importing a JSONL file into a Typesense-Docker container. Kishore Nallan and Jason suggested checking the docker logs and increasing default RAM and CPU allocation. Finally, Hakim successfully indexed the documents using a PHP script.
Trouble with Typesense Memory Usage when Restarting Docker Container
Blend reports increased memory usage when restarting Docker with Typesense, information shared with Jason and Kishore Nallan. Potential data edge case identified as potential cause, although resolution undetermined.
Troubleshooting Typesense Server Error on Docker
vikram was facing an error with Typesense Server Docker container and loss of data on restart. Kishore Nallan guided to avoid mounting tmp directory from localhost and explained stopping the Docker container.