You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jae Joo <ja...@gmail.com> on 2008/03/17 21:42:04 UTC

sort by uniq fields

I have 30 millions document indexed and tried sort by "sequenceid" which is
unique over the document.
I am experiencing "very slow" than sort by pub_date.
sequenceid is not defined as "unique key" in the schema.xml and there is the
"unique key" defined in schema.xml - item_id.

Anyone knows why?

Thanks,

Jae

Re: sort by uniq fields

Posted by Yonik Seeley <yo...@apache.org>.
The first time sort on a particular field is normally slow.
Subsequent sorts on the same field should be just as fast.

-Yonik

On Mon, Mar 17, 2008 at 4:42 PM, Jae Joo <ja...@gmail.com> wrote:
> I have 30 millions document indexed and tried sort by "sequenceid" which is
>  unique over the document.
>  I am experiencing "very slow" than sort by pub_date.
>  sequenceid is not defined as "unique key" in the schema.xml and there is the
>  "unique key" defined in schema.xml - item_id.
>
>  Anyone knows why?
>
>  Thanks,
>
>  Jae
>