[eluser]Jelmer[/eluser]
There's no built in CI library, but there's a couple of options:
- Use SQL LIKE %searchword%, only useable for small website as it's very resource heavy
- Use SQL full text search (match against), only useable for large websites because it has strong rules (like ignoring words that appear on more than 50% of all pages)
- Preindex your website so searching can be done by simple WHERE statements and you can index everything (even what's not in the DB)
I wrote an implementation of the last option (in my sig), I would still consider it alpha but not because it's not useable. I've implemented the Dutch version succesfully with RapidDataMapper (that one is Release Candidate level) but just didn't get round to testing the English version using active record and I haven't gotten round to writing documentation. The code is pretty straight forward though, so you should be able to understand how to use it from the example controller.