lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Resolved] (SOLR-3864) Spatial maxDetailDist doesn't follow degrees standardization
Date Sat, 22 Sep 2012 18:45:07 GMT


David Smiley resolved SOLR-3864.

       Resolution: Fixed
    Fix Version/s:     (was: 4.1)

Committed to trunk, 4x, and 4.0 branches.
> Spatial maxDetailDist doesn't follow degrees standardization
> ------------------------------------------------------------
>                 Key: SOLR-3864
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 4.0
>         Attachments: SOLR-3864_maxDetailDist_-__maxDistErr,_and_make_units=_degrees__mandatory.patch
> Technically this bug is in Lucene spatial but it's on a factory that is only really used
by the Solr adapter, plus I added a mandatory attribute so I decided to file it here.
> The maxDetailDist attribute on SpatialRecursivePrefixTreeFieldType is interpreted as
kilometers for a geospatial context.  However, for this first release of spatial, all distances
are standardized on degrees.  Of course I want to support kilometers but not inconsistently
and there isn't time for that right now.  Because this is likely to be a common problem of
interpreting distances for this field, I decided to add a mandatory attribute "units" which
must be "degrees".  When kilometers is supported then it will be added.
> Furthermore, the name "maxDetailDist" as a name isn't so great. As part of some renames
related to this sort of thing a month back I overlooked this one.  I think "maxDistErr" is
better and more consistent with attributes such as "distErr" you can put in shape query.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message