Project:Sphinx search
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

While digging into sphinxsearch, I found that it's using NODE_BUILD_SEARCH_INDEX and NODE_BUILD_SEARCH_RESULT node build modes for index building. As you may know CCK 2.0 gives ability to setup it's fields according to specific node build mode. But search build modes can only be configured when drupal's search module is enabled. It's because CCK overides it's own hook instead search module in function search_content_build_modes(). As it's a hook, it doesn't executes while search module is disabled.

With using sphinx search there are no need to have search module at all, but there is a strainght need to make settings to CCK fields in search. So, it will be nice if sphinxsearch will implement hook_content_build_module() instead of search module.

I created the patch which allow to do so. Thanks for review.

AttachmentSize
sphinxsearch.module.patch482 bytes

Comments

#1

Status:active» needs review

#2

Status:needs review» reviewed & tested by the community

Thank you! I didn't know this. I'll include it in the next commit.

nobody click here