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

Return id(s) when calling Index::addItem and Index::addItems in Java bindings #94

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stephen29xie
Copy link
Contributor

@stephen29xie stephen29xie commented Oct 14, 2024

Description

In C++ and Python, the id of the item(s) are returned when they are added to the index. In Java, these methods return void. This PR brings these to parity.

Related Issues

#84

Changes Made

Java

  • Return id(s) when calling Index::addItem and Index::addItems in Java bindings.
  • Update docs
  • Update tests

Testing

Checklist

  • My code follows the code style of this project.
  • I have added and/or updated appropriate documentation (if applicable).
  • All new and existing tests pass locally with these changes.
  • I have run static code analysis (if available) and resolved any issues.
  • I have considered backward compatibility (if applicable).
  • I have confirmed that this PR does not introduce any security vulnerabilities.

Additional Comments

@stephen29xie stephen29xie marked this pull request as ready for review October 16, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant