add seach_index.py to application and index templates