Closed Bug 729697 Opened 12 years ago Closed 12 years ago

admin page for checking the elastic search index

Categories

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

defect

Tracking

(Not tracked)

RESOLVED FIXED
2012Q2

People

(Reporter: willkg, Assigned: willkg)

References

Details

(Whiteboard: u=dev c=search p=1)

For debugging purposes, it sure would help to be able to see what the index currently has.

Ricky mentioned maybe adding a link to question, kb, and forum thread pages to a page in the admin that shows exactly what's in the index.

At a minimum, we could add a page to the admin that allows us to see what's in the index for a (doctype, id) combination.

Making this block bug #729688 for now.
I was talking to Dave about this and he said we can ssh into some server and do requests from there to see what's in ES.

So the solution here might be to just figure out how to do that and then write a script or two to make querying by doctype/id easier and then call it a day.

Having said that, this is probably useful anyhow and makes it such that we don't have to force everyone to learn ES query dsl.
Tossing this in the 2012.6 sprint as a P3. I'll get to it if I can since it adds to our toolset and makes debugging easier.
Assignee: nobody → willkg
Priority: -- → P2
Whiteboard: u=dev c=search p=1
Target Milestone: --- → 2012.6
Target Milestone: 2012.6 → 2012.7
Also, we should add an 'index_time' field that has the datetime stamp of when the document was last updated. That'll make the admin page more useful since we'll be better able to determine staleness.
Bumping this out of the 2012.7 sprint because I'm just not going to have enough time to do it. Pushing it off to 2012.8.
Target Milestone: 2012.7 → 2012.8
I'm taking this out of the 2012.8 sprint. I'll just implement it when I need it.
Target Milestone: 2012.8 → 2012Q2
Pull request for this and some other stuff: https://github.com/mozilla/kitsune/pull/582
Landed in master in fdafc92bc9f57c1cef1b387d1a157a72a2342995

Pushed to production just now.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.