From ef95f5b67d5d7fe2af21edea763784ce01e75f8c Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Mon, 13 Oct 2014 12:33:20 -0400 Subject: [PATCH] adding type --- controller/search.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controller/search.js b/controller/search.js index fcb12831..1edb3b7a 100644 --- a/controller/search.js +++ b/controller/search.js @@ -12,7 +12,8 @@ function setup( backend, query ){ // backend command var cmd = { index: 'pelias', - body: query( req.clean ) + body: query( req.clean ), + type: req.clean.layers }; // query backend