Dave, >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...
The way to do this is to store the value of the Verity "key" (the path and name of the file) in your database. You can then grab the description from the database based on the Verity key. It does such that you can't apply the customX attributes when indexing single files--it would be helpful in a case like this. I'd love to see Verity be able to index a binary object from the database like an actual file on the OS. That would solve a lot of issues I have. -Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:256550 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

