make sure search only indexes on production