[JAVA-4971] Add overloads for the `compound` must/mustNot/filter/should clauses to accept a single SearchOperator Created: 23/May/23 Updated: 28/Jul/23 |
|
| Status: | Backlog |
| Project: | Java Driver |
| Component/s: | Builders |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Erik Hatcher | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently these methods take an `Iterable<SearchOperator>`. If there's only one such SearchOperator, it requires doing something like `.must(Arrays.asList(clause))`. It would be more convenient for developers to have overloaded methods that take a single SearchOperator instead of an Iterable. |
| Comments |
| Comment by Ashni Mehta [ 05/Jun/23 ] |
|
Hey – thanks for filing this ticket. It sounds like C#/.NET is another driver in which we'll need to make these changes. I spoke to the PM for that team and IIRC they're targeting next quarter for these changes. I'm going to add this (and JAVA-4972) to the list of items we're considering for Q3 prioritization. |