> Does anyone know if there is a way to index additional > "searchable" content when indexing a file with <cfindex > type="file> ?? > > Basically, I have files that are indexed, and we have a > "description" for the file in the database. When I index > these files, I want to be able to index the "content" of the > file along with the "description" so that if a person types > in a part of the "description" that does not actually appear > in the file itself, the result will still come up. > > I can't seem to find a way to do this, so I'm prepared to > accept that it is not possible, just want to see if anyone > else has figured out a way to make it work...
I don't think this is directly possible. However, there's no reason why you couldn't index your files and your database content separately. Then, when someone searches, have them query both collections, and go through the results and match your database entries to your file entries, then present them as if they were a single set of search results. You'd need to store the file path and name in the database to do this easily, I think. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore and Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256544 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

