lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma - Buyways B.V." <>
Subject Functions in search result
Date Tue, 04 Aug 2009 08:37:09 GMT
Solr people,

Can i retrieve results from a function query? For instance, i have a
schema in which all documents have a size in bytes field. For each
query, i also need to sum of the bytes field for the returned documents.
I know i can use SUM as part of a function query but i cannot figure it
out if it even works for me.

I prefer doing it with Solr and have the sum in the in the response
header or somewhere similar instead of iterating over the entire
resultset myself. Also, iterating over the resultset would not really
work for me either since i also need paging through start= and rows= to
limit the show documents but still keeping the sum of bytes the same.


Markus Jelsma                  Buyways B.V.             Tel. 050-3118123
Technisch Architect            Friesestraatweg 215c     Fax. 050-3118124          9743 AD Groningen        KvK  01074105

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