Socorro:SOLR API: Difference between revisions

Jump to navigation Jump to search
Line 25: Line 25:
;getPairedUUID:Use mwl to retrieve hang record via hang id and filter for desired uuid
;getPairedUUID:Use mwl to retrieve hang record via hang id and filter for desired uuid


  * Lorentz crashes come in pairs.  They are matched via OOIDs.  This query is used to find the OOID for a crash report that is paired with the provided OOID.
Lorentz crashes come in pairs.  They are matched via OOIDs.  This query is used to find the OOID for a crash report that is paired with the provided OOID.


;getAllPairedUUIDByUUid:Same as above but don't filter.
;getAllPairedUUIDByUUid:Same as above but don't filter.


  * Lorentz crashes come in pairs.  They are matched via OOIDs.  If a crash report is resubmitted, it's possible to have more than 2 crash reporters per OOID.  This variation of the prior query will retrive all of the OOIDs for crash reports that are paired with the provided OOID.
Lorentz crashes come in pairs.  They are matched via OOIDs.  If a crash report is resubmitted, it's possible to have more than 2 crash reporters per OOID.  This variation of the prior query will retrive all of the OOIDs for crash reports that are paired with the provided OOID.


=== server_status.php ===
=== server_status.php ===
Line 35: Line 35:


=== topcrashersbyurl.php ===
=== topcrashersbyurl.php ===
;getTopCrashersByUrl:Not sure about this. It uses data from Alexa? We can search for reports containing a particular URL pattern. Just depends on what we need to do with it after that.
;getTopCrashersByUrl:


;getTopCrashersByDomain:Same as above
Get all of the top crashing signatures that are associated with a particular URL.


;getTopCrashersByTopsiteRank:Same as above


;getUrlsByDomain:Same as above
;getTopCrashersByDomain:


;getSignaturesByUrl:Same as above
Get the domains that are associated with the highest number of crashes, ordered by the number of crashes.


;listReports:Does this query belong here?
 
;getTopCrashersByTopsiteRank:
 
Get the domains that are associated with the highest number of crashes, ordered by the number of crashes.  Only display the domains that are found within the top 1000 sites of Alexa's topsite rankings. 
 
The Alexa Topsite rankings are currently pulled once per week and placed in the alexa_topsites table.
 
 
;getUrlsByDomain:
 
Get the urls that are associated with the highest number of crashes, grouped by domain name, and ordered by the number of crashes.
 
 
;getSignaturesByUrl:
 
Get all of the signatures that are associated with a particular URL.


=== topcrashers.php ===
=== topcrashers.php ===
1,241

edits

Navigation menu