Timeline for Change the Solr Operator to OR
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 11, 2013 at 11:19 | comment | added | Clive♦ |
@user1108509 The hook is named hook_search_api_solr_query_alter() for that module, there's a list of them in the search_api_solr.api.php file that comes with the module
|
|
Apr 30, 2013 at 14:00 | comment | added | user1108509 | Once again thanks for your help i have tried this on a custom module but it seems that hook is not available on the www.drupal.org/project/search_api_solr module. is there any other way to do this? thanks | |
Apr 29, 2013 at 17:04 | comment | added | Boriana Ditcheva | Hey there, this should be your own separate module, but it can be quite minimal, since all you really would need is your .info file, and the hook above in your .module file (of course, with your module's name substituted in for the 'HOOK' part). This does indeed work with apachesolr, and I'm not sure if your module would call that hook... | |
Apr 26, 2013 at 20:14 | comment | added | user1108509 | Thanks for the tips i have tried to use the hook in my template.php file but there is no change does this have to be in a custom module. also i am using the drupal.org/project/search_api_solr module not drupal.org/project/apachesolr so am guessing the hook may not work in this case? | |
Apr 26, 2013 at 19:23 | history | edited | Boriana Ditcheva | CC BY-SA 3.0 |
added 6 characters in body
|
Apr 26, 2013 at 19:09 | history | answered | Boriana Ditcheva | CC BY-SA 3.0 |