extract text from html page and write doc to index
add basic search functionality