Hi Experts,
I am facing an issue with Coldfusion 5 Verity Search..
I know CF 5 is an outdated version but I do not have a choice to upgrade.
Ok I have a folder with 15,000 documents, It could be doc files, pdf's or txt's or rtf's or even images.
I need to run a search on these files [doc,rtf,pdf,txt] using verity search in CF 5..
I have done the following, but it fails
<CFSET sCollectionFilePath = "#GetDirectoryFromPath(Get
CurrentTem
platePath(
))#NewCVs\
">
<CFTRY>
<CFCOLLECTION ACTION="DELETE" COLLECTION="CVCollection3"
PATH="#sCollectionFilePath
#">
<CFCATCH TYPE="Any">
</CFCATCH>
</CFTRY>
<CFCOLLECTION ACTION="CREATE" COLLECTION="CVCollection3"
PATH="#sCollectionFilePath
#">
Now this code gives me an error if try creating the same collection again, It says unable to create as already exists. But I do not see these folders in the path that I have mentioned.
But This code did run once and I assumed the collection has been created.
But When I try to use CFINDEX, I get the following error -
<CFSET sCollectionFilePath = "#GetDirectoryFromPath(Get
CurrentTem
platePath(
))#NewCVs\
">
<CFTRY>
<CFCOLLECTION ACTION="DELETE" COLLECTION="CVCollection3"
PATH="#sCollectionFilePath
#">
<CFCATCH TYPE="Any">
</CFCATCH>
</CFTRY>
<CFCOLLECTION ACTION="CREATE" COLLECTION="CVCollection3"
PATH="#sCollectionFilePath
#">
<CFINDEX action = "update" collection = "CVCollection3"
key = "#sCollectionFilePath#" type = "path"
recurse = "No">
but when i run this i get the following error
Error occurred in tag CFINDEX Error # -23 [ffe9] VdkCollectionSubmit
Now I am not sure whether everything should be written in one page or not..
Please help as this is very urgent..
Thanks & Regards
Hart
Start Free Trial