It seemed like a good idea to extend the ability of faceted searches to non-published nodes.
Obviously this would be a feature used only by those who already have access to unpublished items, but this also makes faceted searches useful for site-admins / editors.
The additional functionality would only be available to user with the 'administer nodes' access.
Attached is my proposed patch.
-Patrick
| Comment | File | Size | Author |
|---|---|---|---|
| faceted_search_unpublished_nodes.patch | 1.3 KB | Patrick Hubert |
Comments
Comment #1
david lesieur commentedThe patch applies and works well.
The only issue I'm finding with this is that
search.moduledoes not indexes unpublished nodes (see functionnode_update_index()), so while unpublished nodes would be returned by guided searches, they would never appear in keyword search results. I wonder what to do with that inconsistency... I'd rather not patchnode.module, but that looks like the only way, except of course if we choose to let this inconsistency happen.Comment #2
david lesieur commentedComment #3
david lesieur commentedCommitted, with the addition of a setting for choosing whether we want unpublished nodes in search results.
The setting's default value avoids changing Faceted Search's current behavior, while its description is a good space for explaining that unpublished nodes are never indexed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.