A Search object consists of a schema name (such as REQUEST or DOCUMENT), a URL, and a list of attribute-value pairs. The com.sun.portal.search.search package in the Search Server Java SDK is used to build Search objects and write them to a file.