#community-help

Disabling Typos in Facet Search Using TypesenseInstantSearchAdapter

TLDR Ivan wants to disable typos in facet search using TypesenseInstantSearchAdapter but Kishore Nallan says the feature is not yet available. They plan to work on it in future updates.

Powered by Struct AI

1

Dec 01, 2021 (26 months ago)
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
09:25 AM
Hi Jason Kishore Nallan, we are using algolia angular instantsearch via TypesenseInstantSearchAdapter. For facets i am using custom dropdown refinement list component and trying to disable typos for search inside facet list. I' ve added numTypos: 0 inside TypesenseInstantSearchAdapter, it helped for disabling typos inside main search, but when i searching inside facetlist, i still get results with typos, how can i disable typos also for facet_query search?
this.typesenseInstantsearchAdapter = new TypesenseInstantSearchAdapter({
  server: {
    apiKey: this.data.serverSettings.apikey,
    nodes: [
      {
        host: this.data.serverSettings.host,
        port: this.data.serverSettings.port,
        protocol: 'https',
      },
    ],
  },
  additionalSearchParameters: {
    queryBy: 'plaintexttitle',
    numTypos: 0,
  },

Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:27 AM
👋 Typesense server does not yet have a parameter for disabling typos for facet search. Can you please create a GitHub issue for this? We will be happy to prioritise for future work.
Ivan
Photo of md5-bcbe2a4c9402d7445badbcf2ebdc68f8
Ivan
09:31 AM
Thank you for answer, i will create issue
09:53
Ivan
09:53 AM
Kishore Nallan there is already created issue for this problem
https://github.com/typesense/typesense/issues/429
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:54 AM
Ah yes, indeed!
Andrew
Photo of md5-88d88db4789daa0e3abef8c3ca27772b
Andrew
10:00 AM
Any idea when this might be deliverable, Kishore Nallan?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
11:39 AM
We're yet to prioritize for 0.23, I will get back to you in a week. But this should be a simple thing to support, so we can get a build early on for that.
Andrew
Photo of md5-88d88db4789daa0e3abef8c3ca27772b
Andrew
12:28 PM
sounds good. thanks Kishore Nallan

1

Typesense

Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI

Indexed 3015 threads (79% resolved)

Join Our Community

Similar Threads

Resolving Multilingual Search Function in Typesense Software

Bill is having difficulty with multilingual search functionality in Typesense software. Developer Kishore Nallan suggested setting a language locale and provided a demo build. The build solution had some issues, and after multiple rounds of software updates and troubleshooting, the problem still persists.

2

89
25mo

Troubleshooting Typesense Setup and Understanding Facets and Keywords

Demitri encountered errors when exploring Typesense for the first time. Jason guided them through troubleshooting and discussed facets, keyword settings, and widget configurations. Helin shared a Python demo app and its source code to help Demitri with their project.

1

56
21mo

Typesense Bug Fix with `canceled_at` Field and Upgrade Concerns

Mateo reported an issue regarding the treatment of an optional field by Typesense which was confirmed a bug by Jason. After trying an upgrade, an error arose. Jason explained the bug was due to a recent change and proceeded to downgrade their version. Future upgrade protocols were discussed.

3

74
10mo

Resolving Typesense Field Setup Issue

em1nos is having an issue running Algolia/InstantSearch adaptation to Typesense due to field attribute disparity. Jason advised checking the attribute in the schema while Kishore Nallan pointed out a typo. Following the corrections, the issue was resolved.

15
31mo

Enhancing Typesense-JS For Improved Cache Management

Jordan requested a way to clear the cache in 'typesense-js' when a new document is added. Jason recommended a work-around and supported Jordan's idea to add a 'clearCache' method. Jordan then submitted a PR for this implementation.

1

10
16mo