Search tests

From AtoM wiki
Revision as of 19:01, 12 August 2014 by Dan (talk | contribs) (minor tweak to page title and breadcrumb)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Main Page > Development > Development/Functional testing > Development/Functional testing/Search tests

Searching for information objects

Basic search functionality

User should be able to enter search queries in the information objects global search box and retrieve complete and accurate results

  • All searches are case insensitive
  • Can enter search query in search query box
  • Hitting enter performs the search
  • Top of results page includes search term and number of matching results
  • Top of results includes a count of results with digital objects, and option to narrow results to just those
    • Clicking this link will narrow results, and no. of narrowed results will match the original count shown
  • At bottom of search results is message reading results x to x of x"
    • Numbers in this message match number of search results shown, and shown at top of page
  • Search results show the following fields (if they are included in the descriptions): title, description, reference code, dates, level of description
  • Clicking title opens the show screen for the description
  • Clicking the parent-level link ("part of") opens the show screen for the parent level
  • Clicking the repository opens the show screen for the repository

Boolean operators

User should be able to use boolean operators to limit search queries

  • When no boolean operator is used, the default operator is OR
  • Using the AND (or &&) operator limits search results to records containing all search terms
  • Using OR (or /) operator limits search results to records containing one or more of the search terms
  • Using AND NOT (or && !) operator limits search results to records that contain the desired search term and excluding the non-desired search term
  • Phrase searching: using quotations will search for exact phrase matches
    • Phrase searching can be used with AND, OR and NOT operators
  • Using astericks (*) at end of term will perform multiple character wildcard. Example: galax* will find galaxy and galaxies, but not galactic.
  • Can use parenthesis to refine searches: for example <term> && ! (<"term term"> / <term>)
  • Using tilda (~) at end of term will perform fuzzy search. Example: fjord~ will find fjord, fjords, ford, form, fonds, etc.
  • Other available operators (see Advanced search documentation in User Manual) perform as expected in global search bar

Searching specified fields

User should be able to search specified fields by entering the field name, followed by a colon and the search query: <field name>:<query>

  • Searches using single terms, boolean operators and phrases work for the following specified fields: (note: for these to work, the case must match exactly)

TODO: Update these fields to current 2x values

    • title
    • levelOfDescription
    • extentAndMedium
    • creator
    • creatorHistory
    • repository
    • acquisition
    • archivalHistory
    • scopeAndContent
    • appraisal
    • accruals
    • arrangement
    • accessConditions
    • reproductionConditions
    • language
    • script
    • physicalCharacteristics
    • findingAids
    • locationOfOriginals
    • locationOfCopies
    • relatedUnitsOfDescription
    • notes
    • subject
    • place
    • name
    • mediatype

Digital object filename -> digitalObject.filename Physical object container name -> physicalObjects.i18n.[culture].name Physical object container location -> physicalObjects.i18n.[culture].location Title statements of responsibility -> titleStatementOfResponsibility.i18n.[culture].value General note -> generalNotes.i18n.[culture].content Alpha-numeric designations -> alphaNumericNotes.i18n.[culture].content Conservation note -> conservationNotes.i18n.[culture].content Physical description note -> physicalDescriptionNotes.i18n.[culture].content Continuation of Title note -> continuationOfTitleNotes.i18n.[culture].content

Information object treeview quicksearch

  • User can search for title and/or identifier in treeview quicksearch
  • Can use wildcards and fuzzy searching
  • Hitting enter OR clicking search icon will launch search
  • top 10 results appear in treeview
  • option to explore ALL child objects in browse page available after search (not just matching results)
  • Clicking on result loads information object view screen for that result
  • User can flip back to treeview, and then return with results preserved in quicksearch tab (if user does not navigate to a different description)

Searching for authority records

User should be able to enter search queries in the authority record search box and retrieve complete and accurate results

  • All searches are case insensitive
  • Can enter search query in search query box
  • Hitting enter performs the search
  • Clicking "search" icon performs the search
  • Search results show the following fields: authorized form of name (shown as link), entity type, dates of existence
  • Top of page includes count of matching results
  • At bottom of search results is message reading results x to x of x
  • Can search on Authorized form of name, Parallel form(s) of name, Standardized form(s) of name, Other form(s) of name
    • Numbers in this message match actual number of search results
  • Clicking authorized form of name opens the show screen for the actor object
  • Boolean operators and phrase searching work as follows:
    • When no boolean operator is used, the default operator is OR
    • Using the AND operator limits search results to records containing all search terms
    • Using OR operator limits search results to records containing one or more of the search terms
    • Using AND NOT operator limits search results to records that contain the desired search term and excluding the non-desired search term
    • Using quotations limits search results to records that contain all search terms as a phrase
    • Phrase searching can be used with AND, OR and NOT operators
    • See above for other boolean options - these should work for authority records as well

Searching for repository objects

User should be able to enter search queries in the repository objects search box and retrieve complete and accurate results

  • Can enter search query in search query box
  • Hitting enter performs the search
  • Clicking "search" performs the search
  • Search results show the following fields:
    • Authorized form of name in the Identity area
    • All fields in the Description area, Access area, and Service area (except Finding aids, guides, and publications in the Description Area)
    • Dates of creation, revision, and deletion, Sources, and Maintenance notes in the Control area
  • Top of search page should have count of matching results
  • At bottom of search results is message reading displaying x to x of x results
    • Numbers in this message match actual number of search results, and top of page results count
  • Clicking logo or name opens the show screen for the repository object
  • Boolean operators and phrase searching work as follows:
    • When no boolean operator is used, the default operator is OR
    • Using the AND operator limits search results to records containing all search terms
    • Using OR operator limits search results to records containing one or more of the search terms
    • Using AND NOT operator limits search results to records that contain the desired search term and excluding the non-desired search term
    • Using quotations limits search results to records that contain all search terms as a phrase
    • Phrase searching can be used with AND, OR and NOT operators

Searching for description updates

User should be able to use the Description updates search page to find information objects, actors, repositories, functions and terms according to when they were created or revised.

  • Clicking Admin > Description updates opens Description updates page
  • Default settings are as follows:
    • Type is Archival description
    • Date range is one month, going back from the current date
    • Date of is Creation
    • Publication status is All
  • Opening the page conducts the search automatically in accordance with the default criteria
  • Can search for the following entity types: information object, person/organization, repository, function, term
  • Can search for all entity types by date created or date revised
  • Search results for date created show "Created" in title bar
  • Search results for date revised show "Updated" in title bar
  • Can filter information object search by publication status
  • All search results accurately reflect search criteria
  • Clicking on link in search results opens show screen for the linked object

Searching in other languages

User should be able to search for objects in languages other than the default language and retrieve complete and accurate results

  • Searching for an information object that was created in another language and has not been translated retrieves the object in the source language
  • Searching for an actor object that was created in another language and has not been translated retrieves the object in the source language
  • Searching for a repository object that was created in another language and has not been translated retrieves the object in the source language
  • Searching for an information object that was created in another language and has been translated retrieves the object in the current language
  • Searching for an actor object that was created in another language and has been translated retrieves the object in the current language
  • Searching for a repository object that was created in another language and has been translated retrieves the object in the current language
  • Search by access point returns results if access points were created in one language and translated into the current language