Hi Doug,

The results are always returned as 0.

>>> [EMAIL PROTECTED] 9/7/2004 5:25:59 PM >>>
what is teh value of theResults.recordsSearched after <cfsearch> ??

Doug

----- Original Message -----
From: vcc person <[EMAIL PROTECTED]>
Date: Tue, 07 Sep 2004 16:21:59 -0400
Subject: Indexing on Linux systempermissions?
To: CF-Talk <[EMAIL PROTECTED]>

Hi everyone,

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]

Reply via email to