msokolov commented on a change in pull request #233:
URL: https://github.com/apache/lucene/pull/233#discussion_r684687281



##########
File path: lucene/core/src/java/org/apache/lucene/search/ConjunctionUtils.java
##########
@@ -97,4 +97,11 @@ public static void addIterator(
       List<TwoPhaseIterator> twoPhaseIterators) {
     ConjunctionDISI.addIterator(disi, allIterators, twoPhaseIterators);
   }
+
+  /**
+   * Create a conjunction for a given lead {@link DocIdSetIterator} and an 
array of {@link Values}.
+   */
+  public static DocIdSetIterator createValuesConjunction(DocIdSetIterator 
lead, Values[] values) {

Review comment:
       wdyt about using `Values ...` in the signature instead? At least for 
your one use case it will be cleaner.




-- 
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