new legacysearch.module for searching and indexing content