Details
-
Bug
-
Resolution: Duplicate
-
Major
-
Security Level: Public
-
None
-
Two cluster configs:
a) Single node cluster, Windows 7 64 256 MB RAM
b) 4 node 64-bit Ubuntu cluster, 1024 MB RAM
Description
With documents that look like:
{ "name" : "Hartford", "state" : "CT", "type" : "city", "loc" : [41.763309,-72.67408] } { "name" : "Bridgeport", "state" : "CT", "type" : "city", "loc" : [41.181881,-73.191269] } { "name" : "Stamford", "state" : "CT", "type" : "city", "loc" : [41.051819,-73.542229] } { "name" : "New Haven", "state" : "CT", "type" : "city", "loc" : [41.307129,-72.92498] } { "name" : "New London", "state" : "CT", "type" : "city", "loc" : [41.356441,-72.096474] } { "name" : "Norwalk", "state" : "CT", "type" : "city", "loc" : [41.113659,-73.407654] }And a spatial function that looks like:
"spatial" : {
"by_location" : "function (doc, meta) { if (doc.type == \"city\") { emit(
, null); } "
}
running a spatial query crashes nodes (server, not OS). Diagnostics attached. Spatial queries were working on the same dev machine with DP4.