()
| 343 | |
| 344 | #[test] |
| 345 | fn named_quantization_rabitq() { |
| 346 | let plan = plan_ann( |
| 347 | "SELECT id FROM embeddings ORDER BY vector_distance(embedding, [1.0, 0.0], quantization => 'rabitq') LIMIT 5", |
| 348 | ); |
| 349 | let SqlPlan::VectorSearch { ann_options, .. } = plan else { |
| 350 | panic!("expected VectorSearch plan"); |
| 351 | }; |
| 352 | assert_eq!(ann_options.quantization, Some(VectorQuantization::RaBitQ)); |
| 353 | } |
| 354 | |
| 355 | #[test] |
| 356 | fn named_ef_search() { |
nothing calls this directly
no test coverage detected