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
l Message
>> From: vivek sar
>> To: solr-user
>> Sent: Wednesday, July 8, 2009 8:34:16 PM
>> Subject: Boosting for most recent documents
>>
>> Hi,
>>
>> I'm trying to find a way to get the most recent entry for the
>> searched word. Fo
ct: Boosting for most recent documents
>
> Hi,
>
> I'm trying to find a way to get the most recent entry for the
> searched word. For ex., if I have a document with field name "user".
> If I search for user:vivek, I want to get the document that was
> indexed
Hi,
I'm trying to find a way to get the most recent entry for the
searched word. For ex., if I have a document with field name "user".
If I search for user:vivek, I want to get the document that was
indexed most recently. Two ways I could think of,
1) Sort by some time stamp field - but with mi
11 matches
Mail list logo