Is it possible to facet on date fields and aggregate by day/month/year?

2014-11-16 Thread adfel70
Hi, If my data includes: doc1: date_f: 2014-05-01T00:00:00Z doc2: date_f: 2014-05-02T00:00:00Z doc2: date_f: 2014-06-01T00:00:00Z doc2: date_f: 2014-07-01T00:00:00Z then I can facet on month(date_f) and get 05(2) 06(1) 07(1) or facet on year(date_f) and get 2014(4) Is it supported? --

Re: fl rename of unique key in solrcloud

2014-11-16 Thread Suchi Amalapurapu
Thx Jeon. That worked. Now both the fields are returned in the response. Its a bit inefficient but works neverthless. Suchi On Sat, Nov 15, 2014 at 10:44 PM, Jeon Woosung jeonwoos...@gmail.com wrote: I guess that I caused by shard which return renamed field. following code is source code of

Re: solr IRC

2014-11-16 Thread Shawn Heisey
On 11/15/2014 10:12 PM, Anurag Sharma wrote: Thanks a lot Shawn for the detailed explanation. The wiki is also very helpful. Any recommended client like pidgin, adium etc. especially for windows. The last time I used IRC from a Windows machine (which was a long time ago), I used mIRC. These

Re: Is it possible to facet on date fields and aggregate by day/month/year?

2014-11-16 Thread Erick Erickson
Look at the range faceting stuff. It lets you specify a start date, end date and gap. And you can get results for multiple instances on the same field. So you could specify one set of parameters for date_f where the gap was +1MONTH and another on date_f was +1YEAR. See:

Re: Hierarchical faceting

2014-11-16 Thread rashmy1
Thank you Evan and Oleg. This is exactly what I had implemented (Option 2). My issue is Evan Pease wrote Then, in your Solr query, you can simply add: facet=true facet.field=category You should see a facet that contains each level of the taxonomy with counts. As you mentioned, we get

Re: Hierarchical faceting

2014-11-16 Thread Alexandre Rafalovitch
Would this approach be an answer? https://lucidworks.com/blog/easy-hierarchical-faceting-and-display-with-solr-and-jquery-and-a-tiny-bit-of-python/ Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr

Can I be added to the Wiki contributors group?

2014-11-16 Thread Xavier Morera
I mean for: https://wiki.apache.org/solr/FrontPage My username is XavierMorera Regards, Xavier -- *Xavier Morera* Entrepreneur | Author Trainer | Consultant | Developer Scrum Master *www.xaviermorera.com http://www.xaviermorera.com/* office: (305) 600-4919 cel: +506 8849-8866