lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanguy Moal (JIRA)" <>
Subject [jira] Commented: (SOLR-2171) Using stats feature over a function, Function returning as a field value
Date Wed, 20 Oct 2010 19:46:25 GMT


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

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:
>             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:
For additional commands, e-mail:

View raw message