updated /executeSearch startIndex to offset