lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sascha Janz" <Sascha.J...@gmx.net>
Subject Performance StringCoding.decode
Date Tue, 05 Aug 2014 14:36:18 GMT
hi,

i want to speed up our search performance. so i run test and monitor them with java mission
control.

the analysis showed that one hotspot is 


sun.nio.cs.UTF_8$Decoder.decode(byte[], int, int, char[])
- java.lang.StringCoding.decode(Charset, byte[], int, int)
   - java.lang.String.<init>(byte[], int, int, Charset)	
     -org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.readField(DataInput,

      StoredFieldVisitor, FieldInfo, int)
      -org.apache.lucene.codecs.compressing.CompressingStoredFieldsReader.visitDocument(int,
       StoredFieldVisitor)
       -org.apache.lucene.index.SegmentReader.document(int, StoredFieldVisitor)
        -org.apache.lucene.index.IndexReader.document(int, Set)

we use jdk 1.7.55 and lucene 4.9.0.

is there a chance to speed this up? or do some changes in lucene IndexWriterConfig, e.g. use
an other codec?

we use the default values of IndexWriterConfig


regards
sascha

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message