[Bug 31695] New: Type standard number is missing field ci_raw in field_config.yaml
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Bug ID: 31695 Summary: Type standard number is missing field ci_raw in field_config.yaml Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Searching - Elasticsearch Assignee: koha-bugs@lists.koha-community.org Reporter: fridolin.somers@biblibre.com In Elasticsearch fields config field_config.yaml, default type as a field 'ci_raw'. This is used for exact search. This field is missing for type standard number 'stdno'. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=27153 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|koha-bugs@lists.koha-commun |fridolin.somers@biblibre.co |ity.org |m -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 --- Comment #1 from Fridolin Somers <fridolin.somers@biblibre.com> --- One can see here the call with ci_raw https://git.koha-community.org/Koha-community/Koha/src/commit/2f583efa5b399d... -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 --- Comment #2 from Fridolin Somers <fridolin.somers@biblibre.com> --- Created attachment 141403 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141403&action=edit Bug 31695: Type standard number is missing field ci_raw in field_config.yaml In Elasticsearch fields config field_config.yaml, default type as a field 'ci_raw'. This is used for exact search. This field is missing for type standard number 'stdno'. Test plan : 1) Use Elasticsearch search engine 2) For authorities, configure a search field with type 'standard number' 3) Go to authorities search 4) Perform a search on an existing value, with 'contains' => Result is found with or without patch 5) Perform a search on an existing value, with 'is exactly' => Result is found only with patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nick@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #3 from David Nind <david@davidnind.com> --- I'm not sure how to do step 2 - happy to test if you can show how to do that. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 --- Comment #4 from Fridolin Somers <fridolin.somers@biblibre.com> --- (In reply to David Nind from comment #3)
I'm not sure how to do step 2 - happy to test if you can show how to do that.
I mean in Administration > Search engine configuration (Elasticsearch) In tab Search fields, choose a field and change its type to "Std. Number". For example "identifier-standard" is already of this type. In tab Authorities use this search field on some MARC field. Rebuild authorities index. And create of edit an authority with this MARC field. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Kevin Carnes <kevin.carnes@ub.lu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #141403|0 |1 is obsolete| | --- Comment #5 from Kevin Carnes <kevin.carnes@ub.lu.se> --- Created attachment 149228 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149228&action=edit Bug 31695: Type standard number is missing field ci_raw in field_config.yaml In Elasticsearch fields config field_config.yaml, default type as a field 'ci_raw'. This is used for exact search. This field is missing for type standard number 'stdno'. Test plan : 1) Use Elasticsearch search engine 2) For authorities, configure a search field with type 'standard number' 3) Go to authorities search 4) Perform a search on an existing value, with 'contains' => Result is found with or without patch 5) Perform a search on an existing value, with 'is exactly' => Result is found only with patch Signed-off-by: Kevin Carnes <kevin.carnes@ub.lu.se> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Kevin Carnes <kevin.carnes@ub.lu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevin.carnes@ub.lu.se Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Kevin Carnes <kevin.carnes@ub.lu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149228|0 |1 is obsolete| | --- Comment #6 from Kevin Carnes <kevin.carnes@ub.lu.se> --- Created attachment 149231 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149231&action=edit Bug 31695: Type standard number is missing field ci_raw in field_config.yaml In Elasticsearch fields config field_config.yaml, default type as a field 'ci_raw'. This is used for exact search. This field is missing for type standard number 'stdno'. Test plan : 1) Use Elasticsearch search engine 2) For authorities, configure a search field with type 'standard number' 3) Go to authorities search 4) Perform a search on an existing value, with 'contains' => Result is found with or without patch 5) Perform a search on an existing value, with 'is exactly' => Result is found only with patch Signed-off-by: Kevin Carnes <kevin.carnes@ub.lu.se> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Frido or Kevin, can you please update/detail the test plan a little? What I tried without the patch: * Add 035$a to an authority record with 12345678 * Search for it in staff: entire record, contains = it's found * Search for it in staff: entire record, is exactly = it's found There is no standard number option in the index pull down for authorities. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Kevin Carnes <kevin.carnes@ub.lu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149231|0 |1 is obsolete| | --- Comment #8 from Kevin Carnes <kevin.carnes@ub.lu.se> --- Created attachment 149583 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149583&action=edit Bug 31695: Type standard number is missing field ci_raw in field_config.yaml In Elasticsearch fields config field_config.yaml, default type as a field 'ci_raw'. This is used for exact search. This field is missing for type standard number 'stdno'. Test plan : 1) In the staff interface, go to Administration, and search for SearchEngine 2) Make sure that the SearchEngine preference is set to Elasticsearch and save 3) Return to Administration and select "Search engine configuration" 4) Change the type of "Heading-Main" to "Std. Number" and save 5) Rebuild the index (e.g. "koha-elasticsearch --rebuild -d kohadev") 6) Go to the main staff page and select Authorities 7) Search for a heading (e.g. "A Dual-language book") => Result is found with or without patch 8) Click on the sliders and select "is exactly" for the operator and search => Result is found only with patch 9) Apply the patch 10) Rebuild the index (e.g. "koha-elasticsearch --rebuild -d kohadev") 11) Click on the sliders and select "is exactly" for the operator and search => Result is found only with patch Signed-off-by: Kevin Carnes <kevin.carnes@ub.lu.se> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Kevin Carnes <kevin.carnes@ub.lu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149583|0 |1 is obsolete| | --- Comment #9 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 149642 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149642&action=edit Bug 31695: Type standard number is missing field ci_raw in field_config.yaml In Elasticsearch fields config field_config.yaml, default type as a field 'ci_raw'. This is used for exact search. This field is missing for type standard number 'stdno'. Test plan : 1) In the staff interface, go to Administration, and search for SearchEngine 2) Make sure that the SearchEngine preference is set to Elasticsearch and save 3) Return to Administration and select "Search engine configuration" 4) Change the type of "Heading-Main" to "Std. Number" and save 5) Rebuild the index (e.g. "koha-elasticsearch --rebuild -d kohadev") 6) Go to the main staff page and select Authorities 7) Search for a heading (e.g. "A Dual-language book") => Result is found with or without patch 8) Click on the sliders and select "is exactly" for the operator and search => Result is found only with patch 9) Apply the patch 10) Rebuild the index (e.g. "koha-elasticsearch --rebuild -d kohadev") 11) Click on the sliders and select "is exactly" for the operator and search => Result is found only with patch Signed-off-by: Kevin Carnes <kevin.carnes@ub.lu.se> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl QA Contact| |m.de.rooy@rijksmuseum.nl -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |23.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 --- Comment #10 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 23.05. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |Pushed to stable Version(s)|23.05.00 |23.05.00,22.11.05 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 --- Comment #11 from Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> --- Nice work everyone! Pushed to stable for 22.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com Version(s)|23.05.00,22.11.05 |23.05.00,22.11.05,22.05.13 released in| | Status|Pushed to stable |Pushed to oldstable --- Comment #12 from Lucas Gass <lucas@bywatersolutions.com> --- Backported to 22.05.x for upcoming 22.05.13. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31695 Arthur Suzuki <arthur.suzuki@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|23.05.00,22.11.05,22.05.13 |23.05.00,22.11.05,22.05.13, released in| |21.11.21 CC| |arthur.suzuki@biblibre.com --- Comment #13 from Arthur Suzuki <arthur.suzuki@biblibre.com> --- applied to 21.11 for 21.11.21 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org