OpenDevelopmentMekong / ckanext-odm_dataset

A CKAN extension which provides with template files and logic to implement OD Mekong's datasets
http://data.opendevelopmentmekong.net
1 stars 1 forks source link

Keyword suggestions should not be splitted by whitespace #427

Open acorbi opened 7 years ago

acorbi commented 7 years ago

On SOlr, keywords are being indexed and used for search. the Keywords field also presents the editor with suggestion from the index keywords. These are currently returned splitted so a keyword such as "GG World group" would be returned as 3 separate keywords. See:

"facet_counts":{
    "facet_queries":{},
    "facet_fields":{
      "extras_odm_keywords":[
        "none",4,
        "1",1,
        "2",1,
        "3",1,
        "aaa",1,
        "elc",1,
        "gg",1,
        "group",1,
        "tag",1,
        "world",1]},
    "facet_dates":{},
    "facet_ranges":{},
    "facet_intervals":{}}}