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.
Hi,
I'm altering a query via hook_search_api_solr_query_alter() and I need to map some fields to their solr equivalent. To map fields I have to use getFieldNames() method from SearchApiSolrService class but this is protected with no reason at all.
This method provides vital functionality for altering queries and should be public!
Or... Is there an alternative on how to access mapping?
Comment | File | Size | Author |
---|---|---|---|
#1 | 1442316--public-field-mapping-1.patch | 3.78 KB | drunken monkey |
Comments
Comment #1
drunken monkeySeems reasonable, patch attached. Please review!
Comment #2
drunken monkeyComment #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.