I was able to do verity searching a db (Oracle) under SuSe Linux with CFMX 6.1 enterprise.
My problem is that it is returning 0 results for PDFS, DOCs, TXT, XLS, etc. files even though I create a test file with the search word in it.
Is this is Linux/Unix file permission configuration?
here's a snippet of my coding ...
================
<cfparam name="IndexDir" default="/www/html/web/mypdfs">
<cflock name="Createone" type="EXCLUSIVE" timeout="#CreateTime(0, 0, 30)#">
<cfcollection action="" collection="PDFCollection" path="/opt/coldfusionmx/verity/">
</cflock>
<cfindex collection="PDFCollection"
action=""> extensions=".txt, .pdf, .html, .htm, .txt, .xls, .doc"
key="#IndexDir#"
type="path"
urlpath="htp://www.whatever.org/thepdfs"
recurse="No"
language="English">
<cfoutput>
The collection #IndexDir# has been indexed.
</cfoutput>
then use a test search... for the string "computer"
<cfsearch collection="PDFCollection" name="theResults" type="SIMPLE" criteria="computer">
<cfoutput query="theResults">
File: #Key#
Document Title (if any): #Title#
Score: #Score#
Summary: #Summary#
</cfoutput>
Result is 0
=(
what is up with this?
thanks,
Larry
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

