Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mExists API action #2133

Closed
Aschen opened this issue Sep 3, 2021 · 3 comments · Fixed by #2243
Closed

Add mExists API action #2133

Aschen opened this issue Sep 3, 2021 · 3 comments · Fixed by #2243

Comments

@Aschen
Copy link
Contributor

Aschen commented Sep 3, 2021

Feature Description

Add the mExists API action to check the existence of many documents.

Possible Solution (optional)

Use the mGet action

@Raksh7777
Copy link

Can I take up this issue?

@Aschen
Copy link
Contributor Author

Aschen commented Sep 13, 2021

Yes of course @Raksh7777 ! It would be very much appreciated :-)

We planned to use the mget method from the ES client to check document existence and then returns 2 arrays of document IDs:

  • successes IDs of existing documents
  • errors IDs of documents not found

Like this API action https://docs.kuzzle.io/core/2/api/controllers/document/m-get/

Feel free to come on Discord if you need any help http://join.discord.kuzzle.io

@matissepage matissepage self-assigned this Dec 23, 2021
@matissepage
Copy link
Contributor

What can be the differences between the mGet action and the mExists action?

@matissepage matissepage linked a pull request Dec 24, 2021 that will close this issue
@Aschen Aschen closed this as completed Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants