optimize: search speed with more than 1K documents.

searh while typing on quit.