#488 fixed bug in similarity server to improve file based similarity search