Lucene has a grouping module that has several approaches for grouping
search hits, though it's only by a single field I believe.

Mike McCandless

http://blog.mikemccandless.com


On Sun, Aug 9, 2015 at 2:55 PM, Gimantha Bandara <giman...@wso2.com> wrote:
> Hi all,
>
> Is there a way to achieve $subject? For example, consider the following SQL
> query.
>
> SELECT A, B, C SUM(D) as E FROM  `table` WHERE time BETWEEN fromDate AND
> toDate *GROUP BY X,Y,Z*
>
> In the above query we can group the records by, X,Y,Z. Is there a way to
> achieve the same in Lucene? (I guess Faceting would help, But is it
> possible get all the categoryPaths along with the matching records? ) Is
> there any other way other than using Facets?
>
> --
> Gimantha Bandara
> Software Engineer
> WSO2. Inc : http://wso2.com
> Mobile : +94714961919

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to