Hi Everyone -
I'm having an issue with my integration of apachesolr 7.x-1.7. I'm trying to add a few additional fields to my sort options, however, the hook mymodule_apachesolr_query_prepare is not being called at all in my template.php file. I've tried the hook mymodule_apachesolr_query_alter and it runs fine, but I don't believe it will do what I need it to do. I'm using Display Suite Search 7.x-2.10 for the search results. The block Apache Solr Core: Sorting is showing the standard sort filters (Relevancy, Title, Type, Author, Date) fine and they all work properly.
Is there some config option I'm overlooking? Shouldn't the hook mymodule_apachesolr_query_prepare run on every search?
I'm happy to provide more information as needed. Thank you in advance for your help!