Skip to content

Commit

Permalink
fix: set max dimension to 1600 (#98)
Browse files Browse the repository at this point in the history
Signed-off-by: usamoi <[email protected]>
  • Loading branch information
usamoi authored Nov 19, 2024
1 parent a25eced commit 3f6b6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/am.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ pub unsafe extern "C" fn ambuild(
if let Err(errors) = Validate::validate(&vector_options) {
pgrx::error!("error while validating options: {}", errors);
}
if vector_options.dims > 2000 {
if vector_options.dims > 1600 {
pgrx::error!("error while validating options: dimension is too large");
}
if let Err(errors) = Validate::validate(&vchordrq_options) {
Expand Down

0 comments on commit 3f6b6b6

Please sign in to comment.