mirror of
https://github.com/qdrant/qdrant.git
synced 2026-08-01 07:30:54 -05:00
* first PR implementation (#2865) - fetch offset id - restructure tests - only let order_by with numeric - introduce order_by interface cargo fmt update openapi calculate range to fetch using offset + limit, do some cleanup enable index validation, fix test Fix pagination add e2e tests make test a little more strict select numeric index on read_ordered_filtered add filtering test 🫨 fix filtering on order-by fix pip requirements add grpc interface, make read_ordered_filtered fallible fmt small optimization of `with_payload` and `with_vector` refactor common logic of point_ops and local_shard_operations Make filtering test harder and fix limit for worst case update openapi small clarity refactor avoid extra allocation when sorting with offset stream from numeric index btree instead of calculating range use payload to store order-by value, instead of modifying Record interface various fixes: - fix ordering at collection level, when merging shard results - fix offset at segment level, to take into account also value offset - make rust tests pass remove unused histogram changes fix error messages and make has_range_index exhaustive remove unused From impl Move OrderBy and Direction to segment::data_types::order_by Refactor normal scroll_by in local_shard_operations.rs More cleanup + rename OrderableRead to StreamWithValue empty commit optimization for merging results from shards and segments fix case of multi-valued fields fix IntegerIndexParams name after rebase precompute offset key use extracted `read_by_id_stream` Expose value_offset to user - rename offset -> value_offset - extract offset value fetching logic * remove offset functionality when using order_by * include order_by in ForwardProxyShard * extra nits * remove histogram changes * more nits * self review * resolve conflicts after rebase, not enable order-by with datetime index schema * make grpc start_from value extendable * gen grpc docs --------- Co-authored-by: kwkr <kawka.maciej.93@gmail.com> Co-authored-by: generall <andrey@vasnetsov.com>