Hi Barani,

This identical question was posed at the same time on StackOverflow, and I
answered it there already:

http://stackoverflow.com/questions/16407110/solr-4-2-solr-latlontype-type-v
s-solr-spatialrecursiveprefixtreefieldtype/16409327#16409327

~ David

On 5/6/13 12:28 PM, "bbarani" <bbar...@gmail.com> wrote:

>Hi,
>
>I am currently using SOLR 4.2 to index geospatial data. I have configured
>my
>geospatial field as below.
>
>     <fieldType name="location" class="solr.LatLonType"
>subFieldSuffix="_coordinate"/>
>
>      <field name="latlong"     type="location"   indexed="true"
>stored="false" multiValued="true"/>
>
>I just want to make sure that I am using the correct SOLR class for
>performing geospatial search since I am not sure which of the 2
>class(LatLonType vs  SpatialRecursivePrefixTreeFieldType) will be
>supported
>by future versions of SOLR.
>
>I assume latlong is an upgraded version of
>SpatialRecursivePrefixTreeFieldType, can someone please confirm if I am
>right?
>
>Thanks,
>Barani 
>
>
>
>--
>View this message in context:
>http://lucene.472066.n3.nabble.com/solr-LatLonType-type-vs-solr-SpatialRec
>ursivePrefixTreeFieldType-tp4061113.html
>Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to