Closed Bug 1060083 Opened 10 years ago Closed 9 years ago

Make the GMPPlugin field searchable in Super Search

Categories

(Socorro :: Webapp, task, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kairo, Assigned: adrian)

References

Details

This crash is an example that has the GMPPlugin field set in the raw metadata: https://crash-stats.mozilla.com/report/index/dcead863-982f-4d90-b224-6fbd32140828

This field is either present and set to 1 or not present (which probably has the same meaning as being set to 0).

We should be able to search for this flag in SuperSearch.
I suspect we need to add it to the Raw Crash API whitelist too, right?
(In reply to Peter Bengtsson [:peterbe] from comment #1)
> I suspect we need to add it to the Raw Crash API whitelist too, right?

I guess so. :)
I have added the field as an integer for the moment, because until the mapping is set to be a boolean, ES considers it an int. Once bug 1013322 lands I'll be able to fix it correctly. 

For now, please use 'gmp plugin' 'has terms' '1' or 'gmp plugin' 'does not have terms' '1'. 

Example: https://crash-stats.mozilla.com/search/?product=Firefox&gmp_plugin=1&_facets=gmp_plugin
Assignee: nobody → adrian
Status: NEW → ASSIGNED
Depends on: 1013322
Priority: -- → P2
Actually, instead of making this a boolean in the database (which it is not really), we will make use of the new `flag` query type that allows to check if a field exists or not.
Depends on: 1078349
No longer depends on: 1013322
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.