I had the same problem as this, but the directory was completely PDF
files and it turn out to be that Verity (included with CFMX) can only
read PDF files up to version 4 and all the files had been made with
version 6, so Verity was ignoring them. I'm not sure if this same
problem exists with Word, Excel, etc. but it could well be. Look at
the MM's "Developing ColdFusion MX Applications" which has a list of
supported file formats.

The version of Verity with CFMX is very old, but will be fully updated
in Blackstone, but that doesn't help you know and didn't help me!!!  I
ended up using a PDF API (PDFBox) to read the text from the files and
then store it in a database and then index the results of a query. A
little around the houses but it worked.

Hope that helps.

Andrew.

----- Original Message -----
From: Lawrence Ng <[EMAIL PROTECTED]>
Date: Wed, 08 Sep 2004 07:58:34 -0700
Subject: Re: Indexing on Linux systempermissions?
To: CF-Talk <[EMAIL PROTECTED]>

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