Re: representing latlontype in pojo

2011-11-09 Thread Michael Kuhlmann
Am 08.11.2011 23:38, schrieb Cam Bazz: How can I store a 2d point and index it to a field type that is latlontype, if I am using solrj? Simply use a String field. The format is "$latitude,$longitude". -Kuli

representing latlontype in pojo

2011-11-08 Thread Cam Bazz
Hello, I have custom pojo's, and I use solrj to read and index them with getBeans() method. So now, I want to store a spatially searchable data member in my pojo. I have in my schema.xml: and - so, what object type must I have in my bean? LatLonType does not seem to have a constructor,