Updated javadoc in search handler