Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Chikowski #1
Verity Indexing
I have created and indexed a collection called Stds_Specs. The problem that I
have know is that when one of the users uploads a file, I want verity to search
for previous versions of that file, either alert the user and/or overwrite the
file, then index that file without reindexing the whole collection to make the
uploading process faster. I do not want to have a scheduled update of the
collection.
What I have is:
For the Form Page:
<cfform action="Upload_File_A.cfm" name="UploadForm"
enctype="multipart/form-data" method="post" >
<cfinput type="file" name="file_name" size="50"
onkeypress="javascript:alert('To ensure the validity of the file being
uploaded, please use the browse button.'); return false;"></td>
<cfinput type="submit" value="Submit" name="In_Data" />
</cfform>
For the Action Page:
<cffile
action="upload"
filefield="file_name"
destination="Collections\Data"
nameconflict="makeunique">
<cfindex action="update"
collection="Stds_Specs"
type="file"
key="Collections\Data">
<cfoutput>Done</cfoutput>
What am I doing wrong, or what can I do to make this better.
Chikowski Guest
-
Verity No Longer Indexing
Can anyone tell what the error "invalid style files" means. None of my indexing scripts seems to be working. They were working. Recently upgraded to... -
Verity Indexing Error--Please HELP!
I'm trying to creat a verity collection via the ColdFusionMX7 administrator. It is currently running on a Server 2003 machine. When I try to index... -
CF5 Verity Indexing Issue
Our CF5 based document management web application uses the search engine(Verity) is one of the key components in the system, we have customers... -
Verity Indexing and Searching
I have used a process for searching Cold Fusion powered sites for years. It's quite simple, really: I create a set of Verity collections pertinent... -
MX 6.1 Verity Indexing
When I try to index collections in the administrator using CF MX 6.1 Enterprise edition I don't get any error message or anything. All I get is a... -
serat #2
Re: Verity Indexing
You don't want to use CF's Verity functionality to check for a duplicate or
previous version of a file. You want to use CFDIRECTORY/CFFILE for that.
If I recall correctly, you'll want to use CFINDEX action=update to add new
keys/documents to the collection. The action=refresh does a purge then a
complete rebuild instead.
[url]http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000278.htm[/url]
serat Guest
-
Chikowski #3
Re: Verity Indexing
How would someone go about checking for an existing document with the CFDIRECTORY/CFFILE?
Chikowski Guest
-
jorgepino #4
Re: Verity Indexing
FileExists(ExpandPath(yourfile)) Boolean yes or no
<cfif FileExists(ExpandPath(yourfile))>
<p>Your file exists in this directory. You entered
the correct file name, #GetFileFromPath("#thisPath#/#yourfile#")#
<cfelse>
file not found
</cfif>
jorgepino Guest
-
Chikowski #5
Re: Verity Indexing
FileExists(ExpandPath(yourfile)) Boolean yes or no
<cfif FileExists(ExpandPath(yourfile))>
<p>Your file exists in this directory. You entered
the correct file name, #GetFileFromPath("#thisPath#/#yourfile#")#
<cfelse>
file not found
</cfif>
I tried the above code as is, but it did not work for me. I got the error,
"yourfile" is undefined. I pluged in "file_name" in for "yourfile" and it
works, but it doesn't find the file that i know is there.
What am i doing wrong?
Chikowski Guest
-
miketadd #6
Verity Indexing
I have setup a verity collection and indexed my website, but when you do a
search on the site, the results that are returned when performing the search
display the coldfusion code as the description rather than the page content. Is
there a way of choosing what is returned as document description??
also, when verity indexes doc files, the results that are returned is just a
blank entry, i.e. no document title, no title text and no description. how do i
get verity to search these properly.
Thanks
miketadd Guest



Reply With Quote

