On 21-Sep-07, at 8:27 AM, Rafael Rossini wrote:
Hi all,
I´m considering on doing something like a "light-weight olap"
server with
lucene/solr. To achieve that I´d have to do some math operantions
on facets.
Is that possible?
For example, my documents would be a purchase row, like (id,
value, id_department, id_store, id_region ...). If I did a facet
query for
id_deparment the server would return me something like: deparment1:
500,
deparment2: 400... Is it possible to get the sum, or avg or any math
operation on the field value? Than the server would return me:
deparment1:
1000000 (the sum of each value) .... Is it clear?
Currently this is not possible out of the box with Solr.
-Mike