jina-ai/examples

fix: update usage of SimpleIndexer to new API

cristianmtr opened this issue · 3 comments

The SimpleIndexer is used in a lot of examples.

However, it is using the old API.

The task is to check all the examples that use SimpleIndexer still work and fix the version to a specific version, like /v0.3.

SimpleIndexer hub image: https://hub.jina.ai/executor/zb38xlt4

Hi @cristianmtr,

I tested the wikipedia-sentence example.

It works as expected and the test passed.

Screenshot 2021-09-27 at 01 32 00

Affected example

  • wikipedia-sentences
  • multires-lyrics-search
  • cross-modal-search
  • audio-to-audio-search

Hey @m4rtinkoenig

Thanks for helping. Are you going to take over this ticket completely?

It means checking these examples, fixing any issues, and then fixing the tag of the SimpleIndexer to specific tag, like v0.3

Yes, but I am currently working on another issue on jina core. I just wanted to post my progress and see if CI tests pass :D If anyone wants to take over feel free and leave a short note