Skip to content
New issue

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

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

Already on GitHub? # to your account

Add the ability to clone and read binary indexes to the C API. #3318

Closed

Conversation

aalekhpatel07
Copy link
Contributor

I noticed we have a pretty decent C API for binary indexes and please correct me if I'm wrong but we seem to be missing a couple of functions, like the ability to clone and read binary indexes. This PR provides those functions.

@facebook-github-bot
Copy link
Contributor

Hi @aalekhpatel07!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

aalekhpatel07 and others added 3 commits March 25, 2024 10:00
Signed-off-by: Aalekh Patel <aalekh.gwpeck.7998@icloud.com>
Signed-off-by: Aalekh Patel <aalekh.gwpeck.7998@icloud.com>
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@mdouze
Copy link
Contributor

mdouze commented Mar 28, 2024

Thanks!

@facebook-github-bot
Copy link
Contributor

@mdouze has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@aalekhpatel07
Copy link
Contributor Author

Please feel free to let me know if there's anything I can do on my end to fix the CI lint check.

@algoriddle
Copy link
Contributor

Please feel free to let me know if there's anything I can do on my end to fix the CI lint check.

Can you add a line break at the end of the two files, please?

Copy link
Contributor Author

@aalekhpatel07 aalekhpatel07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add line breaks to clone_index_c.cpp and index_factory_c.cpp

Done!

@facebook-github-bot
Copy link
Contributor

@mdouze merged this pull request in 4e6b6f8.

abhinavdangeti pushed a commit to blevesearch/faiss that referenced this pull request Jul 12, 2024
…ookresearch#3318)

Summary:
I noticed we have a pretty decent C API for binary indexes and please correct me if I'm wrong but we seem to be missing a couple of functions, like the ability to clone and read binary indexes. This PR provides those functions.

Pull Request resolved: facebookresearch#3318

Reviewed By: algoriddle

Differential Revision: D55469615

Pulled By: mdouze

fbshipit-source-id: 42e6f827d8b5ad6bc3efe989e47ede3aa06c1810
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants