Searching documents works