Uploaded image for project: 'ui-search-es'
  1. ui-search-es
  2. UISEES-26

Replace Query Search with Advance Search option

    XMLWordPrintable

Details

    • Falcon Sprint 107, Falcon Sprint 108
    • Falcon

    Description

      Purpose:
      To add Elasticsearch option to the existing search box in Search and Filter pane.
      Note: the suggestion box will be anchored to the left not as depicted on the mockup
      Scenarios:

      1. Scenario:
        • Given the Search and Filter pane
        • When the user clicks on the Keyword search arrow
        • Then Advanced Search option replaces existing Query Search
      2. Scenario:
        • Given Advanced Search is selected on the Instance tab
        • When the user starts typing
        • Then the supported search options are suggested. The supported options are: Keyword (title, contributor, identifier), Title (all), Contributors, Identifiers (all), ISSN, ISBN, Subject, Instance UUID and Instance HRID
      3. Scenario:
        • Given Advanced Search is selected on the Holdings tab
        • When the user starts typing
        • Then the supported search options are suggested. The supported options are: Keyword (title, contributor, identifier), ISSN, ISBN, Call Number and Holdings HRID
      4. Scenario:
        • Given Advanced Search is selected on the Item tab
        • When the user starts typing
        • Then the supported search options are suggested. The supported options are: Keyword (title, contributor, identifier), Barcode, ISSN, ISBN, Call Number and Item HRID
      5. Scenario:
        • Given Advanced Search is selected
        • When the user selects one of the supported search options
        • Then the supported operators are displayed. The supported operators are: "=" (Please see Additional information #3 below)
      6. Scenario:
        • Given Advanced Search is selected
        • When the user selects one of the supported operators
        • Then the user can type the terms(s) to be searched for.
      7. Scenario:
        • Given Advanced Search is selected
        • When the user finishes entering a search term
        • Then the supported boolean operator is suggested. The supported boolean operators are: "AND" and "OR"
      8. Scenario:
        • Given Advanced Search is selected
        • When the user finished selecting supported boolean operator
        • Then the user can enter another supported search option as described in scenarios above
      9. Scenario: nice to have
        • Given the user enters search criteria in the Advanced Search textbox
        • When the entered text does not fit in the existing textbox
        • Then the text is automatically wrapped and the textbox grows
      10. Scenario:
        • Given Elasticsearch criteria are provided
        • When the user clicks the Search button
        • Then the Results pane is populated with records fulfilling search criteria

      Additional information:

      1. ISBN and ISSN search as implemented in scope of MSEARCH-24
      2. Call number search as implemented in scope of MSEARCH-12
      3. The implementation supports grouping but the parenthesis will need to be entered by the user - they will not suggested as the user types
      4. End of entered search term is marked by entering:
      • space or
      • a closing quotation mark or
      • a closing parenthesis

      Out of scope:

      1. Autocomplete for searched terms
      2. If user enters multi-word search value, it's users responsibility to surround it by quotes
      3. Search syntax validation
      4. Syntax help

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Dmytro_Melnyshyn Dmytro Melnyshyn
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases