Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Rich_Willmore #1
CFINDEX stops responding
We are trying to index with TYPE=PATH a directory which contains roughly 20k
files. These files are a collection of HTML, DOC, and PDF. I have tried
multiple times to index this directory using CFINDEX. Though according to the
task manager the index has completed in roughly 20-30 minutes the CFINDEX CFM
template does not respond. Furthermore my post CFINDEX processing tags do not
fire off either. I have ommitted all file extensions except HTM/HTML and still
get the same result. However, in the end the index is healthy and I can bounce
criteria off of it with CFSEARCH. It does seem intact. Any suggestions? I
would like to schedule this CFM template to run nightly but fear that we will
run into problems since the post CFINDEX processing tags deletes certain
black-listed keys from this particular site -- very imporant. -- Rich
Rich_Willmore Guest
-
Contribute stops responding when publishing
I am using Contribute 3 and DW 8. I have created a publisher user that can open and edit files without a problem. However, when he tries to either... -
Server stops responding to requests, vague error
Our site is experiencing the same errors. Win 2003, IIS, CF 6.1, SQL 2k Ent. Did you find a solution? -
FM Pro stops responding on search via ASP/ODBC
Hi, I'm not a filemaker developer so please forgive me if this is insultingly easy or stupid! I am having problems trying to run a SQL query... -
IIS 6.0 stops responding
My company has jsut upgraded to WIN 2003 Web Edition IIS 6.0. With the upgrade IIS is locking on one of our websites, when go to log in the page... -
Photoshop stops responding on startup
Ok, so I click on Photoshop 7... then the window will come up, but just the Photoshop window with grey background... now usually the little... -
-
Tom Jordahl #3
Re: CFINDEX stops responding
What version CF?
Does the index work if you break the work in to smaller chunks? Is there a
particular file or directory that causes the template to get stuck?
--
Tom Jordahl
Macromedia Server Development
Tom Jordahl Guest
-
robstacey #4
Re: CFINDEX stops responding
I have the same problems with indexing if anything else is happening on the
server at the same time. So, what I do is run an initial, manual index on the
really large collections from the administrator last at night (when I know
there will be no activity) and then have a sceduled task to run every night
that is designed to update all the documents. I am sucessful updating about
50k documents a night with this method.
robstacey Guest
-
Rich_Willmore #5
Re: CFINDEX stops responding
We are CF 6.1 w/ latest patches etc... The CFINDEX does not seem to stop on a
particular file or file type. I do have better luck when indexing smaller
chunks of the data with CFINDEX.
Indexing via CF admin does seem to work better and updating the index on a
scheduled interval would pick up all the newly added documents. The problem
(to the best of my knowledge) is deleting the KEY(s) from the index once a file
has been removed. I do not believe UPDATE will do that -- may be wrong. So
scheduling a nightly REFRESH was going to be our approach.
Many many thanks for the help thus far.
-- Rich
Rich_Willmore Guest
-
robstacey #6
Re: CFINDEX stops responding
Refresh will purge then update the collection, thereby deleting the keys and
readding them. Update will just add the new keys. So, if you have a lot of
changes in what you are indexing then yes, refresh is better, but will take
considerably longer to accomplish than update would. Just as a point of
reference, to run an update on all my collections takes 4-5 hours a night.
robstacey Guest
-
trjlove #7
Re: Replacing " with Anything
Try
<cfset L_displayvolume = Trim(Replace('#L_displayvolume#', Chr(34), "XXXX", "All"))>
trjlove Guest
-
CoachChip #8
Re: Replacing " with Anything
<cfset L_displayvolume = Trim(Replace(L_displayvolume, Chr(34), "XXXX", "All"))>
Tried the above suggestion. Didn't work. Any other ideas? I could work
around it but some of my input files have the quotes and some don't.
Thanks...
CoachChip Guest
-
shawnwindler #9
Re: Replacing " with Anything
CoachChip,
I had to do this before (a few months back), so this is from memory, which is
rather shoddy nowadays.
I believe I used the escape character rather than Chr(34).
Something like Replace(myString, '\"', "XXXX", "All") I think should work.
Single quote, backslash, double quote, single quote.
- Lemme know if that works.
- Shawn
shawnwindler Guest



Reply With Quote

