Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-8241

Only provide history autocomplete suggestions that are relevant to the current query

    • Developer Tools
    • 3
    • Not Needed
    • Iteration Jupiter

      We should not be providing autocomplete suggestions that aren't relevant to a query that a user has typed in the query bar. For example, if a user has typed more than a historic query (more fields or even just a comma), we should not provide the autocomplete suggestion. Also, we shouldn't provide historic queries as autocomplete suggestions that don't contain the fields that a user has typed so far.

      The screenshots below provide examples of historic queries that should not be given as autocomplete suggestions. 

      None of the suggestions are relevant: 

      Only the query containing "cuisine" and "borough" fields should be included: 

       

       

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            elizabeth.button@mongodb.com Betsy Button
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: