[COMPASS-4469] Error when trying to do a atlas search query using java driver Created: 19/Oct/20 Updated: 01/Jun/22 |
|
| Status: | Open |
| Project: | Compass |
| Component/s: | Export to Language |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Dushan Silva | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Story Points: | 3 |
| Description |
|
Hi all,
However, I'm getting the following error
I assume that there is an issue with the java driver since when I did a quick debug I found that Filters.and is evaluated as $and, the query that is going to the backend is wrong. if my approach is wrong could you please point me to the correct documentation or source in which I can achieve the above requirement? Thank you, |
| Comments |
| Comment by Durran Jordan [ 20/Oct/20 ] | |
|
For text search Compass should generate code like:
| |
| Comment by Githook User [ 19/Oct/20 ] | |
|
Author: {'name': 'Durran Jordan', 'email': 'durran@gmail.com', 'username': 'durran'}Message: JAVA-3868: Update overridden add method javadoc | |
| Comment by Githook User [ 19/Oct/20 ] | |
|
Author: {'name': 'Durran Jordan', 'email': 'durran@gmail.com', 'username': 'durran'}Message: JAVA-3868: Update docs to reflect and filter behaviour | |
| Comment by Cloud GitHub Webhooks [ 19/Oct/20 ] | |
|
durran merged a pull request (JAVA-3868 Update docs to reflect and filter behaviour) into the following branch: |