Issues

Select view

Select search mode

 
50 of 124

Inventory. ES. Implement search across all properties of all records

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

Purpose:
When using postgreSQL in Inventory we had the Query search functionality. Now having elastic search we need to implement the same functionality but now using Elasticsearch, allowing users to be able to conduct a search across all properties of all instance, holdings and item

Scope:

  • create an additional search option that will cover search by all properties from all inventory record types (instance, holdings, item):

    • instance field values

    • holding-record field values

    • item field values

    • all field values

Stories:

  1. Story

    • Login to FOLIO Snapshot as user Diku_admin

    • Select the instance segment (or holdings segment or item segment)

    • When viewing the drop down list

    • Then the search option All is displayed above Query Search

    • In the back end then this search option is: cql.allItems all

  2. Story

    • When the search option All is displayed in the search box

    • and entering the value you want to search for, e.g. missing

    • Then search across all three record types, using the BE functionality implemented and get the results for all record types, where there is a data value 'missing'
       
      Accepted limitation:

  • Relevancy ranking

  • Highlighting the match for the searched string within the record

Acceptance criteria:

  • Implement search options for performing search requests for all field values from instances, items, holding-records

  • UI test must be added

Documentation:
https://github.com/folio-org/mod-search#search-by-all-field-values
 

Environment

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Matt Connolly March 21, 2022 at 6:35 PM

 Was the question about enabling 'search all' for the different environments (from March 1st above) ever resolved? I don't remember hearing anything more about it. If the environmental configuration hasn't been changed to enable this option in ElasticSearch, it won't work.

Michal Kuklis March 21, 2022 at 2:47 PM

I agree with .  will you be able to take a look at this one?

Marc Johnson March 21, 2022 at 11:51 AM

Should I re-open this ticket or do you want me to file a bug ticket?

Ordinarily, my preference would be to re-open an issue rather than create a new one. Although often FOLIO prefers to create new issues.

However in this case, I don't think we should re-open this issue. The code associated with it has already been released in the initial version for lotus. Re-opening it and associating new changes with it would confuse folks trying to understand what was included in Lotus and release management of any fixes we put in place.

Charlotte Whitt March 21, 2022 at 10:59 AM

Hi - has failed the search using the search property 'All' in FOLIO Lotus during Bugfest. And I then tested this work to see if I could reproduce in FOLIO Snapshot - and yes it seem not to work. I'm getting worried that this ticket has been closed without the proper manual test.

Should I re-open this ticket or do you want me to file a bug ticket?

Charlotte Whitt March 1, 2022 at 7:12 PM

- excellent questions. It seems a little odd to me, the suggestion to enable the search all per tenant. I'll check with what's their thinking (and whom spec'ed that). I'll loop you in.

Done

Assignee

Matt Connolly

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 27, 2021 at 2:16 PM
Updated June 29, 2023 at 10:08 AM
Resolved March 3, 2022 at 7:25 PM
TestRail: Cases
TestRail: Runs
Loading...