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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 16 12:39:52 CEST 2018


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

Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joonas.kylmala at helsinki.fi

--- Comment #89 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
(In reply to Katrin Fischer from comment #88)
> 3.2) Can you explain this line?
> <input type="hidden" name="advsearch" value="1"/>

It is used in search.pl to enable weighted field search to any other search
expect the one done in the Advanced search page
(/cgi-bin/koha/catalogue/search.pl):

unless ( $cgi->param('advsearch') ) {
    $build_params->{weighted_fields} = 1;
}

So if the advsearch parameter equals '1' the weighted search is disabled.

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


More information about the Koha-bugs mailing list