add pos index search