Posted by robertdouglass on June 21, 2006 at 6:25pm
I've got nodes categorized under multiple categories. Lets say one of those nodes has the keyword "Huba" and is categorized under A, B and C. In the search results for Huba, I'm getting links to nodes A, B and C, as well as for the node containing Huba. This doesn't seem right to me. Please explain. My mistake? Bug? Feature?

Comments
Bug, kind of
I guess this is a bug. Since the category module appends node listings to the body of category nodes (through hook_nodeapi's 'view' op), these node listings get indexed, along with the "real body". This should not be happening, because only the actual pages for those nodes should get indexed, not the links/teasers of those nodes on category pages.
I haven't looked into setting it up so that the search module only indexes part of the node body. I don't even know if this is possible through hook_search(), or through some other API mechanism. Would appreciate any advice that anyone may have on this.
I've filed a bug report for this: http://drupal.org/node/70212
Jeremy Epstein - GreenAsh
Jeremy Epstein - GreenAsh