Skip to content

Conversation

@CascadingRadium
Copy link
Member

  • Add MatchAndDistance API to DFA automaton for fuzzy matching using Levenshtein distance.
  • Add MatchesRegex API to regex automaton for validating input against the pattern.

@abhinavdangeti abhinavdangeti merged commit 4fab6f2 into master Dec 11, 2024
9 checks passed
@abhinavdangeti abhinavdangeti deleted the fuzReg branch December 11, 2024 16:38
abhinavdangeti added a commit to blevesearch/bleve that referenced this pull request Dec 19, 2024
- Allow setting up `synonym_sources` in the index mapping, which will
follow its own ingest pipeline, ingesting special synonym definitions
using the IndexSynonym API().
- A `synonym_source` can be set like an analyzer to a field mapping and
can be set as a default option at the document mapping or the index
mapping level.
- Each `synonym_source` can have its own analyzer, making it flexible to
allow for compatibility with the language analyzer specified for its
corresponding mapping.
- Compatibility with every term-based query where the term gets expanded
to include its synonyms at query time.
- Dependencies:
- blevesearch/bleve_index_api@v1.2.0 -
blevesearch/bleve_index_api#57
- blevesearch/scorch_segment_api@v2.3.0 -
blevesearch/scorch_segment_api#46
- blevesearch/vellum@v1.1.0 -
blevesearch/vellum#22
- blevesearch/zapx@v16@latest -
blevesearch/zapx#268

---------

Co-authored-by: Abhinav Dangeti <abhinav@couchbase.com>
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.

3 participants