From ee24de7e05b5563aaccf22402eca5f0ea3fa6e66 Mon Sep 17 00:00:00 2001 From: cosmo <30357883+soulofmischief@users.noreply.github.com> Date: Thu, 21 Sep 2023 23:39:39 +0000 Subject: [PATCH] fix: typo in error message (#490) --- packages/orama/src/errors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/orama/src/errors.ts b/packages/orama/src/errors.ts index 0387cc730..dc4997d14 100644 --- a/packages/orama/src/errors.ts +++ b/packages/orama/src/errors.ts @@ -31,7 +31,7 @@ const errors = { UNKNOWN_FILTER_PROPERTY: `Unknown filter property "%s".`, INVALID_VECTOR_SIZE: `Vector size must be a number greater than 0. Got "%s" instead.`, INVALID_VECTOR_VALUE: `Vector value must be a number greater than 0. Got "%s" instead.`, - INVALID_INPUT_VECTOR: `Property "%s" was declared as a %s-dimentional vector, but got a %s-dimentional vector instead.\nInput vectors must be of the size declared in the schema, as calculating similarity between vectors of different sizes can lead to unexpected results.`, + INVALID_INPUT_VECTOR: `Property "%s" was declared as a %s-dimensional vector, but got a %s-dimensional vector instead.\nInput vectors must be of the size declared in the schema, as calculating similarity between vectors of different sizes can lead to unexpected results.`, WRONG_SEARCH_PROPERTY_TYPE: `Property "%s" is not searchable. Only "string" properties are searchable.`, FACET_NOT_SUPPORTED: `Facet doens't support the type "%s".`, }