Querying the index
Once the index is prepared, the page is available for querying. The query processor, along with a search and matching engine, performs the nuts and bolts of the search function—matching a user's query to stored entries in the search engine's index. The final element is a sound methodology for ranking the query results. If all works as planned, the search engine returns a sensibly ordered set of results to each user's query.
Peeking into the mechanics of search gives us a few guidelines to follow. One core principle that emerges is this—words are the food upon which search engines feed. Without relevant, contextual words on your pages, the search engines cannot accurately index your pages. The other important idea is that a search engine searches an index—it doesn't search your pages directly. So, if your pages aren't in the index, they aren't going to be found. These concepts will re-emerge as we work through the chapters in this book.