And don't forget to test with sortable DocValues. I mean, sorting (and
faceting) was one of the main motivations for DocValues.
-- Jack Krupansky
-----Original Message-----
From: Otis Gospodnetic
Sent: Friday, July 05, 2013 3:42 PM
To: solr-user@lucene.apache.org
Subject: Re: Sorting
Hi Kowish,
Here is an easy way to find out:
1 use copyField to copy from string to tlong
2 use ab or JMeter to hammer Solr while sorting on one or the other
field (separate runs)
3 compare :)
Since you have SLAs, I'm assuming you already have 2 and 3 in place.
Otis
--
Solr & ElasticSearch Support -- http://sematext.com/
Performance Monitoring -- http://sematext.com/spm
On Fri, Jul 5, 2013 at 10:42 AM, kowish.adamosh
<kowish.adam...@gmail.com> wrote:
Hi,
What should be faster: sorting by field of type string (solr.StrField) or
long (solr.TrieLongField).
In both cases values are numbers so I can decide what type of field to
use.
Is it possible to speed up sorting by unique field? With sorting my
queries
are 10-100 times slower and I can't meet SLA with sorting ...
Kowish
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sorting-tp4075747.html
Sent from the Solr - User mailing list archive at Nabble.com.