cfindex using recursive directory query and type=path

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default cfindex using recursive directory query and type=path

    Using ColdFusion 6. I generated a query containing a list of the directories I
    want to index ([url]www.cflib.org[/url] has a cfdirectory UDF). I now have a query
    containing 1 field called "FullDirName" (example of contents:
    "D:\Inetpub\MoreSubDirs\animals")
    I have created the cfindex as well.

    <CFINDEX action="refresh" collection="JB_Test" type="path" query="ListIWant"
    KEY="FullDirName"
    EXTENSIONS=".pdf,.doc,.ppt,.xls" RECURSE="Yes" LANGUAGE="English"
    URLPath="http://CorrectURL/docs">

    I am not getting an error, but it is not indexing the documents. Can you do
    the above in version 6 (documentation seems to indicate so) or can you only do
    this in version 7???????


    Belluz Guest

  2. Similar Questions and Discussions

    1. #33140 [Opn->Csd]: Recursive 'mkdir' doesn't work when path includes a non-existent root folder
      ID: 33140 Updated by: iliaa@php.net Reported By: cbelin at free dot fr -Status: Open +Status: Closed...
    2. #33140 [Com]: Recursive 'mkdir' doesn't work when path includes a non-existent root folder
      ID: 33140 Comment by: zefredz at gmail dot com Reported By: cbelin at free dot fr Status: Open Bug Type: ...
    3. cfindex and mapped directory
      I been try to index a folder within a mapped directory but it seem not to be working I am not getting any errors and my access to the directory...
    4. Recursive query
      Hi. My problem is: I have build an "hierarquical" query that selects from a EMPLOYEES table and, for every manager, lists his/her name and in the...
    5. recursive directory list
      Can someone please share code to build a recursive directory list with asp.net and save the same as an xml file. Thanks a lot
  3. #2

    Default Re: cfindex using recursive directory query andtype=path

    I am having a similar problem. I am using CF MX 2004, and have created the
    collection. When I first began using the collection everything was fine,
    however, now I have about 50 documents (20%) that do not get indexed. I tried
    deleting the collection and re-creating to no avail. Here is my <cfindex>:

    <cfindex collection="#url.IndexColl#"
    key="#url.IndexDir#"
    action="update"
    type="path"
    urlpath="#url.IndexDir#"
    extensions=".htm, .html, .cfm, .cfml, .doc, .xls, .rtf, .ppt, .txt, .pdf"
    recurse="yes"
    language="English">

    The indexing goes fine, and I receive no errors, however, those same 50
    documents will not show up.

    Any help would be appreciated!

    Thanks, marcus

    md1619 Guest

  4. #3

    Default Re: cfindex using recursive directory query andtype=path

    The code I used above was correct. The problem was the collection seem to be
    corrupt. I ended up creating a new collection. If I tried populating the
    collection from my browser, it would timeout (even with the ?RequestTimeout =
    ###). I then scheduled the task and ran it on the server and it completed the
    indexing with accurate information.

    Belluz Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139