JingsongLi opened a new pull request, #40:
URL: https://github.com/apache/paimon-vector-index/pull/40

   ## Summary
   
   Expose an optional reader warm-up API across Rust, C FFI, C++, Java/JNI, and 
Python so callers can prepare search-only in-memory caches after opening an 
index.
   
   ## Changes
   
   - Add `optimize_for_search` / `optimizeForSearch` on unified readers and 
binding surfaces.
   - Build IVF_PQ residual L2 precomputed tables through the reader warm-up 
path.
   - Add IVF_HNSW_SQ scalar-quantization decode LUTs and use them during SQ 
scan/filter fallback.
   - Cover the new API in Rust, C, C++, Java, and Python tests.
   - Document the warm-up API and current index-specific optimizations in 
README examples.
   
   ## Testing
   
   - `cargo test -p paimon-vindex-core`
   - `cargo test -p paimon-vindex-ffi --no-run`
   - `cargo test -p paimon-vindex-jni --no-run`
   - `mvn -f java/pom.xml test -DskipTests=false`
   - `PYTHONPATH=python 
PAIMON_VINDEX_LIB_PATH=$(pwd)/target/debug/libpaimon_vindex_ffi.dylib python -m 
pytest python/tests -q`
   - `cc -std=c11 -Iinclude c/test_vindex.c -Ltarget/debug -lpaimon_vindex_ffi 
-Wl,-rpath,$(pwd)/target/debug -o /tmp/paimon-vindex-c-test && 
/tmp/paimon-vindex-c-test`
   - `c++ -std=c++17 -Iinclude cpp/test_vindex.cpp -Ltarget/debug 
-lpaimon_vindex_ffi -Wl,-rpath,$(pwd)/target/debug -o 
/tmp/paimon-vindex-cpp-test && /tmp/paimon-vindex-cpp-test`
   
   Note: CMake is not installed locally, so C/C++ CMake smoke tests were not 
run.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to