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
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to