Closed (fixed)
Project:
Search API Solr
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2010 at 12:31 UTC
Updated:
6 Jul 2012 at 17:34 UTC
When executing a search, a method for altering the specific Solr query is currently missing. This should be introduced with a new search_api_solr_query alter hook.
Comments
Comment #1
drunken monkeyAdded two hooks:
-
hook_search_api_solr_query_alter()for altering normal search queries.-
hook_search_api_solr_multi_query_alter()for altering multi-index queries.The code is rather ugly, but hopefully it won't be much longer until a better Solr library for PHP becomes available.
Comment #3
mgifford@drunken monkey Not sure if your concerns for the PHP library have been addressed by more recent versions if the Solr PHP library, but both of these have come out since your comment in 2010.
http://code.google.com/p/solr-php-client/downloads/list
http://pecl.php.net/package/solr