[ 
https://issues.apache.org/jira/browse/SOLR-6259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar reassigned SOLR-6259:
-------------------------------------------

    Assignee: Shalin Shekhar Mangar

> 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
>         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.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to