Bug 27091 - Document how Elasticsearch is supposed to work and implement respective configurations
Summary: Document how Elasticsearch is supposed to work and implement respective confi...
Status: Needs documenting
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact:
URL:
Keywords: Manual
Depends on:
Blocks:
 
Reported: 2020-11-25 13:22 UTC by Joonas Kylmälä
Modified: 2023-07-01 14:11 UTC (History)
6 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Kylmälä 2020-11-25 13:22:46 UTC
Elasticsearch is very flexible search engine and has many configuration options. We should document our expectations on how it should work and also because then it would allow the users to understand how to form their queries in the best possible way. After documenting the configuration we want based on the expectations we should tune the indexing and search configuration parameters accordingly.

The bug 27070 makes the Elasticsearch searches more Zebra like by trying to match search keywords across all fields but is this exactly what we want in the end? What if we have only a number in the search query should we try to query numeric fields then only or also string fields? How should the weights work? For weight documentation we should have an basic configuration for it in our default mappings.yaml file so that we have some idea how it will be used in real world.
Comment 2 Frédéric Demians 2021-01-26 07:23:04 UTC
Where could this documentation take place? Koha wiki? What should it cover exactly? We should stop now adding functionalities, or fine tuning an implementation which is obfuscated by overengineering.
Comment 3 Katrin Fischer 2021-01-31 15:11:14 UTC
(In reply to Frédéric Demians from comment #2)
> Where could this documentation take place? Koha wiki? What should it cover
> exactly? We should stop now adding functionalities, or fine tuning an
> implementation which is obfuscated by overengineering.

As a lot of libraries are already using Elasticsearch in production stopping the fine tuning and bug fixing appears not possible. What would you suggest?