Prev | Current Page 204 | Next

Rob Allen, Nick Lo, and Steven Brown

"Zend Framework in Action"

The data fields available cover both these operations and choosing the correct field type
for a given piece of information is crucial for the correct operation of the search engine. Let??™s look at storing
the data for searching first. This is known as indexing and so the Keyword, Text and Unstored fields are
relevant. The main difference between Keyword and Text/Unstored is the concept of tokenizing which is when
the indexing engine needs to analyse the data to determine the actual words in use. The Keyword field is not
tokenized which means that each word is used exactly as spelt for the purposes of search matching. The Text
/Unstored fields however are tokenized, which means that each word is analyzed and the underlying base word
is used for search matching. For example, punctuation and plurals are removed for each word.
When using a search engine, the list of results needs to provide enough information for the user to
determine if a given result is the one she is looking for. The field types that are ???Stored??? can help with this as
they are returned by the search engine. These are the Keyword, UnIndexed, Text and Binary field types. The
Unindexed and Binary field types exist solely for storing data used in the results display. Typically, the Binary
field type would be used for storing a thumbnail image that relates to the record and the UnIndexed field type
is used to store items such as a summary of the result or data related to finding the result, such as its database
table, id or URL.


Pages:
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
ciekawe opony goodyear karta kredytowa millenium House Extension London zakłady bukmacherskie