Can't seem to get geosearch to work?


(NLS) #1

My indexed data looks like
{
"modelName":"Flag_at_1_Boxes|1.1|018968fbdf0510cc2c3fe0dc01ed8850",
"docType":"data",
"modelData":[
{
"count":"11",
"location":[
60.0,
-150.5
]
},
{
"count":"3282",
"location":[
60.0,
-151.5
]
},
...
]
}

I want to be able to do a point radius search and bounding box but everything I try return 0 hits.
I am using the fieldname modelData.location. Is this right? Or how would you do a point radius or bounding box search? What is the correct fieldname to use for this dataset in a geo Filter?

I have tried "modelData", "modelData.location", "*location". I have an array of point but I also need count. Any suggestions?

Thanks in advance


(system) #2