- refactoring ivfpq search method