Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Belluz #1
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
-
#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... -
#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: ... -
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... -
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... -
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 -
md1619 #2
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
-
Belluz #3
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



Reply With Quote

