Closed FionnD closed 3 years ago
The checklist for each of these would be:
index_rest
method that indexes docs using the /index REST APIindex_rest
as CLI option to -t
(via click options)/search
(NOT /api/search
)See https://github.com/jina-ai/examples/pull/453 and https://github.com/jina-ai/examples/pull/452
The checklist for each of these would be:
- update Jina to 1.1.0 (if not already at that version or higher)
- modify flow yamls to enable REST API
- add
index_rest
method that indexes docs using the /index REST API- add
index_rest
as CLI option to-t
(via click options)- change README to point towards
/search
(NOT/api/search
)See #453 and #452
Good point. @rutujasurve94 Let's start to update the examples.
I'm beginning work on this today onwards
@rutujasurve94 make sure to add the PRs to this issue's parent comment and check it off
I'm happy to take on pokedex since I'm looking at doing some work on it anyway
https://github.com/jina-ai/examples/pull/465 closes Advanced Vector Search
https://github.com/jina-ai/examples/pull/466 closes Cross Modal Search
https://github.com/jina-ai/examples/pull/470 solves Multires Lyrics
https://github.com/jina-ai/examples/pull/471 solves Object Search
https://github.com/jina-ai/examples/pull/473 solves Pokedex with Bit
https://github.com/jina-ai/examples/pull/469 solves Fashion Example
@cristianmtr @FionnD I suggest we hold on progressing this ticket because it will introduce quite a lot of duplicated codes in all the examples. Basically, this will require that all the examples load the files, wrap them up to an HTTP request and send to different APIs. This will make the examples even harder to maintain. I see the motivation is to show how to use RESTful API to do CRUD in jina, but I suggest to show this in one example instead of copy-paste to every example.
Hi @nan-wang
Make sense, let's close this issue so?
Maintenance
All our examples should be using the REST CRUD interface and not the /api/{mode}which is deprecated.
Acceptance Criteria This ticket is done when: All 13 examples on the example repo are working correctly and using the REST CRUD interface.
[Updated by Fionn Friday 30th April]