Index whole node?

aaustin - January 3, 2008 - 20:28
Project:Index CCK Node Reference
Version:5.x-0.1-beta1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Have you considered having the option to index the whole node?

I have two types of nodes - parent and child. I only want the parent node to come up in searches but want the content of the child nodes to be indexed with the parent.

So I am using search_config to hide child nodes from the index but was looking for an existing module that would allow me to index the child with the content for the parent. I know this is sort of nominal to do with some custom code stuck in a custom module that would look pretty much like your module.

$text .= node_view(node_load(array('nid' => $node->nid)), FALSE, TRUE, TRUE);

What do you think?

 
 

Drupal is a registered trademark of Dries Buytaert.