Aw: Re: Re: Facet ranges and stats

2017-06-01 Thread Per Newgro
sheel Kumar" > An: solr-user@lucene.apache.org > Betreff: Re: Re: Facet ranges and stats > > Great, it worked out. If you want to share where and in what code you have > 90 configured, we can brainstorm if we can simplify it to have only one > place. > > On Thu, J

Re: Re: Facet ranges and stats

2017-06-01 Thread Susheel Kumar
ny are complete and how many not. > > A drawback is surely that the "complete" limit of 90 is now implemented in > two places (DIH script and my code). > But so far i can life with it. > > Thank you > Per > > > Gesendet: Mittwoch, 31. Mai 2017 um 17:28 Uhr >

Aw: Re: Facet ranges and stats

2017-06-01 Thread Per Newgro
are complete and how many not. A drawback is surely that the "complete" limit of 90 is now implemented in two places (DIH script and my code). But so far i can life with it. Thank you Per > Gesendet: Mittwoch, 31. Mai 2017 um 17:28 Uhr > Von: "Susheel Kumar" > An: sol

Re: Facet ranges and stats

2017-05-31 Thread Susheel Kumar
Hi, You may want to explore the JSON facets. The closest I can go to meet above requirement is below query (replace inStock with your rank field and price below with total. Null handling something also will have to look. -- Susheel curl http://localhost:8983/solr/techproducts/query -d 'q=*:*&

Facet ranges and stats

2017-05-31 Thread Per Newgro
Hello, i would like to generate some stats on my facets. This is working so far. My problem is that i don't know how to generate Ranges on my facets and calculate the stats for it. I have two fields in my schema -> rank(string) and total(float, nullable) Rank can be A or B or C. In case my obje