mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
Merge #632
632: Make charabia default feature optional r=ManyTheFish a=vincent-herlemont # Pull Request ## What does this PR do? Fixes [#627](https://github.com/meilisearch/milli/issues/627#issuecomment-1239769122) Thank you so much for contributing to Meilisearch! Co-authored-by: Vincent Herlemont <vincent@herlemont.fr>
This commit is contained in:
commit
f8697075ea
@ -9,7 +9,7 @@ bimap = { version = "0.6.2", features = ["serde"] }
|
|||||||
bincode = "1.3.3"
|
bincode = "1.3.3"
|
||||||
bstr = "0.2.17"
|
bstr = "0.2.17"
|
||||||
byteorder = "1.4.3"
|
byteorder = "1.4.3"
|
||||||
charabia = "0.6.0"
|
charabia = { version = "0.6.0", default-features = false }
|
||||||
concat-arrays = "0.1.2"
|
concat-arrays = "0.1.2"
|
||||||
crossbeam-channel = "0.5.2"
|
crossbeam-channel = "0.5.2"
|
||||||
either = "1.6.1"
|
either = "1.6.1"
|
||||||
@ -57,4 +57,16 @@ md5 = "0.7.0"
|
|||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = [ "charabia/default" ]
|
||||||
|
|
||||||
|
# allow chinese specialized tokenization
|
||||||
|
chinese = ["charabia/chinese"]
|
||||||
|
|
||||||
|
# allow hebrew specialized tokenization
|
||||||
|
hebrew = ["charabia/hebrew"]
|
||||||
|
|
||||||
|
# allow japanese specialized tokenization
|
||||||
|
japanese = ["charabia/japanese"]
|
||||||
|
|
||||||
|
# allow thai specialized tokenization
|
||||||
|
thai = ["charabia/thai"]
|
||||||
|
Loading…
Reference in New Issue
Block a user