cpoerschke commented on code in PR #14084:
URL: https://github.com/apache/lucene/pull/14084#discussion_r1901949757
##########
lucene/core/src/java/org/apache/lucene/search/KnnCollector.java:
##########
@@ -85,4 +85,58 @@ public interface KnnCollector {
* @return The collected top documents
*/
TopDocs topDocs();
+
+ /**
+ * KnnCollector.Decorator is the base class for decorators of KnnCollector
objects, which extend
+ * the object with new behaviors.
+ *
+ * @lucene.experimental
+ */
+ abstract class Decorator implements KnnCollector {
+ private KnnCollector collector;
Review Comment:
```suggestion
final private KnnCollector collector;
```
--
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]