You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2011/05/23 23:27:47 UTC

[jira] [Commented] (SOLR-2345) Extend geodist() and geofilt to support MultiValued lat long field

    [ https://issues.apache.org/jira/browse/SOLR-2345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038242#comment-13038242 ] 

David Smiley commented on SOLR-2345:
------------------------------------

I wouldn't expect to see any progress here any time soon.  The underlying problem is that the FieldCache architecture is single-valued. Lucene needs a solution to rectify that. From what I hear, grand plans to rectify this FieldCache limitation in the past have failed (I don't know why).  But even if this hurdle was resolved, it'd only be half the battle. geodist() & geofilt() code is built around the notion of multiple fields supplying the lat & lon (VectorValueSource or something like that), not around it coming from a single field.  This limitation is at the core of these functions.

By comparison, I've found working on the "Lucene-Spatial-Playground" (temporary name) a breath of fresh air. Multi-valued fields is not in the FieldCache; we have a spatial substitute for that. And we don't use geodist() & geofilt() at all.

> Extend geodist() and geofilt to support MultiValued lat long field
> ------------------------------------------------------------------
>
>                 Key: SOLR-2345
>                 URL: https://issues.apache.org/jira/browse/SOLR-2345
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Bill Bell
>
> Extend geodist() and {!geofilt} to support a multiValued lat,long field without using geohash.
> sort=geodist() asc

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org