Filter your document and create client-side search engine