Search code examples
drupalsearchdrupal-5google-search-appliance

Un-Published items showing in Drupal search results (google search appliacne)


I inherited a Drupal 5 site recently and have a series of enhancements to make. Several of then revolve around search results.

  1. Unpublished pages showing up in search engine results. Some of these are old pages, others are recently unpublished. All are correctly marked as unpublished in the CMS and are still showing up.

  2. Outdated pages are showing up from the search engine. The URL path structure changed and those items are old results in the DB.

From what I can tell the site uses Google Search Appliance(GSA) for the search rather than the default Drupal search. Is there a way I can be certain that it's using GSA other than seeing the module enabled?

If it is GSA it seems that I could get someone with access to the GSA to rebuild the search results on the site. Is this correct?

If rebuilding the search results is the right way to go about it, it seems whenever a fair amount of content is removed from the site I'll need to get someone to rebuild the search. Is there a better/automatic way?


Solution

  • Sounds like it's drupal that is handling the search. Google would need db access to show unpublished nodes. It could be you are using views to do search but forgot to only take published nodes.

    If Drupal is handling the searchyou just need to flush and rebuild the search index. This can be done without too much trouble if you don't have too much content.