Add hibernate-vector module: pgvector similarity search with Hibernate 7.4.17.Final and Spring Data JPA 4.2.0 (float[] to vector/halfvec, cosine and L2 in HQL and Criteria, SearchResults methods, HNSW plans from auto_explain and five ways a query stops using the index, recall vs hnsw.ef_search, filtered-search row loss, Spring AI PgVectorStore comparison; PostgreSQL 16.15, pgvector 0.8.7)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
# Regenerates every file under output/. Needs JDK 25, Maven 3.9, network access to Maven Central, and a PostgreSQL with
|
||||
# pgvector on 127.0.0.1:55433 (user postgres, trust auth, database vec; scripts/start-postgres.sh starts one without Docker).
|
||||
# T05 and T07 read the server log (/tmp/hibvec-pg/pg.log, override with -Dpg.log=...) for auto_explain output, so the
|
||||
# server has to be local and its log readable by the user running the tests.
|
||||
# ./scripts/start-postgres.sh && ./scripts/run-all.sh
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
mvn -B clean test
|
||||
ls -1 output
|
||||
Reference in New Issue
Block a user