I wrote this thread:
Google site operator and forum site search
before I read this post. It is explained how to implement a simple site serach function in the XML book mentioned in my first post. The code follows with the book.
If you structure your site very well, you can make a very efficient site search engine in my view. It is not so very difficult to modify the code to your own needs. That site search function will retrive content by:
- keywords,
- titles,
- and description
and display those pieces that have a status of live.
It is a programming task to retrive content by n features (eg. elements and attributes). The method is there.