Closed
Bug 779502
Opened 12 years ago
Closed 11 years ago
indexing doesn't work *at all* if ES_LIVE_INDEXING is False
Categories
(support.mozilla.org :: Search, defect)
support.mozilla.org
Search
Tracking
(Not tracked)
RESOLVED
FIXED
2013Q1
People
(Reporter: willkg, Assigned: willkg)
Details
(Whiteboard: u=dev c=search p= s=)
Indexing doesn't work *at all* if ES_LIVE_INDEXING is False. Further, it's subtle about it. So you can have: ES_LIVE_INDEXING = False in your settings file and then do: $ ./manage.py esreindex and it'll go through all the motions of indexing, but when you do: $ ./manage.py esstatus it shows nothing in the index. ES_LIVE_INDEXING setting affects whether kitsune kicks off indexing tasks from post_save hooks on various models. It should NOT affect indexing from the admin or command line.
Assignee | ||
Comment 1•11 years ago
|
||
It's an easy fix for the command line. I think I'm going to do this: 1. fix it for the command line (should be easy--i'll abuse override_settings) 2. add a note to the admin about it something like, "YO, FOOL: ES_LIVE_INDEXING IS THE FALSE! YOU NOT BE DOING INDEXING WITH THAT, YO!"
Assignee: nobody → willkg
Assignee | ||
Comment 2•11 years ago
|
||
In a pull request: https://github.com/mozilla/kitsune/pull/1050
Whiteboard: u=dev c=search p= s=
Target Milestone: --- → 2013Q1
Assignee | ||
Comment 3•11 years ago
|
||
Landed in master in https://github.com/mozilla/kitsune/commit/02ff0b30d64c2ba509d4e512108b5a27ea41a4c5 This doesn't affect -dev, -stage or -prod since ES_LIVE_INDEXING is True in all three of those environments. Therefore, I'm going to mark this as FIXED now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•