We are finding Algolia to be very useful for our search. In line with improving that, we were thinking of including an image search. For each image we have
phash values. We know that we could consider
phash as an integer and index it by algolia. But if we could write a function for comparing phashes based on hamming distance then it would be very efficient for us.
Is there any way currently to do this?