On 04/03/2018 09:59 AM, Darren Smith wrote:
OK - next issue...here's the warning that I'm receiving when I run that:
/__init__.py:1451: RuntimeWarning: DateTimeField Email.archived_date received a naive datetime (2018-04-03 07:51:25) while time zone support is active. RuntimeWarning)
That warning comes from dateutil.parsedate, and I think it's just a warning and shouldn't affect processing.
I'm not sure that anything else occurred. The indexing took 2 seconds, and there have been tens of thousands of emails imported since the last index. Thoughts?
I'm unsure about what happens when 'runjob update_index' runs after an import. I.e. it adds messages added since the last run, but is this based on when the message was added or on some date in the added message, so if the added messages are old, do they get indexed by 'runjob update_index'.
You could easily check by doing some searches that should find them and see if they're found.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan