Hello -
I have created a verity collection to search my website. While testing, I have
found that the results return files from directories I do not want to be
searched through.
I have tried using something like this to remove the directory I do not want
searched from the verity collection:
<cfindex
action="refresh"
collection="Web2008"
key="C:\WEBDATA\WEBS\www"
type="path"
urlpath="http://www.mysite.com/"
extensions=".htm, .html, .cfm"
recurse="yes"
custom2="program"
>
<cflock
name="Web2008"
timeout="60">
<cfindex
collection="KSBWeb2008"
action="delete"
type="path"
key="C:\WEBDATA\WEBS\www\blog\admin"
extensions=".cfm"
recurse="no">
</cflock>
Is this the correct syntax? Do I index the collection then index it again with
the directory or directories I don't want to show up in the search results?
Also, can I specify multiple directories when I specify which ones to delete
from the collection? Would it be:
key="C:\WEBDATA\WEBS\www\blog\admin","C:\WEBDATA\WEBS\www\site\admin"
Thanks,
Adam
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive:
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3230
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15