lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gimantha Bandara <>
Subject GROUP BY in Lucene
Date Sun, 09 Aug 2015 18:55:20 GMT
Hi all,

Is there a way to achieve $subject? For example, consider the following SQL

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 :
Mobile : +94714961919

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message