renamed SearchDefinition to SearchCriteria