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
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
: 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
, 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
>>> > --
>>>
stamp approach.
>> >
>> > Otis
>> > --
>> > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>> >
>> >
>> >
>> > - Original Message
>> >> From: vivek sar
>> >> To: solr-user@lucene.ap
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
> >
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
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
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
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
10 matches
Mail list logo