Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In my project I need to order autocomplete suggestions by the search_api field boost setting.
and the current code is only arranging by the result's count.
this patch suppose to order results by field's boost first and only then by count.
maybe it could be implemented a bit better and also be configure-able... but this patch seems to work for me.
Comment | File | Size | Author |
---|---|---|---|
#1 | search_api_solr_autocomplete.1.patch | 4.07 KB | shaiw |
search_api_solr_autocomplete.1.patch | 4.43 KB | shaiw | |
Comments
Comment #1
shaiw CreditAttribution: shaiw commentedremoved extra space from patch
Comment #2
shaiw CreditAttribution: shaiw commentedComment #3
OanaIlea CreditAttribution: OanaIlea at bio.logis Genetic Information Management GmbH commentedThis issue was closed due to lack of activity over a long period of time. If the issue is still acute for you, feel free to reopen it and describe the current state.