Commit Graph

608 Commits

Author SHA1 Message Date
George
9f9c500bf4 Merge branch 'dev' into drop-python3.9 2025-12-04 11:58:23 +07:00
George Panchuk
fb1591a47d new: adjust numpy versioning 2025-12-04 11:53:11 +07:00
George Panchuk
64da41deba fix: replace remaining union, optional, etc, address review comments 2025-12-04 11:49:15 +07:00
George
20cc45fb30 new: adjust numpy versioning (#1132) 2025-12-04 11:33:20 +07:00
George
458646cb95 tests: speed up tests (#1130)
* fix: do not try to check compatibility in test_client_init

* tests: remove sparse-code vectors (10_000 dim), remove euclid recommend methods as non-applicable for sparse

* tests: add payload indexes to query group test

* debug: add durations=0 to pytest

* debug: test only test query group

* debug: try adding payload indexes to query group test

* rollback test launch
2025-12-04 11:22:46 +07:00
George Panchuk
693d1e48a0 new: replace union with | in client classes 2025-12-02 12:37:40 +07:00
George Panchuk
05380b1527 new: remove optional and union from qdrant local 2025-12-02 12:30:47 +07:00
George Panchuk
baf2d0e303 new: replace optional and union with | 2025-12-02 12:08:55 +07:00
George Panchuk
1a75c218f1 new: update pyproject and lock 2025-12-02 11:53:47 +07:00
George
fc6ce2f587 Merge branch 'dev' into drop-python3.9 2025-12-02 11:51:15 +07:00
George
1de2ce2f23 bump to 1.16.2-dev 2025-11-25 17:48:36 +07:00
George
b5ccd9ff4e new: include pyi into the package (#1121) 2025-11-24 20:04:47 +07:00
George
fddf1185ae new: expose the remaining cluster methods (#1123)
* new: expose the remaining cluster methods

* fix: fix type hints

* new: add deadline info to the first hw

* fix: fix review comments
2025-11-24 20:02:44 +07:00
George
5284c02238 fix: fix local mode backward compatibility (#1124)
* fix: fix local mode backward compatibility

* chore: fix comment

* fix: fix fix
2025-11-24 19:43:17 +07:00
George
fbeb023543 fix: rename common.proto to qdrant_common.proto to avoid conflicts with other libraries (#1125) 2025-11-24 18:36:42 +07:00
George
9ce7346e05 new: convert cluster operations to grpc (#1116)
* new: convert cluster operations to grpc

* fix: rollback coverage html

* fix: address ai comments

* fix: address review comments
2025-11-20 13:38:17 +07:00
George Panchuk
94dded22e4 fix: update type hints from merge 2025-11-18 02:04:27 +07:00
George Panchuk
47b9a83580 Merge branch 'dev' into drop-python3.9 2025-11-18 01:54:26 +07:00
George Panchuk
6565f07098 fix: fix ai comments 2025-11-18 01:52:24 +07:00
George
717640f701 new: bump version to v1.16.1-dev (#1115) 2025-11-17 23:09:51 +07:00
George Panchuk
deb986a9fc fix: remove redundant optional 2025-11-17 17:43:41 +07:00
George
14f461b02b new: update grpc (#1113)
* new: update grpc

* fix: make common_pb2 available under grpc
2025-11-14 20:20:41 +01:00
George
f2e0e22a17 new: expose cluster operations (#1114)
* new: expose cluster operations

* fix: fix cluster collection update return result, add tests

* fix test

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-11-14 20:20:22 +01:00
George
ac5dca82a5 Merge branch 'dev' into drop-python3.9 2025-11-14 17:37:06 +07:00
George
27acfd0d75 new: remove vectors_count, update http and grpc models (#1069)
* new: remove vectors_count, update http and grpc models

* fix: update inspection cache

* new: add conversions and update interface

* fix: fix some conversions

* fix: fix typo

* fix: fix isinstance

* fix: regen async

* fix: fix update_filter usage, fix isinstance

* tests: collection metadata test

* fix: address backward compatibility in test

* new: update models, add max payload index count and copy vectors

* fix; update _inspection_cache

* new: add read consistency to count points

* Allow uuids in interface (#1085)

* new: direct uuid support

* tests: add uuid tests

* fix: update inspection cache

* new: add collection metadata and tests to local mode (#1089)

* new: add collection metadata and tests to local mode

* fix: regen async client

* new: implement parametrized rrf in local mode (#1087)

* new: implement parametrized rrf in local mode

* refactoring: use a variable for a magic value

* fix: adjust conversion according to AI

* Update filter (#1090)

* new: add missing update_filter, implement it in local mode

* fix: fix type hint, fix update operation, fix rest uploader, add tests

* fix: fix update filter is None case

* fix: mypy was not a good boy

* Text any filter (#1091)

* new: add match text any local mode

* tests: add match text any tests

* new: update models, remove init_from and locks (#1100)

* new: update models, remove init_from and locks

* deprecate: remove init from tests

* deprecate: remove lock tests

* new: convert ascii_folding

* fix: fix type stub

* new: convert acorn

* new: convert shard key with fallback

* new: update grpcio and grpcio tools in generator (#1106)

* new: update grpcio and grpcio tools in generator

* fix: bind grpcio and tools versions to 1.62.0 in generator

* Remove deprecated methods (#1103)

* deprecate: remove old api methods

* deprecate: remove type stub for removed methods

* deprecate: remove old api methods from test_qdrant_client

* deprecate: replace search with query points in test_in_memory

* deprecate: replace search methods in fastembed mixin with query points

* deprecate: replace old api methods in test async qdrant client

* deprecate: replace search with query points in test delete points

* deprecate: replace discover and context with query points in test_discovery

* deprecate: replace recommend_groups with query_points_groups in test_group_recommend

* deprecate: replace search_groups in test_group_search

* deprecate: replace recommend with query points in test_recommendation

* deprecate: replace search with query points in test search

* deprecate: replace context and discover with query points in test sparse discovery

* deprecate: replace search with query points in test sparse idf search

* deprecate: replace recommend with query points in test sparse recommend

* deprecate: replace search with query points in test sparse search

* deprecate: replace missing search request with query request in qdrant_fastembed

* deprecate: replace search with query points in test multivector search queries

* deprecate: replace upload records with upload points in test_updates

* deprecate: remove redundant structs (#1104)

* deprecate: remove redundant structs

* fix: do not use removed conversions in local mode

* fix: remove redundant conversions, simplify types.QueryRequest

* deprecate: replace old style grpc vector conversion to a new one (#1105)

* deprecate: replace old style grpc vector conversion to a new one

* fix: ignore union attr in conversion

* review fixes

---------

Co-authored-by: generall <andrey@vasnetsov.com>

---------

Co-authored-by: generall <andrey@vasnetsov.com>

---------

Co-authored-by: generall <andrey@vasnetsov.com>

* new: deprecate add, query, query_batch in fastembed mixin (#1102)

* new: deprecate add, query, query_batch in fastembed mixin

* 1.16 -> 1.17

---------

Co-authored-by: generall <andrey@vasnetsov.com>

---------

Co-authored-by: generall <andrey@vasnetsov.com>

* new: yet another update

* new: add initial_state to create shard key (#1109)

* chore: remove obsolete imports

* fix: add metadata parameter to recreate collection in local

* fix: fix metadata handling in local more

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-11-14 17:01:17 +07:00
George Panchuk
5c1682678d fix: fix missing type hints, regen async 2025-11-14 03:24:03 +07:00
George Panchuk
698db1d33f new: drop python3.9, replace union and optional with | where possible 2025-11-14 03:20:36 +07:00
George
2529d21185 new: add initial_state to create shard key (#1109) 2025-11-13 14:12:57 +01:00
George Panchuk
6b6e7cc811 new: yet another update 2025-11-11 21:22:54 +07:00
George
ff7f584d33 new: update models, remove init_from and locks (#1100)
* new: update models, remove init_from and locks

* deprecate: remove init from tests

* deprecate: remove lock tests

* new: convert ascii_folding

* fix: fix type stub

* new: convert acorn

* new: convert shard key with fallback

* new: update grpcio and grpcio tools in generator (#1106)

* new: update grpcio and grpcio tools in generator

* fix: bind grpcio and tools versions to 1.62.0 in generator

* Remove deprecated methods (#1103)

* deprecate: remove old api methods

* deprecate: remove type stub for removed methods

* deprecate: remove old api methods from test_qdrant_client

* deprecate: replace search with query points in test_in_memory

* deprecate: replace search methods in fastembed mixin with query points

* deprecate: replace old api methods in test async qdrant client

* deprecate: replace search with query points in test delete points

* deprecate: replace discover and context with query points in test_discovery

* deprecate: replace recommend_groups with query_points_groups in test_group_recommend

* deprecate: replace search_groups in test_group_search

* deprecate: replace recommend with query points in test_recommendation

* deprecate: replace search with query points in test search

* deprecate: replace context and discover with query points in test sparse discovery

* deprecate: replace search with query points in test sparse idf search

* deprecate: replace recommend with query points in test sparse recommend

* deprecate: replace search with query points in test sparse search

* deprecate: replace missing search request with query request in qdrant_fastembed

* deprecate: replace search with query points in test multivector search queries

* deprecate: replace upload records with upload points in test_updates

* deprecate: remove redundant structs (#1104)

* deprecate: remove redundant structs

* fix: do not use removed conversions in local mode

* fix: remove redundant conversions, simplify types.QueryRequest

* deprecate: replace old style grpc vector conversion to a new one (#1105)

* deprecate: replace old style grpc vector conversion to a new one

* fix: ignore union attr in conversion

* review fixes

---------

Co-authored-by: generall <andrey@vasnetsov.com>

---------

Co-authored-by: generall <andrey@vasnetsov.com>

---------

Co-authored-by: generall <andrey@vasnetsov.com>

* new: deprecate add, query, query_batch in fastembed mixin (#1102)

* new: deprecate add, query, query_batch in fastembed mixin

* 1.16 -> 1.17

---------

Co-authored-by: generall <andrey@vasnetsov.com>

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-11-11 21:17:08 +07:00
George
c1678f3ebd Text any filter (#1091)
* new: add match text any local mode

* tests: add match text any tests
2025-11-02 17:29:18 +07:00
George
cee3770f63 Update filter (#1090)
* new: add missing update_filter, implement it in local mode

* fix: fix type hint, fix update operation, fix rest uploader, add tests

* fix: fix update filter is None case

* fix: mypy was not a good boy
2025-10-31 18:07:29 +07:00
George
ce1d6fee13 new: implement parametrized rrf in local mode (#1087)
* new: implement parametrized rrf in local mode

* refactoring: use a variable for a magic value

* fix: adjust conversion according to AI
2025-10-31 18:07:05 +07:00
George
a0b5a11aba new: add collection metadata and tests to local mode (#1089)
* new: add collection metadata and tests to local mode

* fix: regen async client
2025-10-31 18:06:55 +07:00
George
c89f615b48 Allow uuids in interface (#1085)
* new: direct uuid support

* tests: add uuid tests

* fix: update inspection cache
2025-10-31 18:06:32 +07:00
George Panchuk
4a4d40ec7e new: add read consistency to count points 2025-10-29 16:39:07 +07:00
George Panchuk
f113fef32d fix; update _inspection_cache 2025-10-29 16:39:07 +07:00
George Panchuk
11fae12558 new: update models, add max payload index count and copy vectors 2025-10-29 16:39:07 +07:00
George Panchuk
3249d9432b fix: address backward compatibility in test 2025-10-29 16:39:07 +07:00
George Panchuk
921efc0379 tests: collection metadata test 2025-10-29 16:39:07 +07:00
George Panchuk
52d99853b7 fix: fix update_filter usage, fix isinstance 2025-10-29 16:39:07 +07:00
George Panchuk
39eead0dff fix: regen async 2025-10-29 16:39:07 +07:00
George Panchuk
b2436a6007 fix: fix isinstance 2025-10-29 16:39:07 +07:00
George Panchuk
ae40f2ccf1 fix: fix typo 2025-10-29 16:39:07 +07:00
George Panchuk
31f646b8cb fix: fix some conversions 2025-10-29 16:39:07 +07:00
George Panchuk
406318072d new: add conversions and update interface 2025-10-29 16:39:07 +07:00
George Panchuk
08592ddad6 fix: update inspection cache 2025-10-29 16:39:07 +07:00
George Panchuk
165476119d new: remove vectors_count, update http and grpc models 2025-10-29 16:39:07 +07:00
Ivan Daschinskiy
507984e9b4 Implement passing certificates creds to grpc channels (#1077)
* Implement passing certificates cres to grpc channels

* Refactor and fix AI reviewer suggestions

* Refactor and fix AI reviewer suggestions

* minor fix

* refactor: refactor options parsing a bit

* fix: fix options is None

* fix: fix warning id

---------

Co-authored-by: Дащинский Иван Андреевич <iadashchinskiy@sbertech.ru@WL-3e6f71e6.sbertech.local>
Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2025-10-29 16:37:11 +07:00
George
6b031b3262 fix: fix overriding prefetch limit in local mode (#1081)
* fix: fix overriding prefetch limit in local mode

* fix: replace recursion with a while loop in prefetch
2025-10-27 18:14:55 +07:00