[ https://issues.apache.org/jira/browse/SOLR-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553507#comment-14553507 ]
Shingo Sasaki commented on SOLR-6259: ------------------------------------- I think that the bug in multivalue field happened by this fix. Please read that issue SOLR-7335. > Performance issue with large number of fields and values when using copyFields > ------------------------------------------------------------------------------ > > Key: SOLR-6259 > URL: https://issues.apache.org/jira/browse/SOLR-6259 > Project: Solr > Issue Type: Bug > Affects Versions: 4.8.1 > Reporter: Steven Bower > Assignee: Shalin Shekhar Mangar > Priority: Critical > Fix For: 4.10, Trunk > > Attachments: SOLR-6259.patch > > > When you have schema with a large enough number of fields (in my case around > 250 fields) and you use copyFields to populate a number of fields (very few > in my case 3-4) you see a severe degradation in the performance of ingestion. > Tracking this down using a profiler found that in the lucene > Document.getField() was using 87% of all CPU time. As it turns out getField() > does an iteration over the list of fields in the Document returning the field > if the name matches.. Anyway in the case of copyFields with lots of values > getField() gets called alot... -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org