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

David Smiley updated SOLR-17441:
--------------------------------
    Summary: MetricUtils optimization: skip unreadable properties  (was: Skip 
Unreadable Properties Early to Reduce Overhead)

> 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: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to