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

Adrien Grand resolved LUCENE-10506.
-----------------------------------
    Fix Version/s: 9.2
       Resolution: Fixed

> ProfilerCollector to support customizing how name is derived
> ------------------------------------------------------------
>
>                 Key: LUCENE-10506
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10506
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/sandbox
>            Reporter: Luca Cavanna
>            Priority: Minor
>             Fix For: 9.2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> ProfilerCollector (part of the sandbox) has a private method called 
> deriveCollectorName that extracts the class simple name from the provided 
> collector and sets it as the name of the collector which becomes part of the 
> profile results later.
> While the default behaviour is reasonable, there are cases where it would be 
> useful to extend this logic, and perhaps not use class names, or enhance that 
> with more context that the collectors could provide. This could be achieved 
> by making the deriveCollectorName method protected.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to