-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Integration
-
ALL
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-98368 made the change to pass a view object to mongot instead of the view name. This was under the information that mongot would accept this view object. However, based on the mongot source code, this isn't the case and mongot still only accepts viewName. (edit: looking into it more I think that the change was that search index commands now accept the view object but search queries still only expect the view name)
mongot does not throw an error when it receives fields it does not recognize, so this issue went unnoticed until now. One error that appears from this behavior is passing a collection index to a search on a view, which would incorrectly run the search on the collection. The query should just return no results (because the index does not belong to the view).
- is related to
-
SERVER-98368 remove viewName from request to mongot
-
- Closed
-