Added javadoc to search handler