typesense / typesense

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Home Page:https://typesense.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Able to disable synonym search in the query

Hypnobrew opened this issue · comments

Description

Having synonyms setup in Typesense, we get matches on both these when searching for a matching search query as expected.
We have the need for some queries to override this to only return matches for the specific term and not the synonym.

Steps to reproduce

Setup a synonym X/Y.

Search for X and it will yield results for both X and Y.

Expected Behavior

Search for X with a parameter i.e. ignore_synonyms: true will yield results only for X.

Metadata

Typesense Version: 0.26

OS: Cloud