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

Björn Nylén <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #4 from Björn Nylén <[email protected]> ---
Created attachment 146585
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146585&action=edit
[Do not push] - Experimental support for function_score

We've been experimenting a bit with function_score query in our ES-searches as
we're having the same problems with not very relevant records showing high in
the results.

The patch allows us to assign different function_score-functions to
promote/demote records in the resultlist.

It's a bit of work in progress but if someone wants to try it out:
Apply patch
Create a Local use syspref, ElasticsearchFunctionScore , textarea
Fill in syspref with yaml representing av array of function scores as
understood by ES.
Eg(modify itype to local condidtions):
- filter:
    match:
      itype: "3"
  weight: 1.5

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to