Search functions for Ajax Search refs #299