Build search index.