Hi,
 
I was checking the SortedDocValuesField and its performance in Sort as opposed 
to a normal i.e. StringField and its performance in the same sort. So, I used 
the same string/bytesref value in both fields and in separate JVM processes, I 
launched the two sorts.

I used a RAMDirectory and created a million items. The SortedDocValuesField 
sort took 12/13 seconds and consumed approx 500-550 megs of RAM whereas the 
StringField took 10/11 seconds and consumed 350-400 megs of RAM. 
Is this normal behavior? I was expecting the SDVF to perform better since it is 
indexed for sorting and not stored for any other purpose.

-----------------------

Thanks n Regards,
Sandeep Ramesh Khanzode

Reply via email to