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

Ryan McKinley commented on SOLR-773:
------------------------------------

Wow, this issue just keeps growing!  We need to figure the best way to move 
forward that will keep things clean and have the flexibility to enable the wide 
rage of spatial features we all want.  As noted earlier, I hope we can come up 
with a simple interface that could support various strategies - including: 
trie, cartesian tier, geohash, rtree, jts/geotools etc, etc.

To get things going, it seems the biggest hurdles are getting the solr 
framework to support some basic wiring to make these things possible.  As Yonik 
pointed out before, this comes down to a few core features:

   * SOLR-1131 -- FieldType should be able to write multiple fields (consider 
WKT -> many fields)
   * SOLR-1298 -- Add function query calculation to result
      * SOLR-705 -- Attach arbitrary metadata (distance) to the results
   * A way to sort by a function query
   
With this, geosearch could be implemented with:
    *  Custom QParser like: fq={!gbox p=101.2,234.5 f=position, d=1.5}
      // a bounding box, centered on 101.2,234.5 including everything within 
1.5 miles
    * A function query that calculates distances gdist(position,101.2,234.3)  
(may need to share data with the Query/Filter)


> Incorporate Local Lucene/Solr
> -----------------------------
>
>                 Key: SOLR-773
>                 URL: https://issues.apache.org/jira/browse/SOLR-773
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>         Attachments: exampleSpatial.zip, lucene-spatial-2.9-dev.jar, 
> lucene.tar.gz, SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, 
> SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, 
> SOLR-773-local-lucene.patch, SOLR-773-spatial_solr.patch, SOLR-773.patch, 
> SOLR-773.patch, spatial-solr.tar.gz
>
>
> Local Lucene has been donated to the Lucene project.  It has some Solr 
> components, but we should evaluate how best to incorporate it into Solr.
> See http://lucene.markmail.org/message/orzro22sqdj3wows?q=LocalLucene

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to