nidx-binding 6.9.7.post701__tar.gz → 6.9.7.post704__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.9.7.post701 → nidx_binding-6.9.7.post704}/PKG-INFO +1 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/reader.rs +2 -2
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/tests/reader.rs +0 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/nodereader.proto +3 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/noderesources.proto +4 -4
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/nodewriter.proto +6 -10
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/pyproject.toml +1 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/tests/test_writer.rs +90 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/reader.rs +1 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/tests/common/mod.rs +0 -2
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/tests/test_search.rs +0 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/pyproject.toml +1 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/api/grpc.rs +0 -3
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/query_planner.rs +2 -2
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/search_sorting.rs +1 -5
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/vectorsets.rs +0 -1
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.config/nextest.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-0cfce9b29547f8f5bafa6e440f86103be7b8c4ad2fd92db9ac223f4efbe23d10.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-1a561eed00f3dbe868bf5030059793300209179dc8fb73e4b57a54b5e81262fe.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-1d3fca2682e25a01143da92285297f134a6a105a96f64d87e0db3abb219855e4.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-249b3b57c27a71baa823f1fe0f0bba9c9af36f61c28f731e58beea60ec48e687.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-263c8fce6db5b03bbd012fafdba6943cbee6ed7eb8976cdef4f5b01dde7ca6fd.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-2a5d92fb1638df830a4477a7cdf24e6db6b43034b7bbe74fdfb63e8afe2c4071.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-2b065a363f58caed60e3706603c1260dbf5a4c795604a5b68edda22eb07fec1b.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-3fc3cb39934683de8cd475ce1368c8373453eb1e01f81587d66b9d14b109ce6e.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-48f33b77b7c1633467b0b2efcaa1d3c207e7757e4f1d83b40d15e6ca365f7771.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-4ae09f2c08e2f324bee01bb8487a8f37678a1c5e9d327339235c50d4921a8949.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-4d7a76fa413c9ef0ce2a47ac7bb7e01d3e6a2aabded9487d21010a53efee8852.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-4fcbdd6657c7dc9b60b3a563dd41711b3dbcf72ce063427b7a01f8cddf34c244.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-577109ac00ccfbd38ecaccab94116f2f46a4caf5612afa372cded197123c1e08.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-5db25f97d8578d6d78f2f6bd4b72cc82a9b1b82805c6422d967ac63b20d99db4.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-5ec3233a3a23e926055056d46bdde17836a633066dbb5f349502648cd3ea9a60.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-66edb6ea424d8681927dcddb6bac5f1239175f4775d1f40417ba15054b0c6f19.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-6f9c6d201c1b5712efb68c363bffd3e0169c11f2a8f925e8cd4e8808599ff7b4.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-733c3ebacc86f444bf5e2dd79ade660c291e88a00fc09b722f6e2e191545874c.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-7a3bf27c330c468a596e8a297cf7d8b192e31e67ecc5177c1267f579e8e247c7.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-7a7e59e47b30b12237511fd3d7da2d17b0471ad2b006af48d6a6f587c779692b.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-7dcbb33312cc9f11ae3a6d73b1ace017a9f19a8bf8f10304fc57977c8efeadff.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-7efa7c0d747afc4b6aed0586ff846c27839c3213ff7ee9f30c89b0d0f17e60e3.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-8493140d788604d498a4e48da4158708572ccc9d60185290a00d549cc84533db.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-8493bb0059b013eaca42fd10cd7d04f0d06a8acaed379eff0d23f3229edde9ee.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-87996b3d6c7a2195438d7038015b06949102bce8c7b8cd8db1f83aaf23cbe489.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-8d33717587c6ee8f5fc339a80b1212a73d6c03e45856b1d55457fc8074709dd0.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-8f096d8171b89f9615d18f95d696dc9e4fb3674e103161a713cdc806f7a68506.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-917732a56ee04bf3a6e127319dda8225210869c82f9828d878162394dba4e078.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-9b67658569b343d8b4b61ae0a7dc721f367f2ba33c7b69b9e68bfd5c9bff5206.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-9c8062ea55d070afef68309e58fa987eb37fda44e1efbf68c8ba2af7846cc968.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-a06e1d9f6f95e4c4c2b98310ebddcc9d963cc033582bf2e945e8bf3a301b4247.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-a55265c9b07bd1399961a6f1e757201fd0eebe868ddaf96437111113d80fce92.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-a60ec2f66f1e7b84189e5b089f2087a29ff6a64326a3743dea935bbc58ee77fa.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-a891a37be5c2d7cce775c2dd33726b0318fd3839beab222a1b22bc6174604207.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-a945191bb4b3e37d6823ed3ad499339d007d69983105de8567777d9daf517b28.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-abe9f7832f2bd799ac44008da031e8d8ab52d4f5fbfc2a7e3974e8873bae55b2.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-aca588cca57a85e4d7fcc40c23cd87e57d53d11ca550d78e7e3d5e39e524fcd3.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-b02f8aafc00a7724510772ac41269e368c5bccf03ef7b4590e0ef6fd1a1bf64f.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-b742e17cabe2d64617e9aa64bafc782172f7a4f8023d1b54f952a0fb39f6b2b8.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-b94e349dbc0daec57f8f8f6e9e2dffb06100b1bb2b41d297c9f3b191da37a83d.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-bd9afa22994aba671dbf7b5f89b53c2ee02f53c0442a81265786a6d52d08512f.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-be60554eca98a5899efc6b49785cecd6444a6d39afed9e4a884ce2dbf162012c.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-bf49702b506c9a1650ece1f8e8d9f14834a902f8caefafe30ded55e2790f2188.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-bfcd21ed704cd305db5c17fcdec7d92aa4ac501913c9c9514d8ff92928c0c7e7.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-c3ab694650f49a75b146fb877a92e48c4f20f0d99f70f8ec859fbb763b01a1e5.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-c55542bb9fae544d87fae6f30e0fe8a9088d12075f4442ab4fe2fcd05e472234.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-cb29a6556d35ac630ee0aa885dd7341cf9573bd3efd216ff8a887b87686b03db.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-d0a1f341a89f5f14696b10baa72db9d95551c2b7e5fc67308fd52dc03dd98a92.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-d2ad0a0ca2649c9e4873cfcc1fc66d2d07cc45d0f65c560b06d7b5f592f4fa8a.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-d6cfe78eb635ba0b89ca4021a4dc8182d18ab5b197f30149cd28488eba4c1df5.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-d729b56dea00e49dcdba8cf0001e2811da27351eabe98212db3b589f18fc6f32.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-d9658bfd4e7170b41d03f2ddf2446d0bf54171c0d39d53bf20af2b8437f2ec48.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-dbba7b3d3289425bae711aedbf73fbc3699f857f86f84d95c3b556d05c5658b0.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-dcb96b649d6d63a58efd5d445453a4f3d7869a56ff714b69bedf3d616a0473ca.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-ebd876fbf5362a5900e75bc05f2f11c73c406ef7da4e95097fc6a1c3d1b8bc54.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-eef5cc6bce1cc14eba8f3e68971724ef181e88cffcedd74673615f2026b89a62.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-ef56d5fefc5774040d1ee397beadb475f6af02768c22f0e583c74062e2e821ce.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/.sqlx/query-fd97b359c7a7cdc573b2112efbafb9956ae71d8f875c38140cba1c04b7084b47.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/Cargo.lock +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/README.md +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/migrations/20241007163501_initial.sql +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/migrations/20241211120039_merge_job_priority.sql +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/migrations/20241211121159_basic_indexes.sql +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/migrations/20241212151105_check_segment_records.sql +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/migrations/20250110145554_in_flight_messages.sql +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_binding/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_binding/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/fuzzy_query.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/query_io.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/query_parser/fuzzy_parser.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/query_parser/keyword_parser.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/query_parser/stop_words.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/query_parser/tokenizer.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/query_parser.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/request_types.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/resource_indexer.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/schema.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/search_query.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/search_response.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/set_query.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/README.md +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/ar.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/az.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/bn.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/ca.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/ch.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/da.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/de.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/el.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/en.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/es.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/eu.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/extract.py +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/fi.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/fr.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/he.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/hu.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/id.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/it.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/kk.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/ne.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/nl.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/no.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/pt.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/ro.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/ru.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/sl.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/sv.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/tg.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/tr.json +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/tests/common/mod.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/build.py +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/build.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/nidx.proto +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_protos/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/graph_collector.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/graph_query_parser.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/io_maps.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/reader.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/resource_indexer.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/schema.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/src/top_unique_n.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/tests/common/mod.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/tests/test_graph_query_parser_search.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/tests/test_graph_search.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_tantivy/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_tantivy/src/index_reader.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_tantivy/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_tantivy/src/utils.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_tests/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_tests/src/graph.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_tests/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/prefilter.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/query_io.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/request_types.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/resource_indexer.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/schema.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/src/search_query.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/tests/test_deletions.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/tests/test_flow.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_text/tests/test_streaming.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_types/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_types/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_types/src/prefilter.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_types/src/query_language.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/Cargo.toml +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/config.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v1/node.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v1/store.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v1/trie.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v1/trie_ram.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v1.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v2/paragraph_store.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v2/quant_vector_store.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v2/vector_store.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store/v2.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_store.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/data_types.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/formula.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw/build.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw/disk/v1.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw/disk/v2.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw/disk.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw/params.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw/ram_hnsw.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw/search.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/hnsw.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/indexer.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/inverted_index/fst_index.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/inverted_index/map.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/inverted_index.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/multivector.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/query_io.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/request_types.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/searcher.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/segment/tests.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/segment.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/utils.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/vector_types/dense_f32.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/vector_types/mod.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/src/vector_types/rabitq.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/tests/common/mod.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/tests/test_basic_search.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/tests/test_hidden.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_vector/tests/test_maxsim.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/api/shards.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/api.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/control.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/errors.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/grpc_server.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/import_export.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/indexer.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/lib.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/main.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metadata/deletion.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metadata/index.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metadata/index_request.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metadata/merge_job.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metadata/segment.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metadata/shard.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metadata.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/metrics.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/scheduler/audit_task.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/scheduler/log_merge.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/scheduler/merge_task.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/scheduler/metrics_task.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/scheduler/purge_tasks.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/scheduler/vector_merge.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/scheduler.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/grpc.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/index_cache.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/query_language.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/shard_search.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/shard_selector.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/shard_suggest.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/streams.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher/sync.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/searcher.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/segment_store.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/settings.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/telemetry/duration_layer.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/telemetry/log_format.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/telemetry/middleware.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/telemetry.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/tool.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/utilization_tracker.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/src/worker.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/common/mod.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/common/services.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/date_range_search.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/mod.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/search_filtering.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/search_relations.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/searcher_cluster.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/security_search.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/shards.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/shards_api.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/suggest.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/synced_searcher.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/vector_normalization.rs +0 -0
- {nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/test_integration.rs +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nidx_binding
|
|
3
|
-
Version: 6.9.7.
|
|
3
|
+
Version: 6.9.7.post704
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -272,7 +272,7 @@ impl Searcher<'_> {
|
|
|
272
272
|
} else if self.facets.is_empty() {
|
|
273
273
|
// Only query no facets
|
|
274
274
|
let extra_result = self.results + 1;
|
|
275
|
-
match self.request.order
|
|
275
|
+
match self.request.order {
|
|
276
276
|
Some(order) => {
|
|
277
277
|
let sort_field = order.sort_by();
|
|
278
278
|
let custom_collector = self.custom_order_collector(order, extra_result);
|
|
@@ -312,7 +312,7 @@ impl Searcher<'_> {
|
|
|
312
312
|
} else {
|
|
313
313
|
let extra_result = self.results + 1;
|
|
314
314
|
|
|
315
|
-
match self.request.order
|
|
315
|
+
match self.request.order {
|
|
316
316
|
Some(order) => {
|
|
317
317
|
let sort_field = order.sort_by();
|
|
318
318
|
let custom_collector = self.custom_order_collector(order, extra_result);
|
|
@@ -24,6 +24,8 @@ message Faceted {
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
message OrderBy {
|
|
27
|
+
reserved 1;
|
|
28
|
+
|
|
27
29
|
enum OrderType {
|
|
28
30
|
DESC = 0;
|
|
29
31
|
ASC = 1;
|
|
@@ -32,7 +34,7 @@ message OrderBy {
|
|
|
32
34
|
CREATED = 0;
|
|
33
35
|
MODIFIED = 1;
|
|
34
36
|
}
|
|
35
|
-
|
|
37
|
+
|
|
36
38
|
OrderType type = 2;
|
|
37
39
|
OrderField sort_by = 3;
|
|
38
40
|
}
|
|
@@ -138,6 +138,8 @@ message IndexParagraphs {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
message Resource {
|
|
141
|
+
reserved 12, 13;
|
|
142
|
+
|
|
141
143
|
ResourceID resource = 1;
|
|
142
144
|
|
|
143
145
|
IndexMetadata metadata = 2;
|
|
@@ -179,9 +181,6 @@ message Resource {
|
|
|
179
181
|
|
|
180
182
|
string shard_id = 11;
|
|
181
183
|
|
|
182
|
-
map<string, utils.UserVectors> vectors = 12 [deprecated = true]; // vectorset is the key
|
|
183
|
-
map<string, utils.UserVectorsList> vectors_to_delete = 13 [deprecated = true]; // Vectorset prefix vector id
|
|
184
|
-
|
|
185
184
|
optional utils.Security security = 14;
|
|
186
185
|
|
|
187
186
|
// Boleans to indicate if the indexing needs to be done
|
|
@@ -190,8 +189,9 @@ message Resource {
|
|
|
190
189
|
}
|
|
191
190
|
|
|
192
191
|
message ShardMetadata {
|
|
192
|
+
reserved 2;
|
|
193
|
+
|
|
193
194
|
string kbid = 1;
|
|
194
|
-
utils.ReleaseChannel release_channel = 2;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
message StringList {
|
|
@@ -6,6 +6,8 @@ import public "nidx_protos/noderesources.proto";
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
message OpStatus {
|
|
9
|
+
reserved 3, 4, 5, 6;
|
|
10
|
+
|
|
9
11
|
enum Status {
|
|
10
12
|
OK = 0;
|
|
11
13
|
WARNING = 1;
|
|
@@ -13,11 +15,6 @@ message OpStatus {
|
|
|
13
15
|
}
|
|
14
16
|
Status status = 1;
|
|
15
17
|
string detail = 2;
|
|
16
|
-
|
|
17
|
-
uint64 field_count = 3 [deprecated = true];
|
|
18
|
-
uint64 paragraph_count = 5 [deprecated = true];
|
|
19
|
-
uint64 sentence_count = 6 [deprecated = true];
|
|
20
|
-
string shard_id = 4 [deprecated = true];
|
|
21
18
|
}
|
|
22
19
|
|
|
23
20
|
// Implemented at nucliadb_object_storage
|
|
@@ -57,10 +54,9 @@ message VectorIndexConfig {
|
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
message NewShardRequest {
|
|
60
|
-
reserved 4, 5;
|
|
61
|
-
|
|
57
|
+
reserved 1, 3, 4, 5;
|
|
58
|
+
|
|
62
59
|
string kbid = 2;
|
|
63
|
-
utils.ReleaseChannel release_channel = 3;
|
|
64
60
|
|
|
65
61
|
map<string, VectorIndexConfig> vectorsets_configs = 6;
|
|
66
62
|
bool prewarm_enabled = 7;
|
|
@@ -68,8 +64,8 @@ message NewShardRequest {
|
|
|
68
64
|
}
|
|
69
65
|
|
|
70
66
|
message NewVectorSetRequest {
|
|
67
|
+
reserved 2, 3;
|
|
68
|
+
|
|
71
69
|
noderesources.VectorSetID id = 1;
|
|
72
|
-
utils.VectorSimilarity similarity = 2 [deprecated = true];
|
|
73
|
-
bool normalize_vectors = 3 [deprecated = true];
|
|
74
70
|
VectorIndexConfig config = 4;
|
|
75
71
|
}
|
|
@@ -10,7 +10,7 @@ build-backend = "pdm.backend"
|
|
|
10
10
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "nidx_protos"
|
|
13
|
-
version = "6.9.7.
|
|
13
|
+
version = "6.9.7.post704"
|
|
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.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_relation/tests/test_writer.rs
RENAMED
|
@@ -27,6 +27,8 @@ use nidx_protos::{
|
|
|
27
27
|
use nidx_relation::{RelationConfig, RelationIndexer};
|
|
28
28
|
use tempfile::TempDir;
|
|
29
29
|
|
|
30
|
+
use crate::common::TestOpener;
|
|
31
|
+
|
|
30
32
|
#[test]
|
|
31
33
|
fn test_index_docs() -> anyhow::Result<()> {
|
|
32
34
|
let dir = TempDir::new().unwrap();
|
|
@@ -82,3 +84,91 @@ fn test_index_docs() -> anyhow::Result<()> {
|
|
|
82
84
|
|
|
83
85
|
Ok(())
|
|
84
86
|
}
|
|
87
|
+
|
|
88
|
+
#[test]
|
|
89
|
+
fn test_merge() -> anyhow::Result<()> {
|
|
90
|
+
let dir1 = TempDir::new().unwrap();
|
|
91
|
+
|
|
92
|
+
let resource = Resource {
|
|
93
|
+
resource: Some(ResourceId {
|
|
94
|
+
uuid: "01808bbd8e784552967a4fb0d8b6e584".to_string(),
|
|
95
|
+
shard_id: "shard_id".to_string(),
|
|
96
|
+
}),
|
|
97
|
+
field_relations: HashMap::from([(
|
|
98
|
+
"a/metadata".to_string(),
|
|
99
|
+
IndexRelations {
|
|
100
|
+
relations: vec![common::create_relation(
|
|
101
|
+
"01808bbd8e784552967a4fb0d8b6e584".to_string(),
|
|
102
|
+
NodeType::Resource,
|
|
103
|
+
"".to_string(),
|
|
104
|
+
"dog".to_string(),
|
|
105
|
+
NodeType::Entity,
|
|
106
|
+
"ANIMALS".to_string(),
|
|
107
|
+
RelationType::Entity,
|
|
108
|
+
"IS".to_string(),
|
|
109
|
+
)],
|
|
110
|
+
},
|
|
111
|
+
)]),
|
|
112
|
+
..Default::default()
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
let meta1 = RelationIndexer
|
|
116
|
+
.index_resource(dir1.path(), &RelationConfig::default(), &resource)?
|
|
117
|
+
.unwrap();
|
|
118
|
+
|
|
119
|
+
assert_eq!(meta1.records, 1);
|
|
120
|
+
|
|
121
|
+
let dir2 = TempDir::new().unwrap();
|
|
122
|
+
|
|
123
|
+
let resource = Resource {
|
|
124
|
+
resource: Some(ResourceId {
|
|
125
|
+
uuid: "81808bbd8e784552967a4fb0d8b6e584".to_string(),
|
|
126
|
+
shard_id: "shard_id".to_string(),
|
|
127
|
+
}),
|
|
128
|
+
field_relations: HashMap::from([(
|
|
129
|
+
"a/metadata".to_string(),
|
|
130
|
+
IndexRelations {
|
|
131
|
+
relations: vec![common::create_relation(
|
|
132
|
+
"81808bbd8e784552967a4fb0d8b6e584".to_string(),
|
|
133
|
+
NodeType::Resource,
|
|
134
|
+
"".to_string(),
|
|
135
|
+
"cat".to_string(),
|
|
136
|
+
NodeType::Entity,
|
|
137
|
+
"ANIMALS".to_string(),
|
|
138
|
+
RelationType::Entity,
|
|
139
|
+
"IS".to_string(),
|
|
140
|
+
)],
|
|
141
|
+
},
|
|
142
|
+
)]),
|
|
143
|
+
..Default::default()
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
let meta2 = RelationIndexer
|
|
147
|
+
.index_resource(dir2.path(), &RelationConfig::default(), &resource)?
|
|
148
|
+
.unwrap();
|
|
149
|
+
|
|
150
|
+
assert_eq!(meta2.records, 1);
|
|
151
|
+
|
|
152
|
+
let dir_merge = TempDir::new().unwrap();
|
|
153
|
+
let merged_meta = RelationIndexer.merge(
|
|
154
|
+
dir_merge.path(),
|
|
155
|
+
RelationConfig::default(),
|
|
156
|
+
TestOpener::new(vec![(meta1.clone(), 1u64.into()), (meta2.clone(), 2u64.into())], vec![]),
|
|
157
|
+
)?;
|
|
158
|
+
|
|
159
|
+
assert_eq!(merged_meta.records, 2);
|
|
160
|
+
|
|
161
|
+
let dir_merge2 = TempDir::new().unwrap();
|
|
162
|
+
let merged_meta2 = RelationIndexer.merge(
|
|
163
|
+
dir_merge2.path(),
|
|
164
|
+
RelationConfig::default(),
|
|
165
|
+
TestOpener::new(
|
|
166
|
+
vec![(meta1, 1u64.into()), (meta2, 2u64.into())],
|
|
167
|
+
vec![("01808bbd8e784552967a4fb0d8b6e584".to_string(), 3u64.into())],
|
|
168
|
+
),
|
|
169
|
+
)?;
|
|
170
|
+
|
|
171
|
+
assert_eq!(merged_meta2.records, 1);
|
|
172
|
+
|
|
173
|
+
Ok(())
|
|
174
|
+
}
|
|
@@ -413,7 +413,7 @@ impl TextReaderService {
|
|
|
413
413
|
// Offset to search from
|
|
414
414
|
let results = request.result_per_page as usize;
|
|
415
415
|
let extra_result = results + 1;
|
|
416
|
-
let maybe_order = request.order
|
|
416
|
+
let maybe_order = request.order;
|
|
417
417
|
let valid_facet_iter = request
|
|
418
418
|
.faceted
|
|
419
419
|
.iter()
|
|
@@ -110,8 +110,6 @@ pub fn create_resource(shard_id: String) -> Resource {
|
|
|
110
110
|
labels: vec![],
|
|
111
111
|
paragraphs: HashMap::new(),
|
|
112
112
|
paragraphs_to_delete: vec![],
|
|
113
|
-
vectors: HashMap::default(),
|
|
114
|
-
vectors_to_delete: HashMap::default(),
|
|
115
113
|
shard_id,
|
|
116
114
|
..Default::default()
|
|
117
115
|
}
|
|
@@ -13,7 +13,7 @@ classifiers = [
|
|
|
13
13
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
14
14
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
15
15
|
]
|
|
16
|
-
version = "6.9.7.
|
|
16
|
+
version = "6.9.7.post704"
|
|
17
17
|
|
|
18
18
|
[project.urls]
|
|
19
19
|
Homepage = "https://nuclia.com"
|
|
@@ -89,7 +89,6 @@ impl NidxApi for ApiServer {
|
|
|
89
89
|
Ok(Response::new(noderesources::Shard {
|
|
90
90
|
metadata: Some(ShardMetadata {
|
|
91
91
|
kbid: shard.kbid.to_string(),
|
|
92
|
-
release_channel: 0,
|
|
93
92
|
}),
|
|
94
93
|
shard_id: shard_id.to_string(),
|
|
95
94
|
fields: index_stats.get(&IndexKind::Text).map(|s| s.records).unwrap_or(0) as u64,
|
|
@@ -167,7 +166,6 @@ impl NidxApi for ApiServer {
|
|
|
167
166
|
Ok(Response::new(OpStatus {
|
|
168
167
|
status: op_status::Status::Ok.into(),
|
|
169
168
|
detail: "Vectorset successfully created".to_string(),
|
|
170
|
-
..Default::default()
|
|
171
169
|
}))
|
|
172
170
|
}
|
|
173
171
|
|
|
@@ -186,7 +184,6 @@ impl NidxApi for ApiServer {
|
|
|
186
184
|
Ok(Response::new(OpStatus {
|
|
187
185
|
status: op_status::Status::Ok.into(),
|
|
188
186
|
detail: "Vectorset successfully deleted".to_string(),
|
|
189
|
-
..Default::default()
|
|
190
187
|
}))
|
|
191
188
|
}
|
|
192
189
|
|
|
@@ -106,7 +106,7 @@ fn compute_paragraphs_request(search_request: &SearchRequest) -> anyhow::Result<
|
|
|
106
106
|
Ok(Some(ParagraphSearchRequest {
|
|
107
107
|
uuid: "".to_string(),
|
|
108
108
|
body: search_request.body.clone(),
|
|
109
|
-
order: search_request.order
|
|
109
|
+
order: search_request.order,
|
|
110
110
|
faceted: search_request.faceted.clone(),
|
|
111
111
|
result_per_page: search_request.result_per_page,
|
|
112
112
|
with_duplicates: search_request.with_duplicates,
|
|
@@ -130,7 +130,7 @@ fn compute_texts_request(search_request: &SearchRequest) -> Option<DocumentSearc
|
|
|
130
130
|
|
|
131
131
|
Some(DocumentSearchRequest {
|
|
132
132
|
body: search_request.body.clone(),
|
|
133
|
-
order: search_request.order
|
|
133
|
+
order: search_request.order,
|
|
134
134
|
faceted: search_request.faceted.clone(),
|
|
135
135
|
result_per_page: search_request.result_per_page,
|
|
136
136
|
only_faceted: search_request.only_faceted,
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/tests/integration/search_sorting.rs
RENAMED
|
@@ -108,7 +108,7 @@ async fn test_search_sorting(pool: PgPool) -> Result<(), Box<dyn std::error::Err
|
|
|
108
108
|
.searcher_client
|
|
109
109
|
.search(SearchRequest {
|
|
110
110
|
shard: shard_id.clone(),
|
|
111
|
-
order
|
|
111
|
+
order,
|
|
112
112
|
document: true,
|
|
113
113
|
vectorset: "english".to_string(),
|
|
114
114
|
result_per_page: page_size,
|
|
@@ -130,7 +130,6 @@ async fn test_search_sorting(pool: PgPool) -> Result<(), Box<dyn std::error::Err
|
|
|
130
130
|
let order = Some(nidx_protos::OrderBy {
|
|
131
131
|
sort_by: nidx_protos::order_by::OrderField::Created.into(),
|
|
132
132
|
r#type: nidx_protos::order_by::OrderType::Asc.into(),
|
|
133
|
-
..Default::default()
|
|
134
133
|
});
|
|
135
134
|
let fields = do_search(&mut fixture, shard_id.clone(), order, 5).await;
|
|
136
135
|
let mut sorted_fields = fields.clone();
|
|
@@ -144,7 +143,6 @@ async fn test_search_sorting(pool: PgPool) -> Result<(), Box<dyn std::error::Err
|
|
|
144
143
|
let order = Some(nidx_protos::OrderBy {
|
|
145
144
|
sort_by: nidx_protos::order_by::OrderField::Modified.into(),
|
|
146
145
|
r#type: nidx_protos::order_by::OrderType::Asc.into(),
|
|
147
|
-
..Default::default()
|
|
148
146
|
});
|
|
149
147
|
let fields = do_search(&mut fixture, shard_id.clone(), order, 5).await;
|
|
150
148
|
|
|
@@ -159,7 +157,6 @@ async fn test_search_sorting(pool: PgPool) -> Result<(), Box<dyn std::error::Err
|
|
|
159
157
|
let order = Some(nidx_protos::OrderBy {
|
|
160
158
|
sort_by: nidx_protos::order_by::OrderField::Created.into(),
|
|
161
159
|
r#type: nidx_protos::order_by::OrderType::Desc.into(),
|
|
162
|
-
..Default::default()
|
|
163
160
|
});
|
|
164
161
|
let fields = do_search(&mut fixture, shard_id.clone(), order, 5).await;
|
|
165
162
|
|
|
@@ -175,7 +172,6 @@ async fn test_search_sorting(pool: PgPool) -> Result<(), Box<dyn std::error::Err
|
|
|
175
172
|
let order = Some(nidx_protos::OrderBy {
|
|
176
173
|
sort_by: nidx_protos::order_by::OrderField::Modified.into(),
|
|
177
174
|
r#type: nidx_protos::order_by::OrderType::Desc.into(),
|
|
178
|
-
..Default::default()
|
|
179
175
|
});
|
|
180
176
|
let fields = do_search(&mut fixture, shard_id.clone(), order, 5).await;
|
|
181
177
|
|
|
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
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/migrations/20241007163501_initial.sql
RENAMED
|
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
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/query_parser.rs
RENAMED
|
File without changes
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/request_types.rs
RENAMED
|
File without changes
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/resource_indexer.rs
RENAMED
|
File without changes
|
|
File without changes
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/search_query.rs
RENAMED
|
File without changes
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/src/search_response.rs
RENAMED
|
File without changes
|
|
File without changes
|
{nidx_binding-6.9.7.post701 → nidx_binding-6.9.7.post704}/nidx_paragraph/stop_words/README.md
RENAMED
|
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
|