Harnessing the power of Verity, ColdFusion event gateways, and Flex 2

Today I have a new article up on the Adobe developer center. In part 1 we use a DirectoryWatcher event gateway to watch the directory(s) where your documents reside. If a change occurs, the CFC (ColdFusion component) listener will refresh the Verity collection. This way, you efficiently automate the process of refreshing your Verity collections.

Part II we will create a rich document search interface with Flex 2. You'll get deeper into Verity's powerful search features such as category support, search suggestions, searching within a result set, and more. You will use the power of Flex 2 to create a richer and engaging search interface.

Comments
Jean Cote's Gravatar I have read your article but would like to know a bit more. We have Cold Fusion and also have Verity Utraseek wich is different from Verity K2 ...can we use Cold Fusion to access collection created in Utraseek ? What would be your recommandation ?
# Posted By Jean Cote | 10/23/06 5:42 PM
Brian Szoszorek's Gravatar There is a JAVA API that you can use with UltraSeek to expose it to ColdFusion. Should be in your UltraSeek documentation. The file you need is called xpasearch.jar.
# Posted By Brian Szoszorek | 10/24/06 9:52 AM
Aaron Neff's Gravatar Hi Brian, I just wanted to say that I thought your article was both excellent and well-written. Thank you for taking the time to put that together, and for sharing! -Aaron
# Posted By Aaron Neff | 11/2/06 12:23 AM
Brian Szoszorek's Gravatar Thanks Aaron!

Part II is going to be much more fun though. We will use a FLEX 2 interface, to interact with our verity collection. Part II will focus heavily on the FLEX 2 side of the application. I will put up a post when its going up!
# Posted By Brian Szoszorek | 11/3/06 8:33 PM
Rick Pollard's Gravatar Thanks for the great info Brian. I use a scheduled task to update my verity collections, but I update the collection with new documents only (nightly, off hours) to avoid an entire collection refresh during peak usage. Then, I refresh/optimize the entire collection once per week (Sundays). I'm thinking that I could update the collection using an event gateway, which would allow for searching those docs more quickly, and still just do a full refresh on the weekend. What do you think? Thanks again,
# Posted By Rick Pollard | 11/9/06 12:57 PM
Scott Pell's Gravatar Brian,
Thanks for Part 1 of your article on Verity, directory listener gateway and the CFC. I really look forward to Part 2 on Flex.
Scott
# Posted By Scott Pell | 12/15/06 2:40 PM
Terry Collinson's Gravatar Enjoyed the first part but is there going to be a part 2 now you are going through a real change period.
# Posted By Terry Collinson | 2/12/07 2:21 AM
Brian Szoszorek's Gravatar Part II is actually being finished up this week. There was some discussion about part II and the scope of the article changed. Part II uses many features of FLEX 2, and makes it hard to explain and walk you though each one without it ending up being 100 pages. For example, in the article I will tell you I used an ArrayCollection, but wont get into explaining what an ArrayCollection is in detail.
# Posted By Brian Szoszorek | 2/12/07 8:51 AM
Neil Lawton's Gravatar How do you handle the duplicates? After the index is refreshed by the documentlistener.cfc any search results show duplicates.
# Posted By Neil Lawton | 3/5/08 12:29 PM