I am looking for advice how better utilize Raven & Lucene Spacial. There is real case. The clinician a.k.a doctor can be 1+ location and i need to search by radius asc primarily plus specialty plus other features. Any suggestions?
The simple one location lat & lng search is no brainier.
{
"Languages": [],
"VersionDate": "20120314T110204",
"VersionId": "634673197241904092",
"SpecializationsAndDepartments": [
{
"Name": "Kenmore",
"OfficeId": "offices/kenmore",
"Latitude": 42.345295,
"Longitude": -71.100576,
"Specializations": [],
"Departments": [
"Podiatry"
]
},
{
"Name": "Watertown",
"OfficeId": "offices/watertown",
"Latitude": 42.3624127,
"Longitude": -71.1608934,
"Specializations": [],
"Departments": [
"Podiatry"
]
},
{
"Name": "Wellesley",
"OfficeId": "offices/wellesley",
"Latitude": 42.3146,
"Longitude": -71.248499999999993,
"Specializations": [],
"Departments": [
"Podiatry"
]
}
],
"ClinicianId": 2,
"LastName": "Agoada",
"FirstName": "David",
"MiddleName": "",
"Gender": "M",
"ProfessionalDegrees": [
"DPM"
],
"ProfessionalTitles": [
"Podiatrist"
],
"IsPrimaryCarePhysician": false,
"IsAcceptingNewPatients": false,
"Uid": "david-agoada-2"
}