Adding back search index code

Some how it went poof