Canceling Search Requests in Typesense with Swift on iOS
Davide requested information on canceling search requests in Typesense with Swift. Sabesh confirmed it's currently unsupported but welcomed pull requests or raised issues on their GitHub repo.
Resolving Cold Start Problem with Cluster Setup
Adrian reported a cold start problem in their cluster setup. Jason suggested upgrading to `0.25.0.rc32` and setting `query_by: .*`.
Typesense Cloud Cluster Out of Memory Issue
Herman experienced an OUT_OF_MEMORY error after updating their Typesense schema. Jason suggested upgrading to 1GB RAM to accommodate the indexed data.
Duplicate Highlight Keys in Search Results
Manish noticed two highlight keys in search results. Jason explained "highlight" is the newer key for nested fields, while "highlights" is for backward compatibility.
Retrieving More Than 250 Docs from Typesense with Multiple Collections
Saurabh asked about getting more than 250 docs from Typesense with multiple collections. Jason confirmed it's possible by using the `page` and `per_page` parameters.
List of Facets in Collection and Version Update
arif wants to get a list of all facets in a collection. Jason suggests using `facet_by: *` and clarifies that removing all records with a particular attribute won't remove the field from the schema. Upgrading to the latest version should be scheduled manually.
Connecting React Instant Search with Typesense Adapter
KARTHICK sought help with an error when using Typesense Adapter for React Instant Search. Jason advised substituting import statements. After uninstalling the react-instantsearch-dom package, KARTHICK resolved the issue.
Turning Off Typesense Server Logs
Manish inquired about turning off verbose Typesense server logs. Jason explained that the logs cannot be turned off due to their usefulness in debugging issues. There is no way to limit logs to warning level or above currently.
Updating String Array in Document with Typesense
TJ asks if the only way to edit a string array in a document is by retrieving it, updating, and sending it back. Jason confirms this and directs to an open feature request.
Typesense Import Issue with HTTP Code 503 Error
Tomas faced errors while importing to typesense, including an HTTP code 503. Jason identified the issue as CPU exhaustion and recommended slowing down writes or upgrading to at least 4vCPU.
Combining ReactInstant Search Widgets with React Hook Form Version
Uma asks if they can combine ReactInstant Search widgets with React Hook Form version widgets. Jason suggests asking in the Instantsearch github repo, but suspects they'd need to switch all widgets to the hooks version.
Updating Documents by Query and Sorting by Float Fields
Saurabh asked how to update documents by query and whether float fields can be used for sorting. Kishore provided information on updating by query and advised using int64 type instead of float for unix timestamps.
Handling Special Characters in Search Queries
Sidharth asks how to handle special characters in search queries. Kishore suggests using `symbols_to_index` configuration and provides an example to help.
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.
Switching Search Client Modes with react-instantsearch-dom
Zeyu asked about switching searchClient modes. Jason suggested re-instantiating Instantsearch.js and dynamically rendering widgets on button click.
Troubleshooting CORS Issues in Self-Hosted Typesense
Ankit faced CORS issues with self-hosted Typesense. Jason suggested correct configuration but the problem was mixed content (HTTP vs HTTPS).
Mac Users Unable to Connect to Typesense Health Check through BE
KARTHICK is unable to connect to Typesense health check through backend on a new Mac setup, despite configurations working on older Mac. Jason suggests checking possible issues in backend routing and environment file processing.
Nested Search and Facets on Nested Objects in Projects
Atul inquired about nested search and creating facets on nested objects. Kishore confirmed that both are possible.
Implementing Autocompletion in Typesense with NestJS and React Native
Amrit asks about implementing autocompletion in Typesense. Kishore suggests storing recent queries in a separate collection and mentions an upcoming feature for easier implementation.
Zero Downtime with Aliases, Synonyms, and Overrides
em1nos asked about zero downtime with aliases, synonyms, and overrides. Jason suggested cloning the collection, making schema changes, syncing data, and updating the alias.
Understanding Privacy Friendliness Feature
Arun inquired about the Privacy Friendliness feature, and Kishore explained that it involves not logging or persisting IPs tied to user queries.
Django-Haystack Integration with Typesense
Arun inquires about integrating Typesense with Django-Haystack. Kishore states there are no current plans for integration and responds briefly about performance benchmarking.
Typesense Fuzzy Search & Invalidation Policy
Ashish asked if typesense supports fuzzy search and their invalidation policy. Kishore provided a link about fuzzy search and clarified there's no TTL feature available.
API Key Becomes Invalid in Long Running Cluster
Adrian experienced an invalid generated API key. Jason explained that the key's expiration parameters and possible cluster quorum changes may have affected the key's validity.
Missing "Presets" Feature in Java SDK
Nathan noticed "Presets" missing in Java SDK's `SearchParameters`. Jason confirmed and a bug report was filed on Github.
Debugging Searches and Understanding Search Term Matching
Helder sought help in understanding mismatched search terms. Kishore explained prefix search behavior and suggested creating a synonym for "fuji" and "fujifilm."
Query String with OR Functionality in Typesense
Michael asked how to build a query string with "OR" functionality, but Kishore informed them it is not currently supported. However, a new version of Typesense with better similarity operations is coming in a week or two.
Nested Objects Issue in Firebase & Typesense Integration
Shaun encountered issues with nested objects being flattened in Typesense. Jason found the root issue and provided a solution involving updating the Firebase extension to 1.0.3.
Setting Up HA Cluster on Fly with Typesense
Jordan needed help setting up an HA cluster on Fly for Typesense. Jason assisted in troubleshooting the configuration and 6tunnel usage. Eventually, a solution was found in the Fly community forum.
SQL Functions for Listening to DB Changes
Nathan searched for a page with sample SQL functions related to syncing with Typesense. Jason provided the correct link.