BroadleafCommerce/DemoSite — pull request #148 by brentlemons (2014-08-09 19:04:53+00:00)
Title: adding latlontype fieldtype and necessary dynamicfields for geolocation search/facet

this adds a LatLonType fieldType and two dynamicFields for geolocation search and faceting. The *_coordinate dynamic is not used directly, but is required by solr to store the latitude and longitude. BLC users should instead use *_c for their fields.

To use this I extended Product with a String field called location. Within the location field I put a lat/long pair in the format required by solr (e.g. "32.946467,-96.786969"). I then inserted an entry in BLC_FIELD with a facet_field_type of 'c' and and entry in BLC_FIELD_SEARCH_TYPES with a searchable_field_type of 'c'.

Use of this also required a version of the framework built with the FieldType in the BroadleafCommerce pull request [#1067](https://github.com/BroadleafCommerce/BroadleafCommerce/pull/1067).