donnerpeter commented on code in PR #16359:
URL: https://github.com/apache/lucene/pull/16359#discussion_r3528784630


##########
lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/GeneratingSuggester.java:
##########
@@ -437,19 +453,4 @@ private static int commonCharacterPositionScore(String s1, 
String s2) {
     }
     return commonScore;
   }
-
-  private record Weighted<T extends Comparable<T>>(T word, int score)

Review Comment:
   This one was internal. I think the custom implementation can create its own 
equivalent if you're not going to open `GeneratingSuggester` internals



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to