You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Srividhya Umashanker <sr...@gmail.com> on 2014/08/03 18:02:16 UTC

Aggregate functions in lucene queries

Hi group -

I would want do aggregations using lucene. 
Solr does have a feature in function query. 
We are using vanilla lucene.

Example: 

1. Min max avg of a field
2. Count of a particular string in a field
3. Aggregate count, grouped by fields value.

I am thinking facets is the option. Has anyone done it so far?  Is there any other way that you have encountered. 


Please share your thoughts

- Srividhya


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