Skip to content

Commit

Permalink
fix: typo in error message (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulofmischief authored Sep 21, 2023
1 parent 2dd5e75 commit ee24de7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/orama/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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".`,
}
Expand Down

1 comment on commit ee24de7

@vercel
Copy link

@vercel vercel bot commented on ee24de7 Sep 21, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.