upgrade search API to use mongo 2.4 text search