Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Make charabia default feature optional #632

Merged

Conversation

vincent-herlemont
Copy link
Contributor

@vincent-herlemont vincent-herlemont commented Sep 7, 2022

Pull Request

What does this PR do?

Fixes #627

Thank you so much for contributing to Meilisearch!

@ManyTheFish
Copy link
Member

Hello @vincent-herlemont,
is it possible to make it more granular in order to allow choosing which language is supported?

Thanks!

@vincent-herlemont
Copy link
Contributor Author

vincent-herlemont commented Sep 8, 2022

@ManyTheFish Sure commit here: 8cd5200

@ManyTheFish ManyTheFish added the no breaking The related changes are not breaking (DB nor API) label Sep 8, 2022
Copy link
Member

@ManyTheFish ManyTheFish left a comment

Choose a reason for hiding this comment

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

Thank you @vincent-herlemont for your contribution! 👍

bors merge

@ManyTheFish ManyTheFish added maintenance Issue about maintenance (CI, tests, refacto...) enhancement New feature or request labels Sep 8, 2022
@bors
Copy link
Contributor

bors bot commented Sep 8, 2022

@bors bors bot merged commit f869707 into meilisearch:main Sep 8, 2022
bors bot added a commit to meilisearch/meilisearch that referenced this pull request Sep 21, 2022
2773: Allow building without specialized tokenizations r=Kerollmops a=jirutka

Fixes #2774

(Some of) these specialized tokenizations include huge dictionaries that currently account for 90% (!) of the meilisearch binary size.

This commit adds `chinese`, `hebrew`, `japanese`, and `thai` feature flags that are propagated via `milli` down to the `charabia` crate. To keep it backwards compatible, they are enabled by default.

Related to meilisearch/milli#632

Co-authored-by: Jakub Jirutka <jakub@jirutka.cz>
bors bot added a commit to meilisearch/meilisearch that referenced this pull request Sep 21, 2022
2772: Improve issue template display to avoid support in Meilisearch issues r=curquiza a=curquiza

Move the support line higher to make it more visible
Like this: #2780

2773: Allow building without specialized tokenizations r=curquiza a=jirutka

Fixes #2774

(Some of) these specialized tokenizations include huge dictionaries that currently account for 90% (!) of the meilisearch binary size.

This commit adds `chinese`, `hebrew`, `japanese`, and `thai` feature flags that are propagated via `milli` down to the `charabia` crate. To keep it backwards compatible, they are enabled by default.

Related to meilisearch/milli#632

Co-authored-by: Clémentine Urquizar - curqui <clementine@meilisearch.com>
Co-authored-by: Jakub Jirutka <jakub@jirutka.cz>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request maintenance Issue about maintenance (CI, tests, refacto...) no breaking The related changes are not breaking (DB nor API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there any way to reduce the release executable size?
2 participants