Skip to content

Make saveIndex and saveIndexNoExceptions const - #672

Open
chakshu-dhannawat wants to merge 1 commit into
nmslib:developfrom
chakshu-dhannawat:fix/save-index-const
Open

Make saveIndex and saveIndexNoExceptions const#672
chakshu-dhannawat wants to merge 1 commit into
nmslib:developfrom
chakshu-dhannawat:fix/save-index-const

Conversation

@chakshu-dhannawat

Copy link
Copy Markdown

Closes #642.

Makes saveIndex and saveIndexNoExceptions const on AlgorithmInterface, HierarchicalNSW, BruteforceSearch, and the Python wrapper classes. Saving an index is read-only, so this lets users save a const index (or save in parallel with const searches) without a const_cast.

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