Re: How to get "max(date)" from a facet field? (Solr 6.3)

2016-11-21 Thread Michael Joyner
I think I figured out a very hacky "work around" - does this look like it will work consistently? json.facet={ code_s:{ limit:-1, type:terms, field:code_s, facet:{ issuedate_tdt:{ type:terms, field:issuedate_tdt,

Re: How to get "max(date)" from a facet field? (Solr 6.3)

2016-11-21 Thread Yonik Seeley
On Mon, Nov 21, 2016 at 3:42 PM, Michael Joyner wrote: > Help, > > (Solr 6.3) > > Trying to do a "sub-facet" using the new json faceting API, but can't seem > to figure out how to get the "max" date in the subfacet? > > I've tried a couple of different ways: > > == query == >

How to get "max(date)" from a facet field? (Solr 6.3)

2016-11-21 Thread Michael Joyner
Help, (Solr 6.3) Trying to do a "sub-facet" using the new json faceting API, but can't seem to figure out how to get the "max" date in the subfacet? I've tried a couple of different ways: == query == json.facet={ code_s:{ limit:-1, type:terms,field:code_s,facet:{