Files
qdrant/lib/segment
Eugene Tolbakov ef9e4e5971 Refactor: replace expect with ServiceError, remove repetive code (#2701)
* Refactor: replace expect with ServiceError, remove repetive code

* chore: remove unnecessary code

* chore: apply cr suggestions

* chore: apply clippy recommendations

* Improve constructing errors

* Improve test assertions

* fix: replace max_regions assertion with operation error

* fix: adjust according to CR

* chore: replace Option with OperationResult for estimate_cardinality

* chore: replace Option with OperationResult for filter

* Better handling of transforming none into an error

* Replace for loop with simple iterator, simply other iterator

---------

Co-authored-by: timvisee <tim@visee.me>
2023-09-25 15:10:45 +02:00
..