About MySelf
Hi, I’m Sudarsan Srinivasan, a software engineer workin in an MNC. During my college days, I thought I’d learn more after joining a company. Sadly though, it doesn’t seem to quench my thirst for knowledge - one of the reasons I came up with CodeLog, to learn and share what I’ve gained. Initially I was writing in wordpress under the name Programmers’ Log. Then my friend, Srinivasan (a.k.a cnu) was talking about starting a social blogging network - thats how Blogial came into picture. You can have your own blog in Blogial if you’d like to share something useful with the world.
Happy blogging !!


Hello Sudarsan,
I am a 26 years old guy from Spain doing my first steps my Lucene…
I saw that ages ago you post this in stackoverflow forum:
“Assume that I have a field called price for the documents in Solr and I have that field faceted. I want to get the facets as ranges of values (eg: 0-100, 100-500, 500-1000, etc). How to do it?
I can specify the ranges beforehand, but I also want to know whether it is possible to calculate the ranges (say for 5 values) automatically based on the values in the documents?”
I am going mad trying to do the same as you ask in the second question. I actually have done it using highfreqterms and facetcounts (not using solr) but it’s working so slow. Did you find any other solution using solr or anything else?
I would really apreciate an advice.
Thanks in advance.
Marc Sturlese Gaya
14 Oct 08 at 3:31 pm
Hai Marc,
The post was actually written by Srinivasan (AKA. cnu). He will definetly get you a solution
sudarsanyes
15 Oct 08 at 9:40 am
Hi Marc Sturlese Gaya,
I haven’t done the automatic ranging of values. I didn’t get enough time to work on that problem. BTW did you try implementing this answer.
cnu
15 Oct 08 at 11:55 am
Dear Sudarsan,
I have coded my own system using straight lucene. I have read in many forums that the best solution is to use Solr. I am trying to set it up in my system now to see if I can get better performance with it…
Thank you very much for your time.
Marc Sturlese Gaya
15 Oct 08 at 12:39 pm