Luis Cossío ce3a108312 Lookup: expose feature to REST and gRPC interfaces (#2011)
* rename `Lookup` -> `RetrievedLookup`

* feat: expose lookup in groups

- make `with_vectors` and `with_payload` optional
- include in grpc
- move GroupId to inside of PointGroup message
- include `WithLookup` inside of `GroupRequest`, doesn't make sense to keep them separated

* chore: remove allow(dead_code) from builder

* feat: introduce `WithLookupInterface` to allow specifying only the name of the lookup collection

* fix: WithLookupInterface with collection name only brings all payload and vectors

* fix: update grpc docs

* add tests and set better defaults

* remove `RetrievedLookup` from proto

* short-circuit `fill_search_result_with_payload` when it's not needed

* cargo fmt

* proto: revert putting `GroupId` inside `PointGroup`

* update grpc docs

* Remove WithLookupInterface sugar from grpc

- set with_vectors of lookup default to false
- set with_payload of lookup default to true

* update integration tests

* use singular lookup

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2023-06-19 15:18:19 +02:00
..
2022-02-03 11:35:26 +01:00
2022-02-16 11:35:37 +01:00
2022-03-03 23:58:13 +01:00
2022-06-08 12:47:10 +02:00
2022-06-16 15:30:46 +02:00
2022-06-24 13:14:48 +02:00
2022-06-28 11:51:29 +02:00
2022-07-05 11:13:03 +02:00
2022-07-25 20:05:07 +02:00
2022-07-26 19:28:53 +02:00
2022-08-08 11:13:54 +02:00
2022-08-10 21:15:40 +02:00
2022-09-19 10:05:57 +02:00
2022-09-19 15:31:35 +02:00
2022-09-30 11:08:16 +02:00
2022-10-13 09:14:11 +02:00
2022-10-13 09:14:11 +02:00
2022-10-18 10:49:43 +02:00
2022-10-26 10:40:02 +02:00
2022-11-04 23:10:13 +01:00
2022-11-09 14:03:49 +01:00
2022-11-15 16:12:21 +01:00
2022-11-25 14:53:22 +01:00
2022-12-06 17:59:55 +01:00
2023-01-13 16:03:56 +01:00
2023-02-08 14:00:55 +01:00
2023-02-21 18:36:21 +01:00
2023-03-05 21:11:40 +01:00
2023-03-17 17:33:49 +01:00
2023-04-11 19:36:46 +02:00
2023-04-27 19:24:37 +02:00
2023-05-06 19:40:50 +02:00
2023-05-23 18:16:59 +02:00
2022-02-07 07:59:09 +01:00
2023-05-23 18:16:59 +02:00
2023-05-23 18:16:59 +02:00