[Koha-bugs] [Bug 18969] Elasticsearch - _all field is deprecated - should use copy_to to prepare for ES6

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 12 11:42:51 CEST 2018


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

David Gustafsson <glasklas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |glasklas at gmail.com

--- Comment #8 from David Gustafsson <glasklas at gmail.com> ---
I might be mistaken, I will try to look it up to be certain. But I think when
using the query string query in Elasticsearch, the default_field parameter is
set to "*.*" as default, so all fields are searched anyway. No need to copy all
fields to yet another field, this will also have a negative impact on search
performance without improving accuracy, and increase the size of the index.
Also, for field boosts to work (title:(title search)^2, each field must be
queried individually. A better solution would be to just remove "_all", and
even better to produce a relevant list of fields for setting the
"fields"-parameter (excluding sortable and facetable fields for example). I
will start working on a patch taking this approach, so will probably have a
proposal ready quite soon.

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


More information about the Koha-bugs mailing list