Just add a recurse = No as a sample is below to the indexing page which 
runs the index.
I was unable to figure out why mine was not working - and it seemed that 
if your collection was setup on the server as recurse=no in CF Admin - 
but in the .cfm page doing the indexing - it was not stated - or stated 
differently - I believe the local page running the index over rode the 
server setting...

anyhow- all you need is this -     recurse="No"

jay miller
<CFINDEX
    collection="#IndexCollection#"
    action="REFRESH"
    type="PATH"
    key="#IndexDirectory#\"
    extensions="#IndexExtensions#"
    recurse="No"
    language="#IndexLanguage#"
    CUSTOM1="Author"
    CUSTOM2="Keywords"
    urlPath="#URLPath#">

Chris Williams wrote:

>Hi all,
>
>I have a verity search which I use the following path for:
>
>w:\inetpub\wwwroot\myname\www
>
>Verity right now searches everything under that www folder. I have sub
>folders under www like
>
>www
>---Hidden
>---Private
>---Other
>---Folder
>document1.htm
>document2.cfm
>document3.html
>
>I want verity to NOT search those subfolders but only the documents actually
>under www. How do I do that?
>
>I set recursive to NO but it still searches the sub folders.
>
>Thanks,
>
>Chris
>
>
>
>
>
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to