If you want to realize a fulltext search engine you can’t ignore Apache Lucene and its port for Java. This powerful implementation uses a reverse index, like google does, and its results are pretty good.

Unfortuantely most webhoster won’t support Java therefore you could switch to the PHP port of lucene implemented by the PHP framework Zend, called Zend Lucene.

Thankworthy both implementations are compatible, you just have to consider the right version. Currently Zend supports the lucene index till version 2.3, though Apache lucene has already released version 2.4.

Older apache lucene releases can be downloaded from the maven repository