From d637c5630b9f755d4fc3dd9f20444386aebd9373 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 18 Sep 2014 17:48:54 +0100 Subject: [PATCH] formatting --- query/search.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/query/search.js b/query/search.js index a504acf4..9b70e008 100644 --- a/query/search.js +++ b/query/search.js @@ -2,7 +2,7 @@ var logger = require('../src/logger'); // Build pelias search query function generate( params ){ - + var cmd = { "query":{ "filtered" : { @@ -15,8 +15,8 @@ function generate( params ){ "geo_distance" : { "distance" : "200km", "center_point" : { - "lat": params.lat, - "lon": params.lon + "lat": params.lat, + "lon": params.lon } } } @@ -25,7 +25,7 @@ function generate( params ){ "size": params.size }; - logger.log( 'cmd', JSON.stringify( cmd, null, 2 ) ); + // logger.log( 'cmd', JSON.stringify( cmd, null, 2 ) ); return cmd; }