lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grant Ingersoll (JIRA)" <>
Subject [jira] Commented: (SOLR-1586) Create Spatial Point FieldTypes
Date Mon, 28 Dec 2009 17:02:29 GMT


Grant Ingersoll commented on SOLR-1586:

There is an example of what goes in the schema on this patch:
      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.

    <fieldType name="tier" class="solr.CartesianTierField" start="4" end="15" subFieldSuffix="_d"/>

I think the filter question is best answered on SOLR-1568, but I'll give a brief thought.
 Something like:
&fq={!tier dist=20}location:49.32,-79.0
or it could be:
&fq={!tier lat=49.32 lat=-79.0 dist=20}

I'm not sure which I prefer.

> Create Spatial Point FieldTypes
> -------------------------------
>                 Key: SOLR-1586
>                 URL:
>             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.

View raw message