Implemented search using haystack, with a whoosh back-end(more robust than using ajax)