[Koha-bugs] [Bug 20607] New: Elasticsearch - ability to add a relevancy weight in mappings.yaml file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 18 15:40:59 CEST 2018


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

            Bug ID: 20607
           Summary: Elasticsearch - ability to add a relevancy weight in
                    mappings.yaml file
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: claire.hernandez at biblibre.com

The code could be able to inject mappings and weight if a mapping in
mappings.yaml file contains boost-in-simple-search:

Exemple:

  Personal-name:                                                                
    label: Personal-name                                                        
    mappings:                                                                   
      - facet: ''                                                               
        marc_field: 100abcdefghjklmnopqrstvxyz                                  
        marc_type: marc21                                                       
        sort: ~                                                                 
        suggestible: ''                                                         
      - facet: ''                                                               
        marc_field: 100abcdefghjklmnopqrstvxyz                                  
        marc_type: normarc                                                      
        sort: ~                                                                 
        suggestible: ''                                                         
    type: '' 
    boost-in-simple-search: 4              

4 is added in field weight in table search_field.

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


More information about the Koha-bugs mailing list