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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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