David Smiley created SOLR-4633:
----------------------------------
Summary: spatial distance document transformer
Key: SOLR-4633
URL: https://issues.apache.org/jira/browse/SOLR-4633
Project: Solr
Issue Type: New Feature
Components: Response Writers
Reporter: David Smiley
It would be nice if there was a Solr DocTransformer that calculated the
distance between a point field (marked 'stored') and a specified point at query
time, and put this on the response as a psuedo-field. Since 4.0, you can use a
function query in the field list, but the function queries get the data from
the FieldCache (i.e. in memory). But the application might not want to put it
in memory just to return it, just to ultimately save the client from
calculating it there. And I've got an idea for a way of simultaneously doing
an intersects search and calculating the distance for sorting, including
multi-value aware, but without the FieldCache or other memory cache. If the
user wants the distance, it'd be a shame to tell them to use a function query
which uses the FieldCache.
--
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: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]