Bug 25743

Summary: Fail to show complete search result after switching search engine
Product: Koha Reporter: yycyyc15138
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: major    
Priority: P5 - low    
Version: 19.11   
Hardware: PC   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description yycyyc15138 2020-06-13 10:11:09 UTC
I switched to ElasticSearch in Search Engine Admin preference. I didnt install ElasticSearch so the page is blank.
I just switched it back to Zebra. But then, the book detail like the author, publisher info under the title are gone. The search result book title is weird as well. There is missing word in the title. For example, if I searched for Secret, then the book secret garden just shows up with garden only.
Comment 1 Katrin Fischer 2020-06-13 17:02:07 UTC
I've never heard about any effect like this. The Zebra index and the templates should not change from switching the pref. Did you change anything else?

I'll recommend bringing up this question on the mailing list first. Also I'd try to restart Plack, Memcache and if that doesn't help do a Zebra reindex. (test after each)
Comment 2 yycyyc15138 2020-06-13 18:12:32 UTC
(In reply to Katrin Fischer from comment #1)
> I've never heard about any effect like this. The Zebra index and the
> templates should not change from switching the pref. Did you change anything
> else?
> 
> I'll recommend bringing up this question on the mailing list first. Also I'd
> try to restart Plack, Memcache and if that doesn't help do a Zebra reindex.
> (test after each)

Thanks for your reply. I didn't change anything else apart from the search engine.
Somehow I changed OpacItemLocation to location and seems like it triggered something and it became normal again. So now, I just hide the location by jquery and everything seems fine....
Comment 3 Katrin Fischer 2020-06-13 18:14:34 UTC
If Plack is set up without Memcached sometimes prefs don't take effect immediately. That's why i suggested the restarts. If you can make it reproducable changing the pref, that would be interesting.