[
https://issues.apache.org/jira/browse/SOLR-17441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884757#comment-17884757
]
David Smiley commented on SOLR-17441:
-------------------------------------
It's be useful to communicate in the description what Solr operation(s) this
impacts.
> MetricUtils optimization: skip unreadable properties
> ----------------------------------------------------
>
> Key: SOLR-17441
> URL: https://issues.apache.org/jira/browse/SOLR-17441
> Project: Solr
> Issue Type: Improvement
> Reporter: Haythem Khiri
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Enhance the property introspection logic by skipping unreadable properties
> early in the process. By checking if desc.getReadMethod() is null before
> attempting to access the property, we can avoid unnecessary attempts to
> access properties that do not have a read method. This will reduce the number
> of exceptions thrown and the overhead associated with handling those
> exceptions, improving overall performance and stability.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]