[Koha-bugs] [Bug 27113] ElasticSearch: Autocomplete in input search
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 28 22:44:37 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27113
--- Comment #30 from Ivan Dziuba <ivan.dziuba at inlibro.com> ---
Created attachment 121497
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121497&action=edit
I have changed CGI::Session->new() from CGI::Session->load() for use session.
This condition - 'CGI::Session->load() or die CGI::Session->errstr();'
I am not sure that was good idea to use 'die' in this condition...What do you
think?
Thanks!
Bug 27113: (follow-up) Correction with Session
TEST PLAN
Important! In this patch we need to do reindex ElasticSearch. ElasticSearch
must have all information in his index.
1. Go Intranet -> Preference -> SearchEngine -> ElasticSearch
!! APPLY PATCH !!
2. Mapping is good (Intranet -> Catalog -> Search engine configuration
(Elasticsearch) ).
!Recommended 'Reset Mapping' -> 'Yes'
3. In your koha-conf.xml file you must have good <index_name> for
<elasticsearch> and version ES
4. Update Preference:
./installer/data/mysql/updatedatabase.pl
If that passe good you can look the lines:
- DEV atomic update: bug_27113-elasticsearch_autocomplete_input_search.perl
- Upgrade to XXX done : Bug 27113 - Autocomplete input on main page with
elasticsearch
5. After that we can look two options in the preferences:
- IntranetAutocompleteElasticSearch;
- OPACAutocompleteElasticSearch;
4. For add information in the index we must run script for reindexing:
./misc/search_tools/rebuild_elasticsearch.pl -v -d
5. Waiting for the end of indexing
6. Go on Preference and find :
- IntranetAutocompleteElasticSearch;
- OPACAutocompleteElasticSearch;
Value "Show" turn on autocomplete.
7. Now we have Autocomplete for Intranet/OPAC search input (advanced search
also)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list