i just posted this on cf-talk but Jesse asked me to post it here also...

steve
-----------

surely MACR wouldn't have shipped a product with such a huge bug, so
hopefully someone can see what i'm doing wrong:

platform: Redhat Linux 7.1, CFMX Pro

1) i went into the CF administrator and created an English Verity
collection called "foo" with the default path of
"/usr/local/coldfusionmx/verity/collections".

2) i clicked on "foo" in the list of Verity collections and indexed
it with these options:
File Extensions: .html, .htm, .cfm
Directory Path: /var/www/html
i checked the box next to "Recursively Index Sub Directories"
Return URL: http://www.myserver.com

after i hit submit i get back this error:

-------
There was an error indexing this collection.
An error occurred while performing an operation in the Search Engine
native library.
coldfusion.tagext.lang.CFIndexTagException: Error while setting the
current directory. can not update path /var/www/html
-------

any ideas?  and why would it need to "update path" in my web root?
shouldn't it just be viewing those files and writing the indices in
"/usr/local/coldfusionmx/verity/collections/foo"?

another part of the issue is that even if i give in and don't check
the "recursive" checkbox it will say that it indexed it when in fact
it didn't.  when i run this command it comes up with 0 hits even
though /var/www/html/index.html clearly says "Test" in it:

--------
<cfsearch
          name="fooSearch"
          collection="foo"
          type="simple"
          criteria="Test">
<cfoutput>#fooSearch.recordcount#...</cfoutput>
--------

so not only does it not seem to work on recursive directories, but i
can't even implement a hack workaround by indexing each subdirectory
one at a time.  like i said, surely i'm just doing something stupid...

steve

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to