[SERVER-75360] Include $search result count (total hits) in slow query log Created: 27/Mar/23 Updated: 29/Oct/23 Resolved: 10/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 6.0.6, 5.0.18 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Alexander Lukyanchikov | Assignee: | Ted Tuckman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Integration
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v6.0, v5.0
|
||||||||
| Participants: | |||||||||
| Description |
|
Today, slow query logs which involve $search queries already include additional search-related information, but we could also benefit from having the returned count from searchMeta: https://www.mongodb.com/docs/atlas/atlas-search/counting/ |
| Comments |
| Comment by Githook User [ 26/Apr/23 ] |
|
Author: {'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}Message: |
| Comment by Githook User [ 19/Apr/23 ] |
|
Author: {'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}Message: |
| Comment by Githook User [ 10/Apr/23 ] |
|
Author: {'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com', 'username': 'TedTuckman'}Message: |