When a check is made to see if a node can be indexed the node type variable is checked first, then if the node type can be indexed the database is checked to see if the individual node can be indexed. If there is no entry in the database because the node hasn't been updated and explicitly allowed to be indexed since the upgrade to this branch. If a node type is added and a node of that type is updated the default is to not have the checkbox checked in the node form. Thus unless a site administrator goes through all nodes of that type and checks the box, or write an update hook in a custom module to add the nodes to the database.

I would like a checkbox on the configuration page to allow for this (include by node type unless explicitly excluded) functionality.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jrglasgow created an issue. See original summary.

jrglasgow’s picture

attached is a patch to add this feature

jrglasgow’s picture

FileSize
2.7 KB

the last patch accidentally included a fix for another issue, this is a better patch

jrglasgow’s picture

Status: Active » Needs review
schiavone’s picture

Assigned: Unassigned » timwood

Thanks. Will review.

timwood’s picture

@schiavone did you mean to assign this issue to me? If so, how can I help?

schiavone’s picture

@timwood oops

schiavone’s picture

Assigned: timwood » schiavone

  • schiavone committed 53b190b on 7.x-5.x authored by jrglasgow
    Issue #2834389 by jrglasgow: allow node type to be indexed where node...
schiavone’s picture

Status: Needs review » Fixed

This patch is now included in the 7.x-5.4 release

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.