[
https://issues.apache.org/jira/browse/SOLR-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12923127#action_12923127
]
Tanguy Moal commented on SOLR-2171:
-----------------------------------
Hi Grant,
For sure I see some kind of a relation with that issue, but I also think that
having the result of the virtually defined field stored in each hit of the
answer would be powerful.
For example, one might define a distance field taking a pair of lat/long as
parameters, compute the distance according to a pair of lat/long indexed in
each hit, and have the ability to sort the results by ascending distance...
Interesting for local-apps certainly!
I can't see such an opportunity in the suggested issue, although it certainly
fulfill the requirements expressed firstly in that issue's description...
Combining this with the existant stats component would maximize flexibilty from
my point of view.
Did I miss something in the linked issue or does it also take into account the
possibility to perform sorting and/or hits scores operations on the so-built
response stream ?
Kind regards,
--
Tanguy Moal
> Using stats feature over a function, Function returning as a field value
> ------------------------------------------------------------------------
>
> Key: SOLR-2171
> URL: https://issues.apache.org/jira/browse/SOLR-2171
> Project: Solr
> Issue Type: New Feature
> Components: Schema and Analysis, search
> Environment: All
> Reporter: Tanguy Moal
> Priority: Minor
>
> In order to be able to take big advantage of the stats component, it would be
> great to be able to define a function as a field.
> Returning the result of a function as a "virtual" field for each document for
> example, would enable us to have a much more advanced use of the stats
> component.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]