Closed Bug 698474 Opened 13 years ago Closed 13 years ago

ElasticSearch index updating

Categories

(support.mozilla.org :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2011-12-20

People

(Reporter: erik, Assigned: willkg)

References

Details

(Whiteboard: [qa-])

ElasticSearch supports realtime index updating. Update our model layer to take advantage of that on creation, modification, and deletion. AMO has some precedent in this area, using signals, IIRC. Have a look at this, and think about whether it is the best mechanism.
Blocks: 698475
No longer blocks: 698475
Grabbing this one.  I'll take a look at what AMO does first, then figure out the plan.
Assignee: nobody → willkg
Tossing a note in here because this covers three things:

1. building an index from scratch
2. adding post_save stuff to index things when created/changed
3. adding post_delete stuff to remove things from the index when deleted

Todo: look into whether there are situations other than post_delete when we need to remove something from the index.
Whoops--item 1 is covered by bug #698475.
http://github.com/mozilla/kitsune/commit/40205e12bec7e7d8b29a9ebe54f0e8188389cf07
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: 2011Q4 → 2011-12-20
Closed as [qa-]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.