UISEES-11 Spike - Investigate approach for the search update

Spike goals:

  1. Define approach for the search update for inventory powered by Elasticsearch
  2. Present the approach or describe in the comments to the task
  3. Create stories for the search update implementation


Proposed solutions:

Jira “Advanced” search

  • fulfill search implementation based on Jira Advanced search https://folio-org.atlassian.net/browse/ZF-28?jql=
  • use textarea as a search term
  • add the ability to enter a regular search query to the Jira structure (field - operator - value - keyword) by adding an additional selection string in the dropdown (“arbitrary query string” or “*”)
  • apply operators: “=”, “>”, “<”, “>=”, “<=”, “==”, “(“, “)”
  • apply keywords: “AND”, “OR”
  • add the opportunity to navigate through the entered query with the ability to edit selected values, using keyboard arrows

 

Input field with a multi-select

  • accomplish search realization based on https://rawgit.com/hirokiosame/search.js/master/index.html
  • add the opportunity to enter a simple search query
  • create the structure field – operator – value – keyword
  • apply operators: “=”, “>”, “<”, “>=”, “<=”, “==”, “(“, “)”
  • apply keywords: “AND”, “OR”
  • be able to edit selected values, using keyboard arrows


Selected solution:

Jira “Advanced” search, which will be written from scratch


Advantages:

  • the approach has proven itself in Jira
  • convenient to expand the functionality
  • usability