fix search too slow.
Merge pull request #100 from fengmk2/issue94-slow-search

fix search too slow.