I believe so. We are running SuSE Linux 8.2 and may plan to upgrade in
a few months to SuSE Enterprise Server 9 but not quite sure yet.
The group and owner for the verity directory are coldfusion:coldfusion
for all files and coldfusion:root for the directory itself. The
coldfusion user has full read/write access to the verity directory.
CF runs as 'cf' on SuSE so I'm not sure if I want the owner to be
apache - the web server itself runs as apache but CF is under a separate
user name.
Basically does it depend which process will need write access - Cold
Fusion or Apache?
If the collection is not indexing then why would it work when I tried
to cfsearch on our tables then? If it sin't working, I would think that
the collection wouldn't work for indexing the db tables part as well.
hmmm?
>>> Douglas Knudsen <[EMAIL PROTECTED]> 9/8/2004 8:09:03 AM >>>
seems the collection is not getting indexed. Sure CF has rights to
the directories? FYI, once the collection exists, no need to recreate
it.
Doug
On Wed, 08 Sep 2004 07:53:46 -0700, Lawrence Ng <[EMAIL PROTECTED]> wrote:
> Hi doug,
>
> Value is always 0.
>
> Larry
>
> >>> [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]

