Contrary to popular belief you can index files individually.

From the Verity CFINDEX tag docs some sample code:
<cfindex
        collection="snippets"
        action="update"
        type="file"
        key="c:\inetpub\wwwroot\cfdocs\snippets\abs.cfm"
        urlpath="http://localhost/cfdocs/snippets";
        custom1="custom1"
        custom2="custom2">

You could simply add a line of code to index the new document immediately after it has been uploaded. Just remember to optimise your collection regularly -- each update generates a fragment and lots of fragments will slow the search down.

Verity Optimisation Made Easy
http://blog.daemon.com.au/archives/000073.html

Hope that helps,

-- geoff
http://www.daemon.com.au/

PS. Early bird MXDU ticket special ends 22 December 2003!!

Matthew Kernick wrote:
Hi all,

Have a bit of a question regarding the verity search engine.

I have a system which has a document system that when a file is uploaded
it is put into one secure directory and is allocated to groups. What I
am wanting to do is create index for each group - so that it only
includes the documents that are associated with this group - .


Does this make sense?

Can it be done?

Cheers


Matthew Kernick Development Team Leader Director


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to