I talked to @nick_vh about this, we should use search_get_default_module_info() to be able to automatically integrate with Solr or whatever other custom search engine people have installed.
I talked to @nick_vh about this, we should use search_get_default_module_info() to be able to automatically integrate with Solr or whatever other custom search engine people have installed.
Comments
Comment #1
wim leersNow in includes/pages.inc/aloha_repository_link().
Comment #2
nick_vhhttp://drupalcode.org/project/aloha.git/blob?f=includes/pages.inc#l17
is this the code you were talking about?
Comment #3
wim leersYes :)
Comment #4
wim leersComment #5
wim leers..
Comment #6
wim leersSo apparently
search_get_default_module_info()is utterly useless. It's only intended to let its callers know at which path it provides search results, it does not provide a function to call to retrieve search results.AFAICT,
hook_search_execute()is the closest thing that we have to an API. Hence I've updated the code to at least use that; now user profiles will also be found.http://drupalcode.org/project/aloha.git/commit/227bc7e
Comment #6.0
wim leersUpdated issue summary.