lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: performance sorting multivalued field
Date Tue, 22 Jun 2010 00:06:54 GMT
Well, sorting requires that all the unique values in the target field
get loaded into memory, so it's possible that's the culprit. This
would likely only show up if you have a relatively small test set,
or the multivalued entries that you added are new to your corpus.
To test this stab in the dark, I'd start by counting the number of
unique terms in the field for the multi-valued and non-multi-valued

But a larger question is whether what your doing is worthwhile
even as just a measurement. You say
"This is good for me, I don't care for my tests". I claim that
you do care. You really can't trust measurements
of something when the behavior is undefined. Which the
behavior of sorting on mutivalued fields is. And it's measuring
something that you had better not be doing anyway in a real
application, so what's the point?


On Sat, Jun 19, 2010 at 7:30 AM, Marc Sturlese <>wrote:

> Hey Erik,
> I am currently sorting by a multiValued. It apears a feature tha't you may
> not know wich of the fields of the multiValued field makes the document be
> in that position. This is good for me, I don't care for my tests.
> What I need to know if there is any performance issue in all of this.
> Thanks
> --
> View this message in context:
> Sent from the Solr - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message