search on index where possible