fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. cout << "QUERY: collection_o2, map[aaaq_score_param:[8103_4] boosted:[0] cscore:[sum(0,if(exists(cuisine_score_50),cuisine_score_50, 0))] fl:[id,name,real_id,chain_id,_dist_:geodist(loc,28.451027,77.097966),_dist_ : geodist(loc,28.451027,77.097966),{!key=score}\n $raw_score\n ,cscore] fq:[+status_id:(1 OR 13) has_takeaway_flag:1 {!frange l=0 incl=false}$cscore {!geofilt filter=true sfield=latlon_location_rpt pt=28.451027,77.097966 d=3}] q:[(*)] raw_score:[sum(product(def(conversion_score_dsz_v2_final_score_8103_4, 0), 1))] rows:[1500] sort:[$takeaway_grouping_func asc,$cscore desc,\n $raw_score\n desc] start:[0] takeaway_grouping_func:[map(\n\t\tgeodist(loc,28.451027,77.097966),\n\t\t0,\n\t\t0.05,\n\t\t0,\n\t\tmap(\n\t\t\tgeodist(loc,28.451027,77.097966),\n\t\t\t0.05,\n\t\t\t0.1,\n\t\t\t1,\n\t\t\tmap(\n\t\t\t\tgeodist(loc,28.451027,77.097966),\n\t\t\t\t0.1,\n\t\t\t\t0.25,\n\t\t\t\t2,\n\t\t\t\tmap(\n\t\t\t\t\tgeodist(loc,28.451027,77.097966),\n\t\t\t\t\t0.25,\n\t\t\t\t\t0.5,\n\t\t\t\t\t3,\n\t\t\t\t\tmap(\n\t\t\t\t\t\tgeodist(loc,28.451027,77.097966),\n\t\t\t\t\t\t0.5,\n\t\t\t\t\t\t1,\n\t\t\t\t\t\t4,\n\t\t\t\t\t\t5\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t\t)]]";
  7. return 0;
  8. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
QUERY: collection_o2, map[aaaq_score_param:[8103_4] boosted:[0] cscore:[sum(0,if(exists(cuisine_score_50),cuisine_score_50, 0))] fl:[id,name,real_id,chain_id,_dist_:geodist(loc,28.451027,77.097966),_dist_ : geodist(loc,28.451027,77.097966),{!key=score}
            $raw_score
        ,cscore] fq:[+status_id:(1 OR 13) has_takeaway_flag:1 {!frange l=0 incl=false}$cscore {!geofilt filter=true sfield=latlon_location_rpt pt=28.451027,77.097966 d=3}] q:[(*)] raw_score:[sum(product(def(conversion_score_dsz_v2_final_score_8103_4, 0), 1))] rows:[1500] sort:[$takeaway_grouping_func asc,$cscore desc,
            $raw_score
         desc] start:[0] takeaway_grouping_func:[map(
		geodist(loc,28.451027,77.097966),
		0,
		0.05,
		0,
		map(
			geodist(loc,28.451027,77.097966),
			0.05,
			0.1,
			1,
			map(
				geodist(loc,28.451027,77.097966),
				0.1,
				0.25,
				2,
				map(
					geodist(loc,28.451027,77.097966),
					0.25,
					0.5,
					3,
					map(
						geodist(loc,28.451027,77.097966),
						0.5,
						1,
						4,
						5
					)
				)
			)
		)
		)]]