Re: Date faceting - howto improve performance

2009-04-30 Thread Marcus Herou
Thanks should have grep'ed the source of course (like I always seem to end up with doing haha) /M On Wed, Apr 29, 2009 at 10:13 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > Some basic documentation is in the example schema.xml. Ask away if you have > specific questions. > > On T

Re: Date faceting - howto improve performance

2009-04-29 Thread Shalin Shekhar Mangar
Some basic documentation is in the example schema.xml. Ask away if you have specific questions. On Thu, Apr 30, 2009 at 1:00 AM, Marcus Herou wrote: > Aha! > > Hmm , googling wont help me I see. any hints of usages ? > > /M > > > On Tue, Apr 28, 2009 at 12:29 AM, Shalin Shekhar Mangar < > shalinm

Re: Date faceting - howto improve performance

2009-04-29 Thread Marcus Herou
Aha! Hmm , googling wont help me I see. any hints of usages ? /M On Tue, Apr 28, 2009 at 12:29 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > Sorry, I'm late in this thread. > > Did you try using Trie fields (new in 1.4)? The regular date faceting won't > work out-of-the-box for

Re: Date faceting - howto improve performance

2009-04-27 Thread Shalin Shekhar Mangar
Sorry, I'm late in this thread. Did you try using Trie fields (new in 1.4)? The regular date faceting won't work out-of-the-box for trie fields I think. But you could use facet.query to achieve the same effect. On my simple benchmarks I've found trie fields to give a huge improvement in range sear

Re: Date faceting - howto improve performance

2009-04-27 Thread Marcus Herou
pr 25, 2009 at 3:46 PM, Otis Gospodnetic < > >> otis_gospodne...@yahoo.com> wrote: > >> > >>> > >>> I should emphasize that the PR trick I mentioned is something you'd do > at > >>> the Lucene level, outside Solr, and then you'd

Re: Date faceting - howto improve performance

2009-04-27 Thread Ning Li
'd just slip the modified index >>> back into Solr. >>> Of, if you like the bleeding edge, perhaps you can make use of Ning Li's >>> Solr index merging functionality (patch in JIRA). >>> >>> >>> Otis -- >>> Sematext -- http://s

Re: Date faceting - howto improve performance

2009-04-25 Thread Marcus Herou
Of, if you like the bleeding edge, perhaps you can make use of Ning Li's >> Solr index merging functionality (patch in JIRA). >> >> >> Otis -- >> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> >> >> >> ----- Original Message

Re: Date faceting - howto improve performance

2009-04-25 Thread Marcus Herou
into Solr. >> Of, if you like the bleeding edge, perhaps you can make use of Ning Li's >> Solr index merging functionality (patch in JIRA). >> >> >> Otis -- >> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> >> >> >> -

Re: Date faceting - howto improve performance

2009-04-25 Thread Marcus Herou
; > Otis -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: Otis Gospodnetic > > To: solr-user@lucene.apache.org > > Sent: Saturday, April 25, 2009 9:41:45 AM > > Subject: Re: Date faceting - howto impro

Re: Date faceting - howto improve performance

2009-04-25 Thread Otis Gospodnetic
(patch in JIRA). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Otis Gospodnetic > To: solr-user@lucene.apache.org > Sent: Saturday, April 25, 2009 9:41:45 AM > Subject: Re: Date faceting - howto improve performance > > >

Re: Date faceting - howto improve performance

2009-04-25 Thread Otis Gospodnetic
Yes, you could simply round the date, no need for a non-date type field. Yes, you can add a field after the fact by making use of ParallelReader and merging (I don't recall the details, search the ML for ParallelReader and Andrzej), I remember he once provided the working recipe. Otis -- Semat

RE: Date faceting - howto improve performance

2009-04-25 Thread Smiley, David W.
Hi Marcus. You must supply dates in the format that you are doing now -- ISO-8601 with the Z to indicate there is no time-zone offset occurring. To reduce cardinality to the day level instead of to the second that you are currently performing, the date you supply can include DateMathParser ope