this module is nice, it doesn't show certain nodetypes in
the advanced search,
it will be great to have feature to exclude a nodetype from
search indexing,
enky
this module is nice, it doesn't show certain nodetypes in
the advanced search,
it will be great to have feature to exclude a nodetype from
search indexing,
enky
Comments
Comment #1
canen commentedI actually planned on doing this but haven't gotten around to it. I will have to look into it some more.
Comment #2
Bairnsfather commentedCount me in as also in favor of this. I have some stock text in
<noscript>tags on pages I don't want searched or indexed.-Drew
Comment #3
ymcp commentedThis post shows how to exclude a nodetype from the search results, but it requires a (2 line) edit to the search.module file. Still, it might be useful as a basis for adding similar functionality to this module.
Comment #4
FiReaNGeL commentedycmp: thanks for the link. However, it would be nice to be able to stop the 'indexing' of a node type completely. I'd be very interested to see how it is possible - I have 15 millions nodes of a custom node type that I'm already indexing / searching with Lucene, so it would pollute the search table, leading to slow searches for the rest of the site.
Comment #5
bitsize commentedI've used module to configure the Advanced search specifically to only search results on a particular node type.
The Advanced search works perfectly.
How do I get the standard search results to default to the settings of the advanced search?
In other words. I have the header using the search form in my drupal site. The results of a search starting from this search form include results of category nodes, banner nodes and other nodes that aren't truly relevant. Since I've set up the advanced search to only include nodes of type 'page', I would like the standard search results to default to the results of the advanced form. How do I handle this using this (or a different) module?
If I get this working properly, I would then like to disable the advanced search from the page all together....
Does anyone have a suggestion?
Comment #6
canen commentedHello bitsize,
The advance search module doesn't currently do what you want to do, it is merely used for presentation purposes only. You can override the theme_search_item function in your themes template.php file though, e.g., to not have blog or image results show up in your results you could have
You can see http://drupal.org/node/11811 for more information on overriding theme functions.
Comment #7
bitsize commentedThank you so much canen!
The solution was Perfect.
Take it easy.
Lisa
Comment #8
bitsize commentedThanks for the help. This issue is closed.