Framework for building search engines in lua