Is the sorted query slow only the first time or every time you run it?

You got an OOM?  What -Xmx value are you using?  Try increasing it.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: christophe <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Friday, October 17, 2008 1:28:52 PM
> Subject: Sorting performance 
> 
> Hi,
> 
> I'm doing some tests with Solr1.3
> I have loaded around 7M documents, each with a few stored and indexed 
> fields.
> 
> This query: text:sometext returns the results, sorted by score in a few 
> milliseconds. (I display 10 out of 8747 matched documents)
> This one: text:sometext;id desc   takes something like 60s or more to 
> return the data (when it doesn't fails with an out of memory error). (id 
> is a string type).
> I have tried to display only id, same results.
> 
> Any ideas ? I'm sure I'm doing something wrong.....
> 
> My schema is based on the sample, with the following fields:
> 
>   
> /> 
>   
>   
>   
>   
>   
> multiValued="true" />
>   
> default="NOW" multiValued="false"/>
>   
> 
> 
> Thanks
> Christophe

Reply via email to