|
|
@ -11,7 +11,7 @@ responses['client/search/ok/1'] = function( cmd, cb ){ |
|
|
|
_id: 'myid1', |
|
|
|
_id: 'myid1', |
|
|
|
_type: 'mytype1', |
|
|
|
_type: 'mytype1', |
|
|
|
_score: 10, |
|
|
|
_score: 10, |
|
|
|
_matched_queries: ['query 1', 'query 2'], |
|
|
|
matched_queries: ['query 1', 'query 2'], |
|
|
|
_source: { |
|
|
|
_source: { |
|
|
|
value: 1, |
|
|
|
value: 1, |
|
|
|
center_point: { lat: 100.1, lon: -50.5 }, |
|
|
|
center_point: { lat: 100.1, lon: -50.5 }, |
|
|
@ -22,7 +22,7 @@ responses['client/search/ok/1'] = function( cmd, cb ){ |
|
|
|
_id: 'myid2', |
|
|
|
_id: 'myid2', |
|
|
|
_type: 'mytype2', |
|
|
|
_type: 'mytype2', |
|
|
|
_score: 20, |
|
|
|
_score: 20, |
|
|
|
_matched_queries: ['query 3'], |
|
|
|
matched_queries: ['query 3'], |
|
|
|
_source: { |
|
|
|
_source: { |
|
|
|
value: 2, |
|
|
|
value: 2, |
|
|
|
center_point: { lat: 100.2, lon: -51.5 }, |
|
|
|
center_point: { lat: 100.2, lon: -51.5 }, |
|
|
|