Re: Boosting for most recent documents

2009-08-03 Thread Yonik Seeley
On Mon, Aug 3, 2009 at 2:46 PM, vivek sar wrote: > So, if I run only one sort query once in a day there would still be > 4GB required at all time. Is there any way to tell Solr/Lucene to > release the memory once the query has been run? Basically I don't want > cache. I've commented out all the cac

Re: Boosting for most recent documents

2009-08-03 Thread vivek sar
Hi, Related question to "getting the latest records first". After trying few suggested ways (function query, index time boosting) of getting the latest first I settled for simple "sort" parameter, sort=field+asc As per wiki, http://wiki.apache.org/solr/SchemaDesign?highlight=(sort), Lucen

Re: Boosting for most recent documents

2009-07-16 Thread Chris Hostetter
: Does anyone know if Solr supports sorting by internal document ids, : i.e, like Sort.INDEXORDER in Lucene? If so, how? It does not. in Solr the decisison to make "score desc" the default search ment there is no way to request simple docId ordering. : Also, if anyone have any insight on if

Re: Boosting for most recent documents

2009-07-15 Thread vivek sar
, 2009 at 2:21 PM, Otis >>> Gospodnetic wrote: >>> > >>> > Ah, with multiple indices you can't rely on the max Lucene doc Id.  I >>> think you have to do with the timestamp approach. >>> > >>> > Otis >>> > -- >>>

Re: Boosting for most recent documents

2009-07-10 Thread vivek sar
stamp approach. >> > >> > Otis >> > -- >> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch >> > >> > >> > >> > - Original Message >> >> From: vivek sar >> >> To: solr-user@lucene.ap

Re: Boosting for most recent documents

2009-07-09 Thread Bill Au
ave to do with the timestamp approach. > > > > Otis > > -- > > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > > > > > - Original Message > >> From: vivek sar > >> To: solr-user@lucene.apache.org > >

Re: Boosting for most recent documents

2009-07-09 Thread vivek sar
stamp approach. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message >> From: vivek sar >> To: solr-user@lucene.apache.org >> Sent: Thursday, July 9, 2009 1:13:54 PM >> Subject: Re: Boosting fo

Re: Boosting for most recent documents

2009-07-09 Thread Otis Gospodnetic
ursday, July 9, 2009 1:13:54 PM > Subject: Re: Boosting for most recent documents > > Thanks Otis. I got a distributed index - using Solr multi-core. > Basically, I got 6 indexer instances running on 3 different boxes. > Couple of questions, > > 1) Is it possible to sort on d

Re: Boosting for most recent documents

2009-07-09 Thread vivek sar
Thanks Otis. I got a distributed index - using Solr multi-core. Basically, I got 6 indexer instances running on 3 different boxes. Couple of questions, 1) Is it possible to sort on document id for multiple-shards? How is that done? 2) How would boost by most recent doc at index time? Thanks, -vi

Re: Boosting for most recent documents

2009-07-08 Thread Otis Gospodnetic
Sort by the internal Lucene document ID and pick the highest one. That might do the job for you. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: vivek sar > To: solr-user > Sent: Wednesday, July 8, 2009 8:34:16 PM > Subject: Boosting fo