mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
Replace hardcoded string with constants
This commit is contained in:
parent
fc23a0ee52
commit
44eb153619
26 changed files with 160 additions and 132 deletions
2
crates/milli/src/constants.rs
Normal file
2
crates/milli/src/constants.rs
Normal file
|
@ -0,0 +1,2 @@
|
|||
pub const RESERVED_VECTORS_FIELD_NAME: &str = "_vectors";
|
||||
pub const RESERVED_GEO_FIELD_NAME: &str = "_geo";
|
Loading…
Add table
Add a link
Reference in a new issue