That was the pull scenario, there is also the push scenario using a hashing function, so when a new article is added it's words are compared to the words that your users have flagged in their alerts and an email is dispatched to interested users, be aware that this only makes sense if the total number of distinct words in the document is less than the number of distinct keywords your users have flagged, which becomes the case when you accumulate a lot of agents.
Here's a quick and dirty calculation:
Pull Scenario: you will run as many searches as there are distinct alerts
Push scenario : you will run as many searches as there are distinct words per document.
Hope this helps.
Nader Henein
Ben wrote:
Hi
I would like to allow users on my site be able to create alerts base on the search keywords for every newly posted article. It would be good to send out the alert emails hourly, daily or weekly, etc.
Anyone has any experience in this area? What are the best practices when implement such feature? I would imagine it's going to take a lot of resources to do a search for each keyword.
Any guidance is greatly appreciated. Thanks!
Ben
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]