slow-J opened a new issue, #12243: URL: https://github.com/apache/lucene/issues/12243
### Description Currently, the [KeywordField](https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/document/KeywordField.java) class provides a public static method `newSetQuery(String field, BytesRef... values)`. However, this method only supports varargs parameter for values. I would like to propose adding a new static method that allows for a collections parameter for values, as this would provide greater flexibility. Proposed method signature: `public static Query newSetQuery(String field, Collection<BytesRef> values)` I am willing to make the changes and submit a pull request. Please let me know if there are any concerns or feedback. Thank you! -- 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: issues-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org