Yes, pulled the trunk, recompiled, put in my local lib/, run the app with mvn as mentioned below. Yes, 1 minute has passed and the file was modified, but refresh() was not explicitly called (this method doesn't even really exist in any Recommenders in trunk as far as I can tell).
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- > From: Sean Owen <[email protected]> > To: [email protected] > Sent: Tuesday, April 14, 2009 5:37:06 PM > Subject: Re: Shutting down RefreshHelper or Recommender > > Yeah I don't get this. You are using the latest code? > It makes sense that a reload happens once, the first time anything is > accessed. After that, it should only happen if something calls > refresh(), *and*, it has been at least 1 minute since the last time > the data was loaded. > Does this all match your situation? > > On Tue, Apr 14, 2009 at 10:31 PM, Otis Gospodnetic > wrote: > > > > I'm moving this to mahout-user. > > > > It looks like that Refresher background thread is still there: > > > > $ (mvn clean compile war:war jetty:run) & > > ... the thole thing starts, I get recommendations for a user... > > ... fake file change by touching the file... > > $ touch /rt/apps/recommendation-engine/re-input.txt > > ... wait a little... > > Apr 14, 2009 5:28:53 PM org.slf4j.impl.JCLLoggerAdapter info > > INFO: Reading file info... > > > > > > Ha! > > My understanding was that Sean removed this and this should no longer be > happening on its own, no?
