concept information in category php

This is an excerpt from Manning's book Zend Framework in Action.
Zend_Controller_Response_Http contains three types of information: header, body, and exception. In the context of the response, the headers are HTTP headers, not HTML headers. Each header is an array containing a name, along with its value, and it is possible to have two headers with the same name but different values within the response’s container. The response also holds the HTTP response code (as defined in RFC 2616), which is sent to the client at the end of processing. By default, this is set to 200, which means OK. Other common response codes are 404 (Not Found) and 302 (Found), which is used when redirecting to a new URL. As we will see later, the use of status code 304 (Not Modified) can be very useful when responding to requests for RSS feeds, as it can save considerable bandwidth.
For most of us, we get the best from a website when we successfully read the information we came for. For an e-commerce site, this generally means finding the item and purchasing it. For other sites, we’re generally looking for relevant articles on the topics that interest us. Searching is one way to help a user to quickly find the results they’re looking for. A good search system will provide the most relevant results at the top.
Table 9.5. Lucene field types for adding fields to an index
Field name
Type
Notes
class UnIndexed The class name of the stored data. We need this on retrieval to create a URL to the correct page in the results list. key UnIndexed The key of the stored data. Usually this is the ID of the data record. We need this on retrieval to create a URL to the correct page in the results list. docRef Keyword A unique identifier for this record. We need this to find the record for updates or deletions. title Text The title of the data. We’ll search on and display this within the results. contents UnStored The main content for searching. This isn’t displayed. summary UnIndexed The summary, which contains information about the search result to display within the results. It isn’t used for searching. createdBy Text The author of the record. This is used for searching and display. We use the Keyword type to preserve the author’s name exactly when searching. dateCreated Keyword The date created. This is used for searching and display. We use the Keyword type because we don’t want Lucene to parse the data.