nmslib / hnswlib

Header-only C++/python library for fast approximate nearest neighbors
https://github.com/nmslib/hnswlib
Apache License 2.0
4.3k stars 633 forks source link

hamming distance support #535

Open jianshu93 opened 8 months ago

jianshu93 commented 8 months ago

Dear Team,

I am wondering whether there could be support for hamming distance, for example u32 or u64 vector, their hamming distance (strings can alway be transformed into corresponding integers). It has many application in real world string search et.al..

Thanks,

Jianshu