making search documents