Skip to content

Requirements for Dictionary Search

Min Gao edited this page Nov 13, 2019 · 8 revisions

Search related data requirement

  • Auto-complete respects word boundary.
  • Search button doesn't respect word boundary.
  • dictionary, language, audience and alias type is case sensitive.
  • auto-complete begin with returns results for begin with
  • Search contains returns results for both begin with and contain

Autocomplete and Search Submit requirements:

  1. If users have selected the “starts with” radio button:
    • Autocomplete returns begins with results
    • When user submits search, the search results page returns all items that match begins with
  2. If users have selected “contains” radio button
    • autocomplete returns contains results (and respects the word boundaries, meaning autocomplete will only return results that have the beginning of the word within the the term)
    • When user submits search, the search results page shows all items that with "begins with" as well as "contains".
      • Right now - drug returns both, but Dictionary only returns begin with
  3. For the Spanish dictionary, search and auto-complete are not sensitive to accents.
  4. Term names and alias names are not case sensitive or accent sensitive.

Clone this wiki locally