You have to use two recommender objects if you want to serve recommendations while refreshing. I don't think any of the recommenders have that as part of the api contract.
On Fri, Feb 24, 2012 at 8:31 AM, Aleksei Udatšnõi <[email protected]> wrote: > Hi, > > I am using an item-based recommender inside a servlet and would like > to reload its data periodically (from db). Each reload takes up to 30 > sec. > > Recommender object is Refreshable and thus can do periodic reloads by > using refresh() function. My only concern is the impact of reload on > the live servlet users. > > I wonder what happens with existing recommender.recommend() requests > while the recommender is being reloaded? Does it still use the old > data until reload is completely finished? > > Thanks > Aleksei -- Lance Norskog [email protected]
