Dear Yonik, Hi, The entire index has 50k documents not the faceted one. It is just a test case right now! I used the JSON facet API, here is my query after encoding:
http: //10.102.1.5: 8983/solr/edgeIndex/select?q=*%3A*&fq=stat_owner_id: 122952&rows=0&wt=json&indent=true&facet=true&json.facet=%7bresult: %7b type: range, field: stat_date, start: 146027158386, end: 1460271583864, gap: 10000 %7d%7d Sincerely, On Sun, Apr 10, 2016 at 4:56 PM, Yonik Seeley <ysee...@gmail.com> wrote: > On Sun, Apr 10, 2016 at 3:47 AM, Ali Nazemian <alinazem...@gmail.com> > wrote: > > Dear all Solr users/developeres, > > Hi, > > I am going to use Solr JSON facet range on a date filed which is stored > as > > long milis. Unfortunately I got java heap space exception no matter how > > much memory assigned to Solr Java heap! I already test that with 2g heap > > space for Solr core with 50k documents!! > > You mean the entire index is 50K documents? Or do you mean the subset > of documents to be faceted? > If you're getting an OOM with the former (with a 2G heap), it sounds > like you've hit some sort of bug. > > What does your faceting command look like? > > -Yonik > -- A.Nazemian