Add search purge
refactor IndexSearch
Add SearchRebuild method