Questions tagged [nmslib]
4 questions
1
vote
1 answer
pip install error: RuntimeError: Unsupported compiler -- at least C++11 support is needed
I am trying to install pyserini, and it stuck at collecting nmslib>=2.1.1
error message image
It's previous issue is
clang: error: the clang compiler does not support '-march=native'
error: command '/usr/bin/clang' failed with exit code 1
which I…

Yvonne Wu
- 11
- 2
1
vote
0 answers
How to save indices, created with nmslib?
I am using nmslib with hnsw method for vector similarity search. I have built index class for index creation:
class NMSLIBIndex():
def __init__(self, vectors, labels):
self.dimention = vectors.shape[1]
self.vectors =…

french_fries
- 1,149
- 6
- 22
1
vote
0 answers
Why are there occasional empty inner hits on nested kNN search?
I am having some issues using a nested kNN search. The problem is that occasionally, documents will be returned without any inner hits. How is this possible?
Search result (notice the two last hits have empty inner hits):
{'_shards': {'failed': 0,…

Bobby M
- 11
- 1
0
votes
1 answer
Why does NMSLIB scale badly when I insert a CSR Matrix in a cosinesimil HNSW Index?
I'm working with text embeddings, stored in a sparse format as a csr_matrix (generated via a TfIdfVectorizer). I'd like to use NMSLIB's cosinesimil/HNSW index to insert them and do a Nearest Neighbors search.
My problem is that inserting the…

PLNech
- 3,087
- 1
- 23
- 52