Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MB-35347: Synonym Search #1891

Closed
wants to merge 1 commit into from
Closed

MB-35347: Synonym Search #1891

wants to merge 1 commit into from

Conversation

CascadingRadium
Copy link
Member

@CascadingRadium CascadingRadium commented Oct 16, 2023

Jira

MB-35347

Description

  • Introduces the ability to index specialized "Synonym Documents" that function as a thesaurus within bleve. When a word is queried using the Match Query, this thesaurus is consulted to find synonyms for the queried word.
  • This feature supports acronyms and multi-word synonyms when the indexed field has IncludeTermVectors set to true.
  • All customizations for the Match Query are fully supported, including options like Fuzziness and the Operator. This means you can perform fuzzy matching on a word and find its synonyms within the index.
  • You have the flexibility to define synonym sources using the AddSynonymSource API. Furthermore, you can associate any TextFieldMapping with a synonym source to use it during queries. Additionally, you can set a custom analyzer for the synonym documents, allowing you to use a single source of synonym documents with multiple analyzers attached to it, making it usable across various FieldMappings.

Issues

@CascadingRadium CascadingRadium marked this pull request as ready for review October 27, 2023 11:42
@abhinavdangeti abhinavdangeti removed this from the v2.4.0 milestone Dec 6, 2023
@CascadingRadium CascadingRadium deleted the MB-35347 branch May 28, 2024 19:14
@CascadingRadium CascadingRadium removed their assignment Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants