Bugzilla – Attachment 80278 Details for
Bug 18316
Add weighting/relevancy options to ElasticSearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18316: remove use_dis_max
Bug-18316-remove-usedismax.patch (text/plain), 848 bytes, created by
Alex Arnaud
on 2018-10-09 14:30:06 UTC
(
hide
)
Description:
Bug 18316: remove use_dis_max
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2018-10-09 14:30:06 UTC
Size:
848 bytes
patch
obsolete
>From 9ecd9cfdca91f25bc5b53141dccb4cb0808f02c4 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Tue, 9 Oct 2018 14:27:20 +0000 >Subject: [PATCH] Bug 18316: remove use_dis_max > >It is true by default on ES 5 and has been removed on ES 6 >--- > Koha/SearchEngine/Elasticsearch/QueryBuilder.pm | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >index baeb660..fd98c36 100644 >--- a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >+++ b/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm >@@ -93,7 +93,6 @@ sub build_query { > default_field => '_all', > lenient => JSON::true, > fields => $options{fields}, >- use_dis_max => JSON::true, > } > }; > >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18316
:
61472
|
73139
|
73140
|
73492
|
73493
|
73600
|
73601
|
74112
|
74115
|
74116
|
74117
|
74714
|
74720
|
74751
|
74752
|
74753
|
74754
|
75073
|
75074
|
75075
|
75076
|
75458
|
75490
|
75519
|
75520
|
75521
|
75522
|
75523
|
75524
|
75525
|
75526
|
75527
|
75528
|
75529
|
75530
|
75531
|
75536
|
75537
|
75538
|
75539
|
75540
|
75541
|
75699
|
75730
|
77661
|
77662
|
77663
|
77664
|
77665
|
77666
|
77667
|
78396
|
78397
|
78398
|
78399
|
78400
|
78401
|
78402
|
78403
|
80278
|
80335
|
81004
|
81005
|
81006
|
81007
|
81008
|
81009
|
81010
|
81011
|
81012
|
81507
|
81508
|
81509
|
81510
|
81511
|
81512
|
81513
|
81514
|
81515
|
81516
|
82050