i don't know anything about K2, so it's maybe got different syntax or way of doing things. in the previous Verity version, you would put the URLPath in the <cfindex> tag. e.g:
<cfindex collection="whatever" type="Path" key="C:\Inetpub\website\files\" urlpath="http://www.yoursite.com/files/"> The urlpath would then be prepended to all the results from CFSearch. Of course you don't have to use it, you can just specify whatever URL you like in the search results page, e.g. <a href="http://www.yoursite.com/files/ #Search1.URL#">#Search1.title#</a> Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Colm Brazel" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> world.ie> cc: Subject: RE: [ cf-dev ] Verity 09/09/2003 12:22 Please respond to dev >>what have you put in for the URLPath attribute? Where is that URLPath attribute set? I`ll try shortly putting in /home/sites/site1/webbk on the server for the location file I see in the collectionsearchaction.cfm <cfoutput query="Search1"> <a href="#Search1.URL#">#Search1.title#</a><br> </cfoutput> Has verity a stucture or datastore store somewhere where you can set this paramter? >>It might be that you need to do some regex stuff on the search results, to >change URL's etc. also you'll probably need to use the Custom1 and Custom2 >fields creatively, especially if you're using one index for both files and >database content. At the moment am only trying to get the links to the searchresults files to work, but I will need later filters/regex on info returned from database, so I may have a Q for you on the above aspect later:-). thanks Colm -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 September 2003 11:45 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] Verity I'm not familiar with the K2 version. But if it's anything like the other version of Verity... what have you put in for the URLPath attribute? This should be the url where you can access these documents at, not for where Verity has to look to find them (which should be controlled by the location specified in the Key attribute) It might be that you need to do some regex stuff on the search results, to change URL's etc. also you'll probably need to use the Custom1 and Custom2 fields creatively, especially if you're using one index for both files and database content. Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Colm Brazel" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> world.ie> cc: Subject: RE: [ cf-dev ] Verity 09/09/2003 11:33 Please respond to dev Duncan, Thanks, good to know that, still have a problem though getting the links to work in the search results page: "The requested URL /webbk/album/gallery.htm was not found on this server." Advanced Cold Fusion Admin Help docs have info on configuring k2server.ini file which is in /opt/coldfusion/verity on my server but the parameter to point to the links I don't see there. Part of the setup to get this to work is suggested in the docs as http://localhost/wwwroot On the server I put in http://domainname/ as the return url in setting up the collection, but it generates the above error. server hostname for location of verity server I put in the ip address of the server and the port 8080, could this be the problem. Notice in the debug message above /webbk/album etc I can see the webbk folder verity has created for itself on the server but I don't know how to point to it as apparently verity has created this folder outside the web root. Regards Colm I'll try figure out later what url remote admin needs to get the indexed files links to work Colm -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 09 September 2003 09:31 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Verity Colm, the CF pro version Verity will index a load of files, can't remember the full list, but it'll do .txt. .doc, .ppt, .pdf, .xls, etc etc. It will also index a database, just use type="custom". I think the blue Forta book has a good chapter on it. not sure if it'll take html as a search string, but i'd guess it will. whether or not you want it to is a different matter. Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Colm Brazel" <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> world.ie> cc: Subject: [ cf-dev ] Verity 08/09/2003 20:55 Please respond to dev I`m configuring a verity collection on a unix server and not familiar with this. Part of the process of setting this up in admin is inserting a referal url link to the results thrown up by the indexed search. I guess locally on mx this would be http://localhost:8500/domain Question is, what should be put in on remote server to get this to work, should it be http://domainname/ or /home/sites/ etc. At the moment evrything is working apart from the links to the files. Also anybody familiar with Verity is it possible to get it to index other file extensions than html,cfm using the CF 5 professional server, not enterprise. Will it also accept search strings containing html tags? And can CF5 Pro version of verity be configured to search a database. Regards Colm --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
