nidx-binding 6.8.1.post515__tar.gz → 6.8.1.post521__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/PKG-INFO +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/query_parser/tokenizer.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/pyproject.toml +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/graph_query_parser.rs +12 -12
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_tantivy/src/index_reader.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v1/node.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v1/store.rs +3 -3
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v1.rs +2 -2
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v2/paragraph_store.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v2/vector_store.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v2.rs +2 -2
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store.rs +2 -2
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/hnsw/disk_hnsw.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/hnsw/ram_hnsw.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/indexer.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/inverted_index.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/multivector.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/searcher.rs +2 -2
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/segment.rs +6 -6
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/pyproject.toml +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/control.rs +2 -3
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/indexer.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metadata.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/shard_selector.rs +4 -4
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/sync.rs +3 -4
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/telemetry/log_format.rs +9 -11
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/telemetry/middleware.rs +1 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_search_filtering.rs +1 -1
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.config/nextest.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-0cfce9b29547f8f5bafa6e440f86103be7b8c4ad2fd92db9ac223f4efbe23d10.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-1a561eed00f3dbe868bf5030059793300209179dc8fb73e4b57a54b5e81262fe.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-1d3fca2682e25a01143da92285297f134a6a105a96f64d87e0db3abb219855e4.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-249b3b57c27a71baa823f1fe0f0bba9c9af36f61c28f731e58beea60ec48e687.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-24cb6b683daa42d7125f862e25943ab4be7bf275cd8739f8da4859d701795e1a.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-263c8fce6db5b03bbd012fafdba6943cbee6ed7eb8976cdef4f5b01dde7ca6fd.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-2a5d92fb1638df830a4477a7cdf24e6db6b43034b7bbe74fdfb63e8afe2c4071.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-2b065a363f58caed60e3706603c1260dbf5a4c795604a5b68edda22eb07fec1b.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-3fc3cb39934683de8cd475ce1368c8373453eb1e01f81587d66b9d14b109ce6e.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-48f33b77b7c1633467b0b2efcaa1d3c207e7757e4f1d83b40d15e6ca365f7771.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-4ae09f2c08e2f324bee01bb8487a8f37678a1c5e9d327339235c50d4921a8949.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-4d7a76fa413c9ef0ce2a47ac7bb7e01d3e6a2aabded9487d21010a53efee8852.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-4fcbdd6657c7dc9b60b3a563dd41711b3dbcf72ce063427b7a01f8cddf34c244.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-577109ac00ccfbd38ecaccab94116f2f46a4caf5612afa372cded197123c1e08.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-5db25f97d8578d6d78f2f6bd4b72cc82a9b1b82805c6422d967ac63b20d99db4.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-5ec3233a3a23e926055056d46bdde17836a633066dbb5f349502648cd3ea9a60.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-66edb6ea424d8681927dcddb6bac5f1239175f4775d1f40417ba15054b0c6f19.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-6f9c6d201c1b5712efb68c363bffd3e0169c11f2a8f925e8cd4e8808599ff7b4.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-733c3ebacc86f444bf5e2dd79ade660c291e88a00fc09b722f6e2e191545874c.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-7a3bf27c330c468a596e8a297cf7d8b192e31e67ecc5177c1267f579e8e247c7.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-7a7e59e47b30b12237511fd3d7da2d17b0471ad2b006af48d6a6f587c779692b.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-7dcbb33312cc9f11ae3a6d73b1ace017a9f19a8bf8f10304fc57977c8efeadff.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-7efa7c0d747afc4b6aed0586ff846c27839c3213ff7ee9f30c89b0d0f17e60e3.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-8493140d788604d498a4e48da4158708572ccc9d60185290a00d549cc84533db.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-8493bb0059b013eaca42fd10cd7d04f0d06a8acaed379eff0d23f3229edde9ee.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-87996b3d6c7a2195438d7038015b06949102bce8c7b8cd8db1f83aaf23cbe489.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-8d33717587c6ee8f5fc339a80b1212a73d6c03e45856b1d55457fc8074709dd0.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-8f096d8171b89f9615d18f95d696dc9e4fb3674e103161a713cdc806f7a68506.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-917732a56ee04bf3a6e127319dda8225210869c82f9828d878162394dba4e078.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-95fe4ef93ee90733db1b67ed7987f80b5aac792f1590b979c68b418d1599eb98.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-9b67658569b343d8b4b61ae0a7dc721f367f2ba33c7b69b9e68bfd5c9bff5206.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-9c8062ea55d070afef68309e58fa987eb37fda44e1efbf68c8ba2af7846cc968.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-a06e1d9f6f95e4c4c2b98310ebddcc9d963cc033582bf2e945e8bf3a301b4247.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-a55265c9b07bd1399961a6f1e757201fd0eebe868ddaf96437111113d80fce92.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-a60ec2f66f1e7b84189e5b089f2087a29ff6a64326a3743dea935bbc58ee77fa.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-a891a37be5c2d7cce775c2dd33726b0318fd3839beab222a1b22bc6174604207.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-a945191bb4b3e37d6823ed3ad499339d007d69983105de8567777d9daf517b28.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-abe9f7832f2bd799ac44008da031e8d8ab52d4f5fbfc2a7e3974e8873bae55b2.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-aca588cca57a85e4d7fcc40c23cd87e57d53d11ca550d78e7e3d5e39e524fcd3.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-b02f8aafc00a7724510772ac41269e368c5bccf03ef7b4590e0ef6fd1a1bf64f.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-b742e17cabe2d64617e9aa64bafc782172f7a4f8023d1b54f952a0fb39f6b2b8.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-b94e349dbc0daec57f8f8f6e9e2dffb06100b1bb2b41d297c9f3b191da37a83d.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-bd9afa22994aba671dbf7b5f89b53c2ee02f53c0442a81265786a6d52d08512f.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-be60554eca98a5899efc6b49785cecd6444a6d39afed9e4a884ce2dbf162012c.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-bf49702b506c9a1650ece1f8e8d9f14834a902f8caefafe30ded55e2790f2188.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-bfcd21ed704cd305db5c17fcdec7d92aa4ac501913c9c9514d8ff92928c0c7e7.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-c3ab694650f49a75b146fb877a92e48c4f20f0d99f70f8ec859fbb763b01a1e5.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-c55542bb9fae544d87fae6f30e0fe8a9088d12075f4442ab4fe2fcd05e472234.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-cb29a6556d35ac630ee0aa885dd7341cf9573bd3efd216ff8a887b87686b03db.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-d0a1f341a89f5f14696b10baa72db9d95551c2b7e5fc67308fd52dc03dd98a92.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-d2ad0a0ca2649c9e4873cfcc1fc66d2d07cc45d0f65c560b06d7b5f592f4fa8a.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-d6cfe78eb635ba0b89ca4021a4dc8182d18ab5b197f30149cd28488eba4c1df5.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-d729b56dea00e49dcdba8cf0001e2811da27351eabe98212db3b589f18fc6f32.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-d9658bfd4e7170b41d03f2ddf2446d0bf54171c0d39d53bf20af2b8437f2ec48.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-dbba7b3d3289425bae711aedbf73fbc3699f857f86f84d95c3b556d05c5658b0.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-dcb96b649d6d63a58efd5d445453a4f3d7869a56ff714b69bedf3d616a0473ca.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-ebd876fbf5362a5900e75bc05f2f11c73c406ef7da4e95097fc6a1c3d1b8bc54.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-eef5cc6bce1cc14eba8f3e68971724ef181e88cffcedd74673615f2026b89a62.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/.sqlx/query-ef56d5fefc5774040d1ee397beadb475f6af02768c22f0e583c74062e2e821ce.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/Cargo.lock +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/README.md +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/migrations/20241007163501_initial.sql +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/migrations/20241211120039_merge_job_priority.sql +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/migrations/20241211121159_basic_indexes.sql +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/migrations/20241212151105_check_segment_records.sql +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/migrations/20250110145554_in_flight_messages.sql +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_binding/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_binding/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/fuzzy_query.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/query_io.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/query_parser/fuzzy_parser.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/query_parser/keyword_parser.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/query_parser/stop_words.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/query_parser.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/reader.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/request_types.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/resource_indexer.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/schema.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/search_query.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/search_response.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/src/set_query.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/README.md +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/ar.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/az.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/bn.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/ca.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/ch.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/da.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/de.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/el.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/en.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/es.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/eu.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/extract.py +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/fi.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/fr.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/he.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/hu.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/id.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/it.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/kk.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/ne.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/nl.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/no.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/pt.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/ro.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/ru.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/sl.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/sv.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/tg.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/stop_words/tr.json +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/tests/common/mod.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_paragraph/tests/reader.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/build.py +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/build.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/nidx.proto +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/nodereader.proto +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/noderesources.proto +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/nodewriter.proto +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_protos/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/graph_collector.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/io_maps.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/reader.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/resource_indexer.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/schema.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/top_unique_n.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/tests/common/mod.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/tests/test_graph_query_parser_search.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/tests/test_graph_search.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/tests/test_writer.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_tantivy/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_tantivy/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_tantivy/src/utils.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_tests/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_tests/src/graph.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_tests/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/prefilter.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/query_io.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/reader.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/request_types.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/resource_indexer.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/schema.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/src/search_query.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/tests/common/mod.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/tests/test_deletions.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/tests/test_flow.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/tests/test_search.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_text/tests/test_streaming.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_types/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_types/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_types/src/prefilter.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_types/src/query_language.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/Cargo.toml +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/config.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v1/trie.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v1/trie_ram.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_types.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/formula.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/hnsw/ops_hnsw.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/hnsw/params.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/hnsw.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/inverted_index/fst_index.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/inverted_index/map.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/query_io.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/request_types.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/segment/tests.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/utils.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/vector_types/dense_f32.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/vector_types/mod.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/tests/common/mod.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/tests/test_basic_search.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/tests/test_hidden.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/tests/test_maxsim.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/api/grpc.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/api/shards.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/api.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/errors.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/grpc_server.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/import_export.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/lib.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/main.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metadata/deletion.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metadata/index.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metadata/index_request.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metadata/merge_job.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metadata/segment.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metadata/shard.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/metrics.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/scheduler/audit_task.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/scheduler/log_merge.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/scheduler/merge_task.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/scheduler/metrics_task.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/scheduler/purge_tasks.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/scheduler/vector_merge.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/scheduler.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/grpc.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/index_cache.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/query_language.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/query_planner.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/shard_search.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/shard_suggest.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher/streams.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/searcher.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/segment_store.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/settings.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/telemetry/duration_layer.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/telemetry.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/tool.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/utilization_tracker.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/src/worker.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/common/mod.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/common/services.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_date_range_search.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_search_relations.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_search_sorting.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_searcher_cluster.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_security_search.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_shards.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_shards_api.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_suggest.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_synced_searcher.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_vector_normalization.rs +0 -0
- {nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/tests/test_vectorsets.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nidx_binding
|
|
3
|
-
Version: 6.8.1.
|
|
3
|
+
Version: 6.8.1.post521
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -72,7 +72,7 @@ pub fn tokenize_query_infallible(input: &str) -> Vec<Token<'_>> {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
fn nidx_grammar_tokenize(input: &str) -> IResult<&str, Vec<Token
|
|
75
|
+
fn nidx_grammar_tokenize(input: &str) -> IResult<&str, Vec<Token<'_>>, nom::error::Error<&str>> {
|
|
76
76
|
let is_literal_char = |c: char| -> bool {
|
|
77
77
|
c.is_alphanumeric()
|
|
78
78
|
|| (
|
|
@@ -10,7 +10,7 @@ build-backend = "pdm.backend"
|
|
|
10
10
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "nidx_protos"
|
|
13
|
-
version = "6.8.1.
|
|
13
|
+
version = "6.8.1.post521"
|
|
14
14
|
license = "AGPL-3.0-or-later"
|
|
15
15
|
description = "Protobuf definitions for nucliadb/nidx"
|
|
16
16
|
authors = [{ name = "Nuclia", email = "nucliadb@nuclia.com" }]
|
{nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_relation/src/graph_query_parser.rs
RENAMED
|
@@ -410,10 +410,10 @@ impl<'a> GraphQueryParser<'a> {
|
|
|
410
410
|
subqueries.push(self.has_node_type(node_type, fields.node_type));
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
-
if let Some(ref node_subtype) = node.node_subtype
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
413
|
+
if let Some(ref node_subtype) = node.node_subtype
|
|
414
|
+
&& !node_subtype.is_empty()
|
|
415
|
+
{
|
|
416
|
+
subqueries.push(self.has_node_subtype(node_subtype, fields.node_subtype));
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
subqueries
|
|
@@ -425,10 +425,10 @@ impl<'a> GraphQueryParser<'a> {
|
|
|
425
425
|
|
|
426
426
|
match expression {
|
|
427
427
|
Expression::Value(Relation { value, relation_type }) => {
|
|
428
|
-
if let Some(value) = value
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
428
|
+
if let Some(value) = value
|
|
429
|
+
&& !value.is_empty()
|
|
430
|
+
{
|
|
431
|
+
subqueries.push((Occur::Must, self.has_relation_label(value)));
|
|
432
432
|
};
|
|
433
433
|
|
|
434
434
|
relation_type.map(|relation_type| {
|
|
@@ -437,10 +437,10 @@ impl<'a> GraphQueryParser<'a> {
|
|
|
437
437
|
}
|
|
438
438
|
|
|
439
439
|
Expression::Not(Relation { value, relation_type }) => {
|
|
440
|
-
if let Some(value) = value
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
440
|
+
if let Some(value) = value
|
|
441
|
+
&& !value.is_empty()
|
|
442
|
+
{
|
|
443
|
+
subqueries.push((Occur::MustNot, self.has_relation_label(value)));
|
|
444
444
|
};
|
|
445
445
|
|
|
446
446
|
relation_type.map(|relation_type| {
|
|
@@ -52,7 +52,7 @@ pub fn open_index_with_deletions(
|
|
|
52
52
|
for segment in index.searchable_segments()? {
|
|
53
53
|
let segment_deletions = open_index
|
|
54
54
|
.deletions()
|
|
55
|
-
.filter(|&(_, del_seq)|
|
|
55
|
+
.filter(|&(_, del_seq)| Seq::from(segment.meta().delete_opstamp().unwrap() as i64) < del_seq)
|
|
56
56
|
.map(|(key, _)| key);
|
|
57
57
|
let segment_reader = SegmentReader::open(&segment)?;
|
|
58
58
|
let mut bitset = BitSet::with_max_value_and_full(segment.meta().max_doc());
|
{nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v1/node.rs
RENAMED
|
@@ -87,7 +87,7 @@ impl<'a> Node<'a> {
|
|
|
87
87
|
|
|
88
88
|
// Pointer computations
|
|
89
89
|
let vector_start = HEADER_LEN + metadata_len;
|
|
90
|
-
let vector_pad = if vector_start
|
|
90
|
+
let vector_pad = if !vector_start.is_multiple_of(alignment) {
|
|
91
91
|
alignment - (vector_start % alignment)
|
|
92
92
|
} else {
|
|
93
93
|
0
|
{nidx_binding-6.8.1.post515 → nidx_binding-6.8.1.post521}/nidx_vector/src/data_store/v1/store.rs
RENAMED
|
@@ -71,7 +71,7 @@ pub fn stored_elements(x: &[u8]) -> usize {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// O(1)
|
|
74
|
-
pub fn get_value(src: &[u8], id: usize) -> Node {
|
|
74
|
+
pub fn get_value(src: &[u8], id: usize) -> Node<'_> {
|
|
75
75
|
let pointer = get_pointer(src, id);
|
|
76
76
|
Node::new(&src[pointer..])
|
|
77
77
|
}
|
|
@@ -128,7 +128,7 @@ pub fn create_key_value<D: IntoBuffer>(
|
|
|
128
128
|
for slot in slots {
|
|
129
129
|
// slot serialization
|
|
130
130
|
let mut slot_address = recipient_buffer.seek(SeekFrom::End(0))?;
|
|
131
|
-
if slot_address as usize
|
|
131
|
+
if !(slot_address as usize).is_multiple_of(alignment) {
|
|
132
132
|
let pad = alignment - (slot_address as usize % alignment);
|
|
133
133
|
recipient_buffer.seek(SeekFrom::Current(pad as i64))?;
|
|
134
134
|
slot_address += pad as u64;
|
|
@@ -185,7 +185,7 @@ pub fn merge(
|
|
|
185
185
|
// Moving to the end of the file to write the current element.
|
|
186
186
|
let exact_element = Node::new(element_slice);
|
|
187
187
|
let mut element_pointer = recipient_buffer.seek(SeekFrom::End(0))?;
|
|
188
|
-
if element_pointer as usize
|
|
188
|
+
if !(element_pointer as usize).is_multiple_of(alignment) {
|
|
189
189
|
let pad = alignment - (element_pointer as usize % alignment);
|
|
190
190
|
recipient_buffer.seek(SeekFrom::Current(pad as i64))?;
|
|
191
191
|
element_pointer += pad as u64;
|
|
@@ -54,7 +54,7 @@ impl DataStore for DataStoreV1 {
|
|
|
54
54
|
self.stored_paragraph_count()
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
fn get_vector(&self, VectorAddr(id): VectorAddr) -> VectorRef {
|
|
57
|
+
fn get_vector(&self, VectorAddr(id): VectorAddr) -> VectorRef<'_> {
|
|
58
58
|
VectorRef {
|
|
59
59
|
vector: store::get_value(&self.nodes, id as usize).vector(),
|
|
60
60
|
paragraph_addr: ParagraphAddr(id),
|
|
@@ -68,7 +68,7 @@ impl DataStore for DataStoreV1 {
|
|
|
68
68
|
self
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
fn get_paragraph(&self, ParagraphAddr(id): ParagraphAddr) -> ParagraphRef {
|
|
71
|
+
fn get_paragraph(&self, ParagraphAddr(id): ParagraphAddr) -> ParagraphRef<'_> {
|
|
72
72
|
ParagraphRef::V1(store::get_value(&self.nodes, id as usize))
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -94,7 +94,7 @@ impl ParagraphStore {
|
|
|
94
94
|
Ok(Self { pos, data })
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
pub fn get_paragraph(&self, ParagraphAddr(addr): ParagraphAddr) -> ParagraphRef {
|
|
97
|
+
pub fn get_paragraph(&self, ParagraphAddr(addr): ParagraphAddr) -> ParagraphRef<'_> {
|
|
98
98
|
let start_bytes = &self.pos[addr as usize * U32_LEN..addr as usize * U32_LEN + U32_LEN];
|
|
99
99
|
let start = u32::from_le_bytes(start_bytes.try_into().unwrap()) as usize;
|
|
100
100
|
let (paragraph, _) =
|
|
@@ -73,7 +73,7 @@ impl VectorStore {
|
|
|
73
73
|
})
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
pub fn get_vector(&self, addr: VectorAddr) -> VectorRef {
|
|
76
|
+
pub fn get_vector(&self, addr: VectorAddr) -> VectorRef<'_> {
|
|
77
77
|
let start = self.record_start(addr);
|
|
78
78
|
let vector = &self.data[start..start + self.vector_len_bytes];
|
|
79
79
|
let paragraph_bytes = &self.data[start + self.vector_len_bytes..start + self.vector_len_bytes + U32_LEN];
|
|
@@ -99,11 +99,11 @@ impl DataStore for DataStoreV2 {
|
|
|
99
99
|
self.vectors.stored_elements()
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
fn get_paragraph(&self, id: ParagraphAddr) -> super::ParagraphRef {
|
|
102
|
+
fn get_paragraph(&self, id: ParagraphAddr) -> super::ParagraphRef<'_> {
|
|
103
103
|
self.paragraphs.get_paragraph(id)
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
fn get_vector(&self, id: VectorAddr) -> super::VectorRef {
|
|
106
|
+
fn get_vector(&self, id: VectorAddr) -> super::VectorRef<'_> {
|
|
107
107
|
self.vectors.get_vector(id)
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -92,8 +92,8 @@ pub trait DataStore: Sync + Send {
|
|
|
92
92
|
fn size_bytes(&self) -> usize;
|
|
93
93
|
fn stored_paragraph_count(&self) -> u32;
|
|
94
94
|
fn stored_vector_count(&self) -> u32;
|
|
95
|
-
fn get_paragraph(&self, id: ParagraphAddr) -> ParagraphRef
|
|
96
|
-
fn get_vector(&self, id: VectorAddr) -> VectorRef
|
|
95
|
+
fn get_paragraph(&self, id: ParagraphAddr) -> ParagraphRef<'_>;
|
|
96
|
+
fn get_vector(&self, id: VectorAddr) -> VectorRef<'_>;
|
|
97
97
|
fn will_need(&self, id: VectorAddr);
|
|
98
98
|
fn as_any(&self) -> &dyn Any;
|
|
99
99
|
}
|
|
@@ -143,7 +143,7 @@ impl DiskHnsw {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
// node must be serialized using DiskNode, may have trailing bytes at the start.
|
|
146
|
-
fn get_out_edges(node: &[u8], layer: usize) -> EdgeIter {
|
|
146
|
+
fn get_out_edges(node: &[u8], layer: usize) -> EdgeIter<'_> {
|
|
147
147
|
// layer + 1 since the layers are stored in reverse order.
|
|
148
148
|
// [l3, l2, l1, l0, end] Since we have the position of end, the layer i is
|
|
149
149
|
// i + 1 positions to its left.
|
|
@@ -66,7 +66,7 @@ impl<'a> ResourceWrapper<'a> {
|
|
|
66
66
|
&self.resource.labels
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
pub fn fields(&self) -> impl Iterator<Item = (&String, impl Iterator<Item = ParagraphVectors
|
|
69
|
+
pub fn fields(&self) -> impl Iterator<Item = (&String, impl Iterator<Item = ParagraphVectors<'_>>)> {
|
|
70
70
|
self.resource.paragraphs.iter().map(|(field_id, paragraphs_wrapper)| {
|
|
71
71
|
let sentences_iterator = paragraphs_wrapper
|
|
72
72
|
.paragraphs
|
|
@@ -90,7 +90,7 @@ fn field_id_key(paragraph_key: &str) -> Option<Vec<u8>> {
|
|
|
90
90
|
|
|
91
91
|
/// The key for the labels, ending with a separator to allow for easy prefix search
|
|
92
92
|
fn labels_key(label: &str) -> Vec<u8> {
|
|
93
|
-
[label[1..]
|
|
93
|
+
[&label.as_bytes()[1..], "/".as_bytes()].concat()
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/// Helper to build indexes when the input is not sorted by key
|
|
@@ -21,7 +21,7 @@ use crate::{VectorErr, VectorR, config::VectorType};
|
|
|
21
21
|
|
|
22
22
|
pub fn extract_multi_vectors(vector: &[f32], vector_type: &VectorType) -> VectorR<Vec<Vec<f32>>> {
|
|
23
23
|
let dimension = vector_type.dimension();
|
|
24
|
-
if vector.len()
|
|
24
|
+
if !vector.len().is_multiple_of(dimension) {
|
|
25
25
|
return Err(VectorErr::InconsistentDimensions {
|
|
26
26
|
index_config: dimension,
|
|
27
27
|
vector: vector.len(),
|
|
@@ -236,7 +236,7 @@ impl Searcher {
|
|
|
236
236
|
&self,
|
|
237
237
|
request: &SearchRequest,
|
|
238
238
|
segment_filter: &Option<BooleanExpression<String>>,
|
|
239
|
-
) -> VectorR<Vec<ScoredParagraph
|
|
239
|
+
) -> VectorR<Vec<ScoredParagraph<'_>>> {
|
|
240
240
|
let normalized_query;
|
|
241
241
|
let query = if self.config.normalize_vectors {
|
|
242
242
|
normalized_query = utils::normalize_vector(request.get_query());
|
|
@@ -342,7 +342,7 @@ impl Searcher {
|
|
|
342
342
|
})
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
-
fn search_multi_vector(&self, search: &SearchRequest) -> VectorR<Vec<ScoredParagraph
|
|
345
|
+
fn search_multi_vector(&self, search: &SearchRequest) -> VectorR<Vec<ScoredParagraph<'_>>> {
|
|
346
346
|
let search_vectors = extract_multi_vectors(&search.request.vector, &self.config.vector_type)?;
|
|
347
347
|
let encoded_query = search_vectors
|
|
348
348
|
.iter()
|
|
@@ -396,7 +396,7 @@ pub struct ScoredVector<'a> {
|
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
impl ScoredVector<'_> {
|
|
399
|
-
fn new(addr: VectorAddr, data_store: &dyn DataStore, score: f32) -> ScoredVector {
|
|
399
|
+
fn new(addr: VectorAddr, data_store: &dyn DataStore, score: f32) -> ScoredVector<'_> {
|
|
400
400
|
let node = data_store.get_vector(addr);
|
|
401
401
|
ScoredVector { score, vector: node }
|
|
402
402
|
}
|
|
@@ -450,11 +450,11 @@ impl OpenSegment {
|
|
|
450
450
|
self.data_store.size_bytes() + self.index.len() + self.inverted_indexes.space_usage()
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
pub fn get_paragraph(&self, id: ParagraphAddr) -> ParagraphRef {
|
|
453
|
+
pub fn get_paragraph(&self, id: ParagraphAddr) -> ParagraphRef<'_> {
|
|
454
454
|
self.data_store.get_paragraph(id)
|
|
455
455
|
}
|
|
456
456
|
|
|
457
|
-
pub fn get_vector(&self, id: VectorAddr) -> VectorRef {
|
|
457
|
+
pub fn get_vector(&self, id: VectorAddr) -> VectorRef<'_> {
|
|
458
458
|
self.data_store.get_vector(id)
|
|
459
459
|
}
|
|
460
460
|
|
|
@@ -466,7 +466,7 @@ impl OpenSegment {
|
|
|
466
466
|
results: usize,
|
|
467
467
|
config: &VectorConfig,
|
|
468
468
|
min_score: f32,
|
|
469
|
-
) -> Box<dyn Iterator<Item = ScoredVector
|
|
469
|
+
) -> Box<dyn Iterator<Item = ScoredVector<'_>> + '_> {
|
|
470
470
|
if let Some(v1) = self.data_store.as_any().downcast_ref::<DataStoreV1>() {
|
|
471
471
|
self._search(v1, query, filter, with_duplicates, results, config, min_score)
|
|
472
472
|
} else if let Some(v2) = self.data_store.as_any().downcast_ref::<DataStoreV2>() {
|
|
@@ -486,7 +486,7 @@ impl OpenSegment {
|
|
|
486
486
|
results: usize,
|
|
487
487
|
config: &VectorConfig,
|
|
488
488
|
min_score: f32,
|
|
489
|
-
) -> Box<dyn Iterator<Item = ScoredVector
|
|
489
|
+
) -> Box<dyn Iterator<Item = ScoredVector<'_>> + '_> {
|
|
490
490
|
let encoded_query = config.vector_type.encode(query);
|
|
491
491
|
let retriever = Retriever::new(&encoded_query, data_store, config, min_score);
|
|
492
492
|
let query_address = VectorAddr(self.metadata.records as u32);
|
|
@@ -537,7 +537,7 @@ impl OpenSegment {
|
|
|
537
537
|
Box::new(
|
|
538
538
|
neighbours
|
|
539
539
|
.into_iter()
|
|
540
|
-
.map(|(address, dist)|
|
|
540
|
+
.map(|(address, dist)| ScoredVector::new(address, self.data_store.as_ref(), dist))
|
|
541
541
|
.take(results),
|
|
542
542
|
)
|
|
543
543
|
}
|
|
@@ -13,7 +13,7 @@ classifiers = [
|
|
|
13
13
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
14
14
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
15
15
|
]
|
|
16
|
-
version = "6.8.1.
|
|
16
|
+
version = "6.8.1.post521"
|
|
17
17
|
|
|
18
18
|
[project.urls]
|
|
19
19
|
Homepage = "https://nuclia.com"
|
|
@@ -173,10 +173,9 @@ pub fn control_client(settings: &EnvSettings, request: ControlRequest) -> anyhow
|
|
|
173
173
|
nats_connected,
|
|
174
174
|
..
|
|
175
175
|
} = response
|
|
176
|
+
&& !(alive.all_ok() && searcher_initally_synced.unwrap_or(true) && nats_connected.unwrap_or(true))
|
|
176
177
|
{
|
|
177
|
-
|
|
178
|
-
return Err(anyhow!("Not ready"));
|
|
179
|
-
}
|
|
178
|
+
return Err(anyhow!("Not ready"));
|
|
180
179
|
}
|
|
181
180
|
|
|
182
181
|
Ok(())
|
|
@@ -279,7 +279,7 @@ pub async fn delete_resource(meta: &NidxMetadata, shard_id: &str, resource: Stri
|
|
|
279
279
|
|
|
280
280
|
let mut tx = meta.transaction().await?;
|
|
281
281
|
for index in indexes {
|
|
282
|
-
Deletion::create(&mut *tx, index.id, seq, &
|
|
282
|
+
Deletion::create(&mut *tx, index.id, seq, std::slice::from_ref(&resource)).await?;
|
|
283
283
|
Index::updated(&mut *tx, &index.id).await?;
|
|
284
284
|
}
|
|
285
285
|
tx.commit().await?;
|
|
@@ -64,7 +64,7 @@ impl NidxMetadata {
|
|
|
64
64
|
Ok(NidxMetadata { pool })
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
pub async fn transaction(&self) -> sqlx::Result<sqlx::Transaction<sqlx::Postgres>> {
|
|
67
|
+
pub async fn transaction(&self) -> sqlx::Result<sqlx::Transaction<'_, sqlx::Postgres>> {
|
|
68
68
|
self.pool.begin().await
|
|
69
69
|
}
|
|
70
70
|
|
|
@@ -129,10 +129,10 @@ impl KubernetesCluster {
|
|
|
129
129
|
return false;
|
|
130
130
|
}
|
|
131
131
|
// Any condition exists and says it's not ready
|
|
132
|
-
if let Some(conds) = &p.status.as_ref().unwrap().conditions
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
132
|
+
if let Some(conds) = &p.status.as_ref().unwrap().conditions
|
|
133
|
+
&& conds.iter().any(|c| c.type_ == "Ready" && c.status == "False")
|
|
134
|
+
{
|
|
135
|
+
return false;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
true
|
|
@@ -190,11 +190,10 @@ pub async fn run_sync(
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
// We do not marked as synced until initial sync has fully finished without error
|
|
193
|
-
if !initial_sync
|
|
194
|
-
|
|
193
|
+
if !initial_sync
|
|
194
|
+
&& let Some(ref sync_status) = sync_status {
|
|
195
195
|
let _ = sync_status.send(SyncStatus::Synced);
|
|
196
196
|
}
|
|
197
|
-
}
|
|
198
197
|
|
|
199
198
|
// If we didn't sync anything, wait for a bit
|
|
200
199
|
if no_updates {
|
|
@@ -588,7 +587,7 @@ impl GuardedIndexMetadata {
|
|
|
588
587
|
Self { guard, index_id }
|
|
589
588
|
}
|
|
590
589
|
|
|
591
|
-
pub async fn get(&self) -> Option<RwLockReadGuard<IndexMetadata>> {
|
|
590
|
+
pub async fn get(&self) -> Option<RwLockReadGuard<'_, IndexMetadata>> {
|
|
592
591
|
let m = self.guard.get(&self.index_id)?;
|
|
593
592
|
Some(m.read().await)
|
|
594
593
|
}
|
|
@@ -98,14 +98,14 @@ where
|
|
|
98
98
|
.parent()
|
|
99
99
|
.and_then(|id| ctx.span(id))
|
|
100
100
|
.or_else(|| ctx.lookup_current());
|
|
101
|
-
if let Some(span) = span
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
101
|
+
if let Some(span) = span
|
|
102
|
+
&& let Some(otel_data) = span.extensions().get::<OtelData>()
|
|
103
|
+
{
|
|
104
|
+
let trace_id = match otel_data.builder.trace_id {
|
|
105
|
+
Some(trace_id) => trace_id,
|
|
106
|
+
None => otel_data.parent_cx.span().span_context().trace_id(),
|
|
107
|
+
};
|
|
108
|
+
serializer.serialize_entry("trace_id", &trace_id.to_string())?;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
serializer.end()
|
|
@@ -130,9 +130,7 @@ impl std::io::Write for WriteAdaptor<'_> {
|
|
|
130
130
|
fn write(&mut self, buf: &[u8]) -> std::io::Result<usize> {
|
|
131
131
|
let s = std::str::from_utf8(buf).map_err(|e| std::io::Error::new(std::io::ErrorKind::InvalidData, e))?;
|
|
132
132
|
|
|
133
|
-
self.fmt_write
|
|
134
|
-
.write_str(s)
|
|
135
|
-
.map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))?;
|
|
133
|
+
self.fmt_write.write_str(s).map_err(std::io::Error::other)?;
|
|
136
134
|
|
|
137
135
|
Ok(s.len())
|
|
138
136
|
}
|
|
@@ -115,6 +115,7 @@ impl Extractor for HeaderMapWrapper<'_> {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
+
#[allow(clippy::result_large_err)]
|
|
118
119
|
pub fn add_telemetry_headers(mut req: tonic::Request<()>) -> tonic::Result<tonic::Request<()>> {
|
|
119
120
|
opentelemetry::global::get_text_map_propagator(|propagator| {
|
|
120
121
|
propagator.inject(&mut MetadataMapWrapper {
|
|
@@ -205,7 +205,7 @@ fn build_resource_with_field(shard_id: String, field_id: String) -> noderesource
|
|
|
205
205
|
nanos: 0,
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
let label = field_id.split('/').
|
|
208
|
+
let label = field_id.split('/').next_back().unwrap();
|
|
209
209
|
let mut texts = HashMap::new();
|
|
210
210
|
texts.insert(
|
|
211
211
|
field_id.clone(),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|