* Fix : query_cost_record_search_index Search exception for elasticsearch instance * add sample query to cover test scenarios * update mapping and fix test