Summary: | Add "current publication frequency" to Elasticsearch index mappings (MARC21 310$a) | ||
---|---|---|---|
Product: | Koha | Reporter: | Aleisha Amohia <aleisha> |
Component: | Searching - Elasticsearch | Assignee: | Alex Buckley <alexbuckley> |
Status: | Needs documenting --- | QA Contact: | Nick Clemens (kidclamp) <nick> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | alexbuckley, david, lucas, martin.renvoize |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | Sponsored | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This updates the default Elasticsearch mappings to include MARC 310$a - current publication frequency. Please note that this will only affect new installations. If mappings are reset to default on existing installations a full reindex is required.
|
|
Version(s) released in: |
24.11.00
|
Circulation function: | |
Attachments: |
Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings
Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings |
Description
Aleisha Amohia
2024-04-30 04:59:05 UTC
Created attachment 166615 [details] [review] Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings Test plan: 1. Start up KTD with Elasticsearch: ktd --es8 up 2. Apply this patch and restart all services (restart_all) 3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) 4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev 5. Alternative to steps 3 and 4: reset_all 6. Update the visibility for 310$a in the default framework so that it is visible inte Editor (OPAC, Staff interface should already be selected). 7. Add a new record using the default framework and put a term in 310$a, such as 'Annual'. Sponsored-by: Education Services Australia SCIS Created attachment 166652 [details] [review] Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings Test plan: 1. Start up KTD with Elasticsearch: ktd --es8 up 2. Apply this patch and restart all services (restart_all) 3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) 4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev 5. Alternative to steps 3 and 4: reset_all 6. Add a new record using the default framework and put a term in 310$a, such as 'Annual'. Sponsored-by: Education Services Australia SCIS This is ready to test. Note: We have taken a similar approach in this patchset as we did in bug 36723 - that is, only include the addition to the index mappings and leave the advanced search dropdown additions as a customisation for our client who requested it. Created attachment 167329 [details] [review] Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings Test plan: 1. Start up KTD with Elasticsearch: ktd --es8 up 2. Apply this patch and restart all services (restart_all) 3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) 4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev 5. Alternative to steps 3 and 4: reset_all 6. Add a new record using the default framework and put a term in 310$a, such as 'Annual'. Sponsored-by: Education Services Australia SCIS Signed-off-by: David Nind <david@davidnind.com> Testing notes (using KTD): 1. In staff interface or OPAC (after patch is applied, etc), can search for this using Current-publication-frequency:Annual in the standard catalog search box ==> Result: 3 results - the one added, and two existing sample records that have Annual in 310$a Created attachment 172142 [details] [review] Bug 36725: Add Current publication frequency 310$a to Elasticsearch index mappings Test plan: 1. Start up KTD with Elasticsearch: ktd --es8 up 2. Apply this patch and restart all services (restart_all) 3. Reset the mappings: Administration > Catalog > Search engine configuration (Elasticsearch) > Reset mappings (at the bottom of the page) 4. Reindex: koha-elasticsearch --rebuild -d -b -a kohadev 5. Alternative to steps 3 and 4: reset_all 6. Add a new record using the default framework and put a term in 310$a, such as 'Annual'. Sponsored-by: Education Services Australia SCIS Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Pushed for 24.11! Well done everyone, thank you! |