[ 
https://issues.apache.org/jira/browse/LUCENE-9902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314853#comment-17314853
 ] 

Michael McCandless commented on LUCENE-9902:
--------------------------------------------

{quote}I wonder if we need a specific 8.9 CHANGES.txt entry for this change so 
that it gets picked up in the 8.9 release?
{quote}
What we typically do is, in {{main}} branch, put a {{CHANGES.txt}} entry under 
the {{8.9.0}} release section (not in the {{9.0}} section!).  And then 
backport.  This way there is only one entry for each change, appearing under 
the earliest release that first got that feature/fix.

> Update faceting API to use modern Java features
> -----------------------------------------------
>
>                 Key: LUCENE-9902
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9902
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/facet
>            Reporter: Gautam Worah
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I was using the {{public int getOrdinal(String dim, String[] path)}} API for 
> a single {{path}} String and found myself creating an array with a single 
> element. We can start using variable length args for this method.
> I also propose this change:
>  I wanted to know the specific count of an ordinal using using the 
> {{getValue}} API from {{IntTaxonomyFacets}} but the method is private. It 
> would be good if we could change it to {{protected}} so that users can know 
> the value of an ordinal without looking up the {{FacetLabel}} and then 
> checking its value.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to