[ https://issues.apache.org/jira/browse/SOLR-1586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794834#action_12794834 ]
Grant Ingersoll commented on SOLR-1586: --------------------------------------- There is an example of what goes in the schema on this patch: {code} <!-- A CartesianTier is like a set of zoom levels on an interactive map (i.e. Google Maps or MapQuest). It takes a lat/lon field and indexes it into (endTier - startTier) different fields, each representing a different zoom level. This can then be leveraged to quickly narrow the search space by creating a filter, at an appropriate tier level, that only has to enumerate a minimum number of terms. See http://wiki.apache.org/solr/SpatialSearch --> <fieldType name="tier" class="solr.CartesianTierField" start="4" end="15" subFieldSuffix="_d"/> {code} I think the filter question is best answered on SOLR-1568, but I'll give a brief thought. Something like: {code} &fq={!tier dist=20}location:49.32,-79.0 {code} or it could be: {code} &fq={!tier lat=49.32 lat=-79.0 dist=20} {code} I'm not sure which I prefer. > Create Spatial Point FieldTypes > ------------------------------- > > Key: SOLR-1586 > URL: https://issues.apache.org/jira/browse/SOLR-1586 > Project: Solr > Issue Type: Improvement > Reporter: Grant Ingersoll > Assignee: Grant Ingersoll > Priority: Minor > Fix For: 1.5 > > Attachments: examplegeopointdoc.patch.txt, SOLR-1586-geohash.patch, > SOLR-1586.Mattmann.112209.geopointonly.patch.txt, > SOLR-1586.Mattmann.112209.geopointonly.patch.txt, > SOLR-1586.Mattmann.112409.geopointandgeohash.patch.txt, > SOLR-1586.Mattmann.112409.geopointandgeohash.patch.txt, > SOLR-1586.Mattmann.112509.geopointandgeohash.patch.txt, > SOLR-1586.Mattmann.120709.geohashonly.patch.txt, > SOLR-1586.Mattmann.121209.geohash.outarr.patch.txt, > SOLR-1586.Mattmann.121209.geohash.outstr.patch.txt, > SOLR-1586.Mattmann.122609.patch.txt, SOLR-1586.patch > > > Per SOLR-773, create field types that hid the details of creating tiers, > geohash and lat/lon fields. > Fields should take in lat/lon points in a single form, as in: > <field name="foo">lat lon</field> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.