nmslib icon indicating copy to clipboard operation
nmslib copied to clipboard

Non-Metric Space Library (NMSLIB): An efficient similarity search library and a toolkit for evaluation of k-NN methods for generic non-metric spaces.

Results 98 nmslib issues
Sort by recently updated
recently updated
newest added

Is it possible to add User-Defined Metrics?

After having a lot of problems trying to get this to install, a simple fix to the base code resolved all troubles. In the file distcomp_scalar.cc, on lines 85 and...

Here is the code to reproduce: ```python import nmslib import numpy as np idx = np.array([[3.0,4.0],[1.0,2.0],[1.001,2.002],[3.1,4.2]]) #idx = idx / np.linalg.norm(idx, 2, axis=1)[:,None] queries = np.array([[1.0,2.0]]) #queries = queries /...

Hi, as dependency of [pyserini](https://github.com/castorini/pyserini) I am installing nmslib. However, the install fails when I use python 3.10.2. I tried with python 3.8.2, and it worked fine. Please find the...

I am using nmslib to match some terminologies from a chunk of text (vectorized with tfidf). But occasionally the index reported by the nearest neighbour object is out of the...

Hi there! After a python system update, I can't `pip install nmslib` anymore, getting a build error instead. # Environment - `Linux 6.3.1-arch1-1 x86_64 GNU/Linux` - `Python 3.10.11` - `nmslib-2.1.1`...

https://github.com/nmslib/nmslib/blob/ade4bcdc9dd3719990de2503871450b8a62df4a5/similarity_search/src/method/small_world_rand.cc#L94 The for loop in the indexing thread makes incorrect assumption that first element in batch will always be handled by the primer functions. First element is only added if...

disabling sync_with_stdio by default create very destructive side effects. make it optional

An error ocurred while starting the kernel Your CPU supports instructions that this binary was not compiled to use: AVX AVX2 For maximum performance, you can install NMSLIB from sources...

This is on macOS 10.6 with gcc13: ``` ld: duplicate symbol __ZTSN10similarity4HnswIfEE in /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_nmslib/nmslib/work/nmslib-2.1.1/similarity_search/debug/libNonMetricSpaceLib.a(hnsw_distfunc_opt.cc.o) and /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_nmslib/nmslib/work/nmslib-2.1.1/similarity_search/debug/libNonMetricSpaceLib.a(hnsw.cc.o) collect2: error: ld returned 1 exit status ```