Item12825: NOSEARCHALL not working
Current State: No Action Required
Released In: n/a
Target Release: n/a
I have very rarely used the
web preference but recently a client requested to hide all non-local content (specifically the System web) from search results. I set NOSEARCHALL in WebPreferences
and figured that would take care of it. It didn't. In searches with web parameter set to
, topics from the System web were still included in results, even for WikiGuest
I've done a little test in the sandbox that demonstrates the issue
As stated in the Docs (here
), in most cases it's much better to use access control to exclude webs from searches, however the feature is still listed in every WebPreference topic. Also, in the use case I mention above, it would probably create all manner of problems restricting view access to the System web.
- 27 Mar 2014
This is fixed on trunk.
Note that Community/Finance is visible because WebPreferences
finalizes NOSEARCHALL, preventing it from being applied. I removed the Final from WebPreferences
, grabbed a new copy for the cache, and it works fine.
Note that NOSEARCHALL is ignored for Admins. ... Changing my take on this. This is probably No Action. Please review. Now that the FINAL is resolved I can't recreate on either trunk or 1.1.9.
was able to view Community/Finance only because of the FINAL setting in Community. So that's fixed, and no webs are shown to WikiGuest
. Just to make sure, I added NOSEARCHALL = on to the Book web, and it also is omitted, even on 1.1.9 for WikiGuest
Looks good. Changing to No Action.
- 30 Dec 2014