Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:searchivarius/nmslib into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
searchivairus committed Feb 9, 2018
2 parents 8d7ab43 + 43f298b commit 1f355a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python_bindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ neighbours = index.knnQueryBatch(data, k=10, num_threads=4)

#### Logging

NMSLIB produces quite a few informational messages. By default, they are not shown in Python. To enable debugging, one should use the following commands before importing the library:
NMSLIB produces quite a few informational messages. By default, they are not shown in Python. To enable debugging, one should use the following commands **before** importing the library:

```
import logging
logging.basicConfig(level=logging.INFO)
logging.basicConfig(level=logging.DEBUG)
```

#### Installing with Extras
Expand Down
2 changes: 1 addition & 1 deletion python_bindings/notebooks/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
We have three Notebooks: two are for dense spaces and one is for the sparse space. For the dense space, we have examples of the so-called optimized and non-optimized indices. Except HNSW, all the methods save meta-indices rather than real onese. Meta indices contain only index structure, but not the data. Hence, before a meta-index can be loaded, we need to re-load data.
We have three Notebooks: three are for dense spaces and one is for the sparse space. For the dense space, we have examples of the so-called optimized and non-optimized indices. Except HNSW, all the methods save meta-indices rather than real onese. Meta indices contain only index structure, but not the data. Hence, before a meta-index can be loaded, we need to re-load data. One example is a memory efficient space to search for SIFT vectors.

HNSW, can save real indices, but only for the dense spaces: Euclidean and the cosine. When you use these optimized indices, the search does not require reloading all the data. However, reloading the data is **required** if you want to use the function **getDistance**. Furthermore, creation of the optimized index can always be disabled specifying the index-time parameter **skip_optimized_index** (value 1).

Expand Down

0 comments on commit 1f355a8

Please sign in to comment.