fix search_data_idx index type