lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Bell <billnb...@gmail.com>
Subject max across documents?
Date Mon, 22 Sep 2014 06:05:48 GMT
Is there an easy way to get max() across documents?

i.e.

1. Age = multivalued
56
67
89

2. Next document
5
43
23

How do I get this ?

http://localhost:8983/solr/people/select?q=*:*&fl=sum(max_across_document(age),
6.0, max(age))

I need the max value cross all docs and then add 6 and the max(inside the
field).

Thanks!!




-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076

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