[#68013816]update index function for search scoring