in reply to Good examples of code

What kind of searching do you want to do? This is a pretty broad topic. You probably don't need to use a system which is mainly C++ like htdig for something small. To start with what kind of data are you searching, what volume of data, and how many people are going to be searching?