Bugzilla – Attachment 149228 Details for
Bug 31695
Type standard number is missing field ci_raw in field_config.yaml
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31695: Type standard number is missing field ci_raw in field_config.yaml
Bug-31695-Type-standard-number-is-missing-field-ci.patch (text/plain), 1.41 KB, created by
Kevin Carnes
on 2023-04-06 11:14:23 UTC
(
hide
)
Description:
Bug 31695: Type standard number is missing field ci_raw in field_config.yaml
Filename:
MIME Type:
Creator:
Kevin Carnes
Created:
2023-04-06 11:14:23 UTC
Size:
1.41 KB
patch
obsolete
>From c579a398c5d33d69c85e89485f2f41894756590a Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 5 Oct 2022 10:21:14 -1000 >Subject: [PATCH] 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> >--- > admin/searchengine/elasticsearch/field_config.yaml | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/admin/searchengine/elasticsearch/field_config.yaml b/admin/searchengine/elasticsearch/field_config.yaml >index cf90482aa2..c87cbcae8d 100644 >--- a/admin/searchengine/elasticsearch/field_config.yaml >+++ b/admin/searchengine/elasticsearch/field_config.yaml >@@ -38,6 +38,9 @@ search: > search_analyzer: analyzer_phrase > raw: > type: keyword >+ ci_raw: >+ type: keyword >+ normalizer: icu_folding_normalizer > default: > type: text > analyzer: analyzer_standard >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31695
:
141403
|
149228
|
149231
|
149583
|
149642