Uploaded image for project: 'ui-eholdings'
  1. ui-eholdings
  2. UIEH-429

Add parameter advancedsearch=true to GET Titles request

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • None
    • Sprint 42, 1.0.0
    • None
    • eHoldings Sprint 42
    • 2

    Description

      Support Boolean/Exact Phrase/Wildcard Character operators when searching Titles

      General Requirement

      Boolean Search

      • Can only conduct a Boolean search when advancedsearch=true and Boolean operators NOT/OR/AND are in all caps
      • If both requirements are not met then the search will be no different than the current search behavior

      Exact Phrase Search

      • Can only conduct an exact phrase search when advancedsearch=true and search query is enclosed by "double quotation marks"
      • If both requirements are not met then the search will be no different than the current search behavior
      • When conducting an "exact phrase search" then RM API will return any title that contains the exact phrase. Example below.

      Wildcard

      • Can only conduct an exact phrase search when advancedsearch=true and search query includes an asterisk
      • If both requirements are not met then the search will be no different than the current search behavior
      • When conducting a wildcard search then RM API will return any title that contain the characters in the search query. Example below.
      • NOTE: per Mohan this behavior will be corrected but no timeframe right now. The better behavior is for the search to return results that start with the characters entered to search.

      Nested search

      • Nested searches are supported as long as search is enclosed with parentheses AND advancedsearch=true. Example below.
      Search query Search Type Expected Outcome
      "Harvard Business Review" exact phrase Returns only titles that contain the phrase Harvard Business Review
      Radical Equations Civil search without boolean operators Should return titles that contain Radical or Equations or Civil. In other words, search behaves as current.
      "Civil War" OR "War between the states" exact phrase using Boolean operator only return results that contain the Civil War or War between the states
      comp* wildcard search return results that contain comp (i.e. computer, compute, non-compete)
      fashion OR dress boolean OR operator since OR is in all CAPS should conduct a Boolean OR search
      fashion or dress or is not in all CAPS search will behave as current. RM API will return results with fashion, or, dress.
      (physical OR mental) AND illness nested search and multiple boolean operators returns results with physical OR mental and illness in the title

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                sduvvuri Sobha Duvvuri
                kgambrell Khalilah Gambrell
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases