House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Verity exclude sub-directories?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Deborah Carroll
07/10/2001 03:19 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Deborah Carroll
07/10/2001 03:19 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Joseph Thompson
07/10/2001 03:40 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Josh Knopp
03/28/2007 04:49 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jaime Metcher
03/28/2007 07:15 PM

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 -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference