[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734056#action_12734056 ]
Uri Boness commented on SOLR-773: --------------------------------- Ryan, you should really have a look at the patch Chris added as it already tackles a few of the requirements you listed: - The FieldValueSource is an abstraction that can be used to add "dynamic" fields to the returned docs. I think this approach is the most flexible and can be used as a starting point. I'm still not sure whether it should add fields to the docs or some sort of a meta data information, but for both approaches the mechanism can stay the same (if meta data approach is chosen then I guess it can be renamed to MetaDataSource instead) - A distance calculation abstraction was already added in the form of GeoDistanceCalculator interface (there are currently two implementation, but a third one can easly be added based on JTS) . I agree there might be other abstractions that one would want to use. - The query parser is already there. The only thing is that right now it differs a bit from the syntax you suggested... it's more in the form q={!spatial lat=XXX lng=YYY radius=10 calc=arc unit=km}. > 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.