[Koha-bugs] [Bug 12430] Truncation disables relevance ranking (and has issues when using QueryParser)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 17 08:23:10 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12430

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
In any case, you can add relevance mappings to QueryParser by adding additional
config in queryparser.yaml.

For instance:
  title:
    title:
      enabled: 1
      bib1_mapping:
        biblioserver: 30

This will add relevance ranking to a title search with a field weight of 30.

However, it's worth noting that QueryParser seems to often fall back to
non-QueryParser mode for more complicated indexes like "ti,phr", so...I
wouldn't go out and make a lot of QP mappings just yet...

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


More information about the Koha-bugs mailing list