[JAVA-4972] Add `String` overloads to the SearchPath accepting SearchOperator methods Created: 23/May/23  Updated: 28/Sep/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: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Quarter: FY24Q4
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Currently, to query a single Atlas Search field, one must use the SearchPath (or Iterable<SearchPath>) methods, such as:

SearchOperator.text(fieldPath("genres"),"Drama") 

It'd be more convenient for developers to add String overloaded methods so that this code would be:

SearchOperator.text("genres","Drama") 


Generated at Thu Feb 08 09:03:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.