Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-96723

Reorganize jstests/core/index/ directory

    • Query Optimization

      My sense from looking at a few of the tests in this directory is that they are not about index construction or index maintenance, but rather about the query system's ability to construct and execute indexed plans. There are also a few tests for specific features mixed in, such as tests for wildcard indexes or index filters.

      Since these are really query engine tests, I suggest that we migrate these tests from jstests/core/index/ into jstests/core/query/, or subdirectories of jstests/core/query/. Tests which simply build some indexes, run queries (with or without hints) and assert that those queries return the correct results can probably remain in jstests/core/query/ for now. Tests pertaining to specific query engine features such as wildcard indexes should probably be moved to appropriately named subdirectories.

      Also see this related ticket about improving the naming of these tests: SERVER-96696.

            Assignee:
            Unassigned Unassigned
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: