Not that I know of. The easiest way to functionally group across
multiple fields is to concatenate multiple field values into
a special group field. This isn't a flexible solution, but it doesn't
require modifying the Lucene code.
The other solution you can try is to group by ValueSource (is like
Thanks to Martijn v Groningen.
but , Is there anyone who has implemented this feature? just like SQL : select
a1,a2,sum(a3) group by a1,a2;
BTW: show me how to do is well too, Thank you。
---
Confident
Thanks to Martijn v Groningen.
but , Is there anyone who has implemented this feature? just like SQL : select
a1,a2,sum(a3) group by a1,a2;
---
Confidentiality Notice: The information contained in this
Hi Dish,
Grouping on multiple fields or a field that has multiple tokens (or
values) per document hasn't been implemented yet.
Martijn
On 10 December 2012 07:12, dizh wrote:
> Hi All:
> I want to ask how to do "Group by on multi fields ".
> The Lucene JavaDOC only gives a demo about how to grou