improve performance of searchtopic