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

Text search term negation processing should use text index instead of fetching

    • Query Integration

      The text stage currently implements the search "foo -bar" by querying the text index for "foo", fetching each document returned from the scan, using the text matcher to filter out documents containing "bar", and returning the resulting set.

      Performance of searches using term negation would be improved greatly if the fetch/matcher steps are eliminated. For "foo -bar", the text stage should query the text index for "foo", then query the text index for "bar", compute the set difference, and then return the resulting set.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            rassi J Rassi
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: