Anyone have any ideas on this? 

-----Original Message-----
From: Paul Alkema [mailto:paulalkemadesi...@gmail.com] 
Sent: Monday, November 01, 2010 4:46 PM
To: cf-talk
Subject: Coldfusion Search

Hi All,

I've created a file index of all of my ColdFusion files so I can quickly
search the files and find what I'm looking for. So far, it's working great
except it doesn't seem to be searching inside any coldfusion tags.

For example

<p>If I searched for this text, It would return a result</p>

<cfset variables.foo = "however, If I search for this text it wouldn't
return any results." />

Does anyone know if there's a way to search inside of a coldfusion tag like
that?

This is my index.

<cfindex 
   collection = "fileIndex"
   action="refresh"
   type="path"
   key="d:\my-websites-location\" 
   urlpath="http://mywebsite/";
   extensions=".cfm, .cfml, .cfc"
   recurse="Yes">

This is my search.
 
      <cfsearch 
         name = "testSearch"
         collection = "fileIndex"
         type="internet"
         criteria = "variables.foo"
   />

Any ideas?

Thanks,

Paul : )





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338761
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to