Closed Bug 651279 Opened 14 years ago Closed 11 years ago

[tracker] add Elastic Search support to Socorro

Categories

(Socorro :: General, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: adrian)

References

Details

(Whiteboard: [search])

Currently we use PostgreSQL for reports in the Socorro web UI, such as "Top Crashers", for example: https://crash-stats.mozilla.com/topcrasher/byversion/Firefox/5.0a2 Behind the scenes, this uses the "top crash by signatures" table in PostgreSQL. This bug is to track exploring Elastic Search to replace this (and other) reports, and also to investigate new features like faceted search.
Depends on: 656297
Depends on: 654567
Target Milestone: --- → 2.0
Depends on: 665225
Assignee: nobody → adrian
Depends on: 669961, 669965
No longer depends on: 673728
Depends on: 675712
Depends on: 678096
Blocks: 652880
Blocks: 710091
Component: Socorro → General
Product: Webtools → Socorro
Whiteboard: [search]
Depends on: 733187
Depends on: 733193
Hardware: x86_64 → All
Target Milestone: 2.0 → 2.5.2
Target Milestone: 2.5.2 → 2.5.3
Target Milestone: 3 → 4
Depends on: 673423
Target Milestone: 4 → 5
Blocks: 678096
No longer depends on: 678096
Target Milestone: 5 → 6
Target Milestone: 6 → 8
Target Milestone: 8 → 9
Target Milestone: 9 → 10
Target Milestone: 10 → 11
Target Milestone: 11 → 12
Target Milestone: 12 → Future
Summary: add Elastic Search support to Socorro [tracker] → [tracker] add Elastic Search support to Socorro
Depends on: 797509
Blocks: 678101
Priority: -- → P1
Depends on: 838746
Depends on: 838747
Depends on: 838897
Depends on: 853031
Depends on: 855298
Target Milestone: Future → 41
To test search with elasticsearch on production, here is what you can do: 1. go to advanced search https://crash-stats.mozilla.com/query?advanced=1 2. run any search you want 3. once the results appear, add `&_force_api_impl=elasticsearch` at the end of the URL and reload 4. you should now get results coming directly from elasticsearch. One easy way of telling it does indeed come from ES is to verify that the number of results is lesser than 1,000 5. if you find a bug, please file! https://bugzilla.mozilla.org/enter_bug.cgi?product=Socorro&component=Middleware Important note: at the moment, filtering by version is broken! A pull request is open to fix that, https://github.com/mozilla/socorro/pull/1199 (bug 838897)
Other note: if you run a new search after having loaded a forced search, the new search won't be using elasticsearch and you will have to force it again by doing step 3.
Depends on: 736488
Depends on: 867120
Depends on: 877175
retargeting this tracker for the future. not sure if its time to resolve it or not.
Flags: needinfo?(adrian)
Target Milestone: 41 → Future
Let's mark this resolve when we have turned elasticsearch on the main production web app. Should happen when we turn the PHP app off.
Flags: needinfo?(adrian)
The PHP app was switched off, the django app is on, elasticsearch is on!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: Future → 51
Blocks: 889040
You need to log in before you can comment on or make changes to this bug.