[Koha-bugs] [Bug 18316] Add weighting/relevancy options to ElasticSearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 28 14:41:14 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18316

Gaetan Boisson <gaetan.boisson at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gaetan.boisson at biblibre.com

--- Comment #4 from Gaetan Boisson <gaetan.boisson at biblibre.com> ---
Alex is working on this.

We are assuming relevancy working is mostly important for simple search, or
what zebra calls the "keyword" index.

What we plan to do:

Add columns to the "search fields" tab of the search engine configuration page,
where the user will be able to indicate a weight for each field.

This will allow to configure the way the simple search is weighted: it will
search in all fields for which a weight has been indicated. If no weight was
indicated it will search in all fields. (In addition, this allows excluding
some search fields from the simple search!)

This will not affect advanced search, in which the user can pick indices
himself. (But it could, and we would then run the query with the weight defined
for each field.)

The possibility to add a weight to a search field will only be offered if this
field is used in the biblio mapping. So it won't be possible to give weight to
a field only used in the authorities mapping, or defined but unused.

In the future it should be possible to have "koha indices" that search across
multiple elasticsearch fields, each with a different weight. But this seems a
bit ambitious for now, especially with 18.05 so close. So this seems like a
reasonable goal for the next release, and certainly a very useful one.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list