search, if there are many search result, finish at $offset+$limit