Skip to content

Conversation

@CascadingRadium
Copy link
Member

@CascadingRadium CascadingRadium commented Oct 14, 2024

  • Add interfaces that will abstract the underlying roaring64 bitmaps and its iterators used by the thesaurus for storing synonyms.

@CascadingRadium CascadingRadium changed the title interfaces for thesaurus datatype Interfaces for thesaurus datatype Dec 9, 2024
@CascadingRadium CascadingRadium marked this pull request as ready for review December 9, 2024 11:12
abhinavdangeti
abhinavdangeti previously approved these changes Dec 10, 2024
Copy link
Member

@abhinavdangeti abhinavdangeti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks ok, let's wait to bump up bleve_index_api version though.

@CascadingRadium
Copy link
Member Author

ok i have added a few commentary here

@abhinavdangeti abhinavdangeti merged commit d4148b0 into master Dec 11, 2024
9 checks passed
@abhinavdangeti abhinavdangeti deleted the synonyms branch December 11, 2024 16:35
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