removed debug stuff from templates as not useful
removed relevancy function id stuff from templates as not useful
current progress with last unit test for search controller