Rip’s Domain

Jquery, ColdFusion, SQL and just about life in general

ColdFusion Verity: Can’t find a specific document based on title or filename? Setup the metadata!

September 25, 2007

UPDATE: Thanks to Ben Nadel for pointing out the metadata project at RIAForge. Steve, this should help you in your quest.

I just had a problem where a user was searching our document library for our official letterhead document and the document wasn’t coming up. Basically all they were doing is entering “letterhead” into the search.

My first thought was that maybe the document didn’t get index by Verity, so I re-ran the scheduletask that performs the index, which ran without a hitch. I tried doing the search again and nothing.

Now I forget to mention that I’m using “natural” as the type of search, so I tried to add “url<contains>#keywords#” to do the search. This basically tells Verity to look at the url field in the index (which is the filepath) for the keyword. Again nothing; now anger sets in since it should of worked.

I do another search and decide to dump the query that is being returned to see if something comes to light and it did! I noticed that the titles that verity is giving the documents is coming from the document metadata. Since this particular file was a Word document, it was pretty easy to set the title to whatever I needed it to be to get Verity to pick up on the keyword. I set the title in the metadata to “BSO LetterHead” and performed the search again and bingo, the doucument was found.

So how did I do it? Well in *most* programs when you create a document you can alter the metadata by doing this (I’m going to use word as the example here since most people have it on their machines):

Open up the document and click FILE -> PROPERTIES and then click the SUMMARY tab. You should have a pop-up window that look like the one below.

Microsoft Word document metadata

From here you can set the metadata to whatever you want for the document. Not only is setting the metadata for a document great for Verity, but it’s also helpful for other indexing programs like Spotlight on the MAC, Search within Windows and even the Google Desktop search!

So in closing, if you’re having a hard time trying to get Verity (or any other index and search program for that matter) to pick up a document when performing a search, take the time to setup the metadata within the document itself.

Posted by rip747
Filed in ColdFusion, Verity
Tags: coldfusion verity metadata filename
2 Comments »
  • Ron Paul

    Get involved.
  • ColdFusion

    • ICEGEN - Download the latest
    • Rey Bango
  • Downloads

    • CF Default NEO-CRON.xml file
    • CF8 Syntax Dictionary for CFEclipse
    • FamFamFam Silk Icons GIF set
    • PopupWindow - Latest version
    • Timezone CFC
  • Jokes

    • MyJunkMail - The Blog
  • Jquery

    • Donate to jQuery
    • JQuery
    • PopUpWindow
  • Politics

    • Ron Paul 2008
  • Services

    • Money Merge Account
    • Money Merge Account Blog
    • United First Financial
  • Top Posts

    • The return of PopupWindow jQuery plugin
    • How To Bypass Comcast’s BitTorrent Throttling: the true way
    • PopupWindow v2.0.0 now available
    • Early voting in Broward County Florida
    • A Short Course On Brain Surgery
    • SQL Server 2005: Import / Export reset identity keys... no workaround... 2005 sucks period, the end
    • jQuery cheat sheets.
    • VMware Windows 2000 migration: Errors encoutered and solutions.
    • Happy Halloween!!!!!
    • Ron Paul: Federal Reserve for dummies - Youtube and Blog bomb
  • Comments

    MickeyDIng on SQL Server 2005: Import / Expo…
    kajinski on Getting Git-SVN to work under…
    dorson on SQL Server 2005: Import / Expo…
    Sumit on Help: Force ColdFusion to rele…
    Peter McEvoy on Rebulding MSDB in SQL Server…
  • Categories

    • 2008 Elections (33)
    • Americans are sheep (1)
    • Animals (1)
    • Apollo (1)
    • BASH! (32)
    • Blogroll (1)
    • Bookmarks (1)
    • CFEclipse (4)
    • Christmas (1)
    • ColdFusion (93)
    • Cygwin (1)
    • Design (8)
    • Donating (1)
    • dzone (1)
    • Family Happenings (11)
    • Frameworks (5)
    • Fridays (34)
    • Games (3)
    • Git (2)
    • Goatse (1)
    • H&R Block (1)
    • Halloween (4)
    • Health (2)
    • Holidays (1)
    • ICEGen (13)
    • IIS (1)
    • Jokes (57)
    • Jquery (39)
    • Just Geeky (2)
    • Mach-ii (2)
    • Microsoft (3)
    • Model-glue (2)
    • Money (1)
    • movies (7)
    • MSSQL (1)
    • Networking (1)
    • NSFW (1)
    • oo (1)
    • Opensource (3)
    • Oracle (3)
    • OS X (1)
    • Personal (12)
    • PopWindow (13)
    • Question (1)
    • Rants (32)
    • Ron Paul (41)
    • Ruby on Rails (1)
    • Security (1)
    • SQL (15)
    • Super Tuesday (1)
    • SwapIt (2)
    • Taxes (1)
    • TechSupport (28)
    • Uncategorized (10)
    • Valentine's Day (1)
    • Verity (1)
    • VMWare (2)
    • Windows (3)
    • WSOP (4)
    • YouTube (4)
  • Recent Posts

    • SQL Management Studio Error: An error occurred while executing batch. Error message is: The directory name is invalid.
    • Help: Force ColdFusion to release memory.
    • It’s official: jQuery wins!
    • Congressman Ron Paul Schools Bernanke on the Bailout Plan
    • It’s coming. 35 Days and counting
  • Past Posts

    • October 2008 (1)
    • September 2008 (11)
    • August 2008 (2)
    • July 2008 (5)
    • June 2008 (2)
    • May 2008 (3)
    • April 2008 (10)
    • March 2008 (13)
    • February 2008 (15)
    • January 2008 (36)
    • December 2007 (17)
    • November 2007 (25)
    • October 2007 (17)
    • September 2007 (17)
    • August 2007 (13)
    • July 2007 (14)
    • June 2007 (10)
    • May 2007 (16)
    • April 2007 (20)
    • March 2007 (9)
    • February 2007 (16)
    • January 2007 (13)
    • December 2006 (9)
    • November 2006 (6)
    • October 2006 (15)
    • September 2006 (2)
    • August 2006 (5)
    • July 2006 (12)
  • Top Clicks

    • gscottolson.com/weblog/20…
    • jquery.com/blog/2006/11/1…
    • box.net/shared/jcxbwju4kg
    • hotware.wordpress.com/200…
    • sandbox.wilstuckey.com/jq…
    • wordpress.com/tag/popwind…
    • forums.microsoft.com/msdn…
    • php.scripts.psu.edu/rja17…
    • passport.net
    • rip747.files.wordpress.co…
    • yui-ext.com/forum/viewtop…
    • eve-online.com
Theme: Simpla by Phu. Blog at WordPress.com.