: I am using solr 4.2, and have set up spatial search config as below : : http://wiki.apache.org/solr/SpatialSearch#Schema_Configuration : : But everything I make an update to a document, : http://wiki.apache.org/solr/UpdateJSON#Updating_a_Solr_Index_with_JSON : : more values of the *_coordinates fields gets inserted, even though it was : not set to multivalue & this behavior doesn't happen to any of the other : fields.
can you elaborate on what exactly you mena by "more values of the *_coordinates fields gets inserted" ? FYI... atomic updates work by leveraging the existing stored values of fields; independently, the LatLonType field works by creating on the fly sub fields representing internal state. My hunch is that you don't actaully have the LatLonType setup exactly as describedi n hte wiki you linked to, where "*_coordinate" is confiured with 'stored="false"' ... my hunch is that you have the *_coordinate dynamicField configured to stored="true", and so when you do an atomic update the old (stored) sub-field values are copied over and the (new) sub-field values are generated again by LatLonType. -Hoss