You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Remote Vector Index Build] Initial implementation of Index Build Service (#2532)
* fix broken build flag, move build to one directory (#2442)
* move build to one directory, fix broken flag
Signed-off-by: Samuel Herman <[email protected]>
* fix make path
Signed-off-by: Samuel Herman <[email protected]>
* changelog update
Signed-off-by: Samuel Herman <[email protected]>
* add fix for classpath change and for cmake discovery on macos
Signed-off-by: Samuel Herman <[email protected]>
* fix make discovery for gradle
Signed-off-by: Samuel Herman <[email protected]>
* fix cmake path for macOS
Signed-off-by: Samuel Herman <[email protected]>
---------
Signed-off-by: Samuel Herman <[email protected]>
* Update package name to fix compilation issue (#2513)
* Update package name to fix compilation issue
Core renamed this package in opensearch-project/OpenSearch#17272
This commit renames package accordingly
Signed-off-by: Balasubramanian <[email protected]>
* Update build.gradle and build.sh to separate x64 linux nmslib build with different gcc versions (#2506) (#2508)
* Update build gradle to separate nmslib / faiss generation
Signed-off-by: Peter Zhu <[email protected]>
* Update scripts/build.sh to separate enable gcc switch
Signed-off-by: Peter Zhu <[email protected]>
* Remove test comments
Signed-off-by: Peter Zhu <[email protected]>
* Remove test comments
Signed-off-by: Peter Zhu <[email protected]>
* Remove test comments
Signed-off-by: Peter Zhu <[email protected]>
* Updating restart and rolling upgrade bwc test bundle.gradle
Signed-off-by: Peter Zhu <[email protected]>
* Enforce gcc10 for nmslib to compile and avx512_spr have no-op
Signed-off-by: Peter Zhu <[email protected]>
---------
Signed-off-by: Peter Zhu <[email protected]>
(cherry picked from commit 107c4f1)
Co-authored-by: Peter Zhu <[email protected]>
---------
Signed-off-by: Balasubramanian <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Peter Zhu <[email protected]>
* Adds debug logs for KNNQuery and KNNWeight (#2466) (#2470)
* Adds debug logs for KNNQuery and KNNWeight
Signed-off-by: Tejas Shah <[email protected]>
* Adds check to see if log is enabled to start and stop StopWatch
Signed-off-by: Tejas Shah <[email protected]>
* Addressing comments on the PR
Signed-off-by: Tejas Shah <[email protected]>
* Adds shard and segment info in the logs
Signed-off-by: Tejas Shah <[email protected]>
* Removes unnecessary segment name param from exact search
Signed-off-by: Tejas Shah <[email protected]>
* Fixes the build
Signed-off-by: Tejas Shah <[email protected]>
---------
Signed-off-by: Tejas Shah <[email protected]>
(cherry picked from commit f322e27)
Co-authored-by: Tejas Shah <[email protected]>
* Clean JNI artifacts with ./gradlew clean (#2516)
* clean JNI artifacts with ./gradlew clean
Signed-off-by: Samuel Herman <[email protected]>
* nest release under build directory
Signed-off-by: Samuel Herman <[email protected]>
* adjust all references to the old release path
Signed-off-by: Samuel Herman <[email protected]>
* remove irrelevant paths from gitignore, add jni/build
Signed-off-by: Samuel Herman <[email protected]>
* fix logging on linux
Signed-off-by: Samuel Herman <[email protected]>
---------
Signed-off-by: Samuel Herman <[email protected]>
* Backport to main (#2520)
* Remove skip building graph check for quantization use case (#2430)
For quantization indices, we don't have to apply building graph check
since it is already faster, this is now only applied for fp32/16 indices
and where threshold is configured.
Signed-off-by: Vijayan Balasubramanian <[email protected]>
* Update default to 0 to always build graph as default behavior (#2452)
Signed-off-by: Balasubramanian <[email protected]>
* Update changelog
Signed-off-by: Balasubramanian <[email protected]>
---------
Signed-off-by: Vijayan Balasubramanian <[email protected]>
Signed-off-by: Balasubramanian <[email protected]>
* [Backport main] Add release notes for 2.19.0 (#2503)
* Add release notes for 2.19.0
Signed-off-by: Kunal Kotwani <[email protected]>
* Fix links for release notes
Co-authored-by: John Mazanec <[email protected]>
Signed-off-by: Kunal Kotwani <[email protected]>
---------
Signed-off-by: Kunal Kotwani <[email protected]>
Co-authored-by: John Mazanec <[email protected]>
* Fix main knnlib dir in build script based on #2442 (#2526)
Signed-off-by: Peter Zhu <[email protected]>
* Minor performance improvments in KNNQueryBuilder (#2528)
Signed-off-by: Tejas Shah <[email protected]>
* Initial implementation of control flow
Signed-off-by: Rohan Chitale <[email protected]>
---------
Signed-off-by: Samuel Herman <[email protected]>
Signed-off-by: Balasubramanian <[email protected]>
Signed-off-by: Vijayan Balasubramanian <[email protected]>
Signed-off-by: Kunal Kotwani <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Tejas Shah <[email protected]>
Signed-off-by: Rohan Chitale <[email protected]>
Co-authored-by: sam-herman <[email protected]>
Co-authored-by: Vijayan Balasubramanian <[email protected]>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
Co-authored-by: Peter Zhu <[email protected]>
Co-authored-by: Tejas Shah <[email protected]>
Co-authored-by: Kunal Kotwani <[email protected]>
Co-authored-by: John Mazanec <[email protected]>
- Add Support for Multi Values in innerHit for Nested k-NN Fields in Lucene and FAISS (#2283)[https://github.com/opensearch-project/k-NN/pull/2283]
21
-
- Add binary index support for Lucene engine. (#2292)[https://github.com/opensearch-project/k-NN/pull/2292]
22
-
- Add expand_nested_docs Parameter support to NMSLIB engine (#2331)[https://github.com/opensearch-project/k-NN/pull/2331]
23
-
- Add a new build mode, `FAISS_OPT_LEVEL=avx512_spr`, which enables the use of advanced AVX-512 instructions introduced with Intel(R) Sapphire Rapids (#2404)[https://github.com/opensearch-project/k-NN/pull/2404]
24
-
- Add cosine similarity support for faiss engine (#2376)[https://github.com/opensearch-project/k-NN/pull/2376]
25
-
- Add derived source feature for vector fields (#2449)[https://github.com/opensearch-project/k-NN/pull/2449]
26
21
### Enhancements
27
-
- Introduced a writing layer in native engines where relies on the writing interface to process IO. (#2241)[https://github.com/opensearch-project/k-NN/pull/2241]
28
-
- Allow method parameter override for training based indices (#2290) https://github.com/opensearch-project/k-NN/pull/2290]
29
-
- Optimizes lucene query execution to prevent unnecessary rewrites (#2305)[https://github.com/opensearch-project/k-NN/pull/2305]
30
-
- Add check to directly use ANN Search when filters match all docs. (#2320)[https://github.com/opensearch-project/k-NN/pull/2320]
31
-
- Use one formula to calculate cosine similarity (#2357)[https://github.com/opensearch-project/k-NN/pull/2357]
32
-
- Add WithFieldName implementation to KNNQueryBuilder (#2398)[https://github.com/opensearch-project/k-NN/pull/2398]
33
-
- Make the build work for M series MacOS without manual code changes and local JAVA_HOME config (#2397)[https://github.com/opensearch-project/k-NN/pull/2397]
34
-
- Enabled concurrent graph creation for Lucene engine with index thread qty settings(#2480)[https://github.com/opensearch-project/k-NN/pull/2480]
35
-
- Remove DocsWithFieldSet reference from NativeEngineFieldVectorsWriter (#2408)[https://github.com/opensearch-project/k-NN/pull/2408]
36
22
### Bug Fixes
37
-
* Fixing the bug when a segment has no vector field present for disk based vector search (#2282)[https://github.com/opensearch-project/k-NN/pull/2282]
38
-
* Fixing the bug where search fails with "fields" parameter for an index with a knn_vector field (#2314)[https://github.com/opensearch-project/k-NN/pull/2314]
39
-
* Fix for NPE while merging segments after all the vector fields docs are deleted (#2365)[https://github.com/opensearch-project/k-NN/pull/2365]
40
-
* Allow validation for non knn index only after 2.17.0 (#2315)[https://github.com/opensearch-project/k-NN/pull/2315]
41
-
* Fixing the bug to prevent updating the index.knn setting after index creation(#2348)[https://github.com/opensearch-project/k-NN/pull/2348]
42
-
* Release query vector memory after execution (#2346)[https://github.com/opensearch-project/k-NN/pull/2346]
43
-
* Fix shard level rescoring disabled setting flag (#2352)[https://github.com/opensearch-project/k-NN/pull/2352]
44
-
* Fix filter rewrite logic which was resulting in getting inconsistent / incorrect results for cases where filter was getting rewritten for shards (#2359)[https://github.com/opensearch-project/k-NN/pull/2359]
45
-
* Fixing it to retrieve space_type from index setting when both method and top level don't have the value. [#2374](https://github.com/opensearch-project/k-NN/pull/2374)
46
-
* Fixing the bug where setting rescore as false for on_disk knn_vector query is a no-op (#2399)[https://github.com/opensearch-project/k-NN/pull/2399]
47
-
* Fixing bug where mapping accepts both dimension and model-id (#2410)[https://github.com/opensearch-project/k-NN/pull/2410]
48
-
* Add version check for full field name validation (#2477)[https://github.com/opensearch-project/k-NN/pull/2477]
49
23
### Infrastructure
50
-
* Updated C++ version in JNI from c++11 to c++17 [#2259](https://github.com/opensearch-project/k-NN/pull/2259)
51
-
* Upgrade bytebuddy and objenesis version to match OpenSearch core and, update github ci runner for macos [#2279](https://github.com/opensearch-project/k-NN/pull/2279)
52
24
### Documentation
53
25
### Maintenance
54
-
* Select index settings based on cluster version[2236](https://github.com/opensearch-project/k-NN/pull/2236)
55
-
* Added periodic cache maintenance for QuantizationStateCache and NativeMemoryCache [#2308](https://github.com/opensearch-project/k-NN/pull/2308)
56
-
* Added null checks for fieldInfo in ExactSearcher to avoid NPE while running exact search for segments with no vector field (#2278)[https://github.com/opensearch-project/k-NN/pull/2278]
* Upgrade jsonpath from 2.8.0 to 2.9.0[2325](https://github.com/opensearch-project/k-NN/pull/2325)
59
-
* Bump Faiss commit from 1f42e81 to 0cbc2a8 to accelerate hamming distance calculation using _mm512_popcnt_epi64 intrinsic and also add avx512-fp16 instructions to boost performance [#2381](https://github.com/opensearch-project/k-NN/pull/2381)
60
26
* Enabled indices.breaker.total.use_real_memory setting via build.gradle for integTest Cluster to catch heap CB in local ITs and github CI actions [#2395](https://github.com/opensearch-project/k-NN/pull/2395/)
61
27
* Fixing Lucene912Codec Issue with BWC for Lucene 10.0.1 upgrade[#2429](https://github.com/opensearch-project/k-NN/pull/2429)
28
+
* Enabled idempotency of local builds when using `./gradlew clean` and nest `jni/release` directory under `jni/build` for easier cleanup [#2516](https://github.com/opensearch-project/k-NN/pull/2516)
0 commit comments