Website index generation help

What is the best way to create an index for an internal site search feature?   One option that I was thinking may work is to utilize the page API and custom Java actions to create the index, but I was wondering if there is an easier way.
1 answers

Although this is an older module it might serve your purpose:

This builds a lucene index for searching, will need some upgrade steps though