Hi

You may try to write a custom function and sort your group according to the
result of the custom function.

If that might work, check out ValueSourceParser, ValueSource and its
descendant classes for a better understanding.

Thanks & Regards
Mukund


On Fri, Dec 13, 2013 at 10:54 AM, Parvesh Garg <parv...@zettata.com> wrote:

> Hi,
>
> I want to use solr/lucene's grouping feature with a some customisations
> like
>
>    - sorting the groups based on average scores instead of max scores or
>    some other complex computation over scores.
>    - group articles based on some computation instead of a field value.
>
> So far it seems like I have to write some code for it. Can someone please
> point me to the right direction?
>
>    - If I have to write a plugin, which files I need to check?
>    - Which part of the code currently executes the grouping feature? Does
>    it happen in solr or lucene? Is it SearchHandler?
>
> Parvesh Garg
> http://www.zettata.com
>

Reply via email to