index: improve package search