Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

Filter documents for searching #10

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jainaayush05
Copy link

One of the biggest drawbacks of libs like annoy or Faiss is that it doesn't allow filtering of documents to be searched before finding nearest neighbours. This is something that can be solved using the changes I have suggested

@alexklibisz
Copy link
Owner

@jainaayush05 I don't think the cosineDistance part will work. I'm pretty sure that the LSH hashing implementation would have to change in order for cosine distance to make sense. Do you have results to suggest otherwise?

@sai-prasanna
Copy link

@jainaayush05 Any thoughts on the cosine distance not working with this implementation of LSH?
@alexklibisz If the filtering of documents part of this pull request work, can that be added to your library?

@alexklibisz
Copy link
Owner

alexklibisz commented Aug 29, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants