The prepare_node_data function returns an empty dict if the node is not of the INDEX_ALLOWED_NODE_TYPES, or if it's not published, etc.
The prepare_node_data function returns an empty dict if the node is not of the INDEX_ALLOWED_NODE_TYPES, or if it's not published, etc.