|
Mailing Lists
|
Home /
Groups /
ColdFusion Talk (CF-Talk)
Verity exclude sub-directories?
I'm working with Verity and have a question....is there a way to excludeDeborah Carroll 07/10/01 03:19 P I'm working with Verity and have a question....is there a way to excludeDeborah Carroll 07/10/01 03:19 P I did see a "pathindex" tag at CFHacker.comJoseph Thompson 07/10/01 03:40 P I am extremely new to Verity searching - today is literally my first day. So there may be more graceful ways to solve this conundrum, but here's what I have...Josh Knopp 03/28/07 04:49 P We do this by actually removing the excluded keys from the search collectionJaime Metcher 03/28/07 07:15 P I'm working with Verity and have a question....is there a way to exclude certain sub-directories from being indexed in the collection? I have a few 'procedure' directories that I don't want coming up in the user search. Thanks for your help! Deborah ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm I'm working with Verity and have a question....is there a way to exclude certain sub-directories from being indexed in the collection? I have a few 'procedure' directories that I don't want coming up in the user search. Thanks for your help! Deborah ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm I did see a "pathindex" tag at CFHacker.com http://www.cfhacker.com/ > I'm working with Verity and have a question....is there a way to exclude > certain sub-directories from being indexed in the collection? I have a few > 'procedure' directories that I don't want coming up in the user search. > > Thanks for your help! > Deborah > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm I am extremely new to Verity searching - today is literally my first day. So there may be more graceful ways to solve this conundrum, but here's what I have... I have subdirectories called 'admin' and 'includes' that I do not want showing up in search results, so at the top of the search results page, I have: <CFSEARCH NAME="Search_mySite" COLLECTION="mySite" CRITERIA="#FORM.Search_Term# NOT /admin/ NOT /includes/"> Seems to work great. Good luck, Josh Knopp AMS, Inc. ----- Excess quoted text cut - see Original Post for more ----- cfm We do this by actually removing the excluded keys from the search collection after it is built, like this: <cfloop list="#stDS.txtExclusions#" index="txtExclude" delimiters="#chr(13)##chr(10)#"> <cfset txtCriteria = Replace (txtExclude, "\", "\\", "ALL")> <cfsearch name="qryDeleteKeys" collection="#stDS.txtCollectionName#" type="simple" criteria="CF_KEY <SUBSTRING> #txtCriteria#"> <cfindex collection="#stDS.txtCollectionName#" action="delete" query="qryDeleteKeys" key="KEY"> </cfloop> Jaime Metcher ----- Excess quoted text cut - see Original Post for more -----
|
May 24, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||