Income Taxes - Additional Information (Detail)
$ in Thousands, ₪ in Millions
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jan. 31, 2016
USD ($)
Jan. 31, 2016
ILS (₪)
Oct. 31, 2014
USD ($)
Oct. 31, 2014
ILS (₪)
Apr. 30, 2016
USD ($)
Apr. 30, 2015
USD ($)
Apr. 30, 2016
USD ($)
Apr. 30, 2015
USD ($)
Oct. 31, 2016
USD ($)
Apr. 30, 2016
ILS (₪)
Provision for (benefit from) income taxes         $ 3,087 $ 1,449 $ 5,086 $ 2,844    
Internal Revenue Service (IRS) [Member]                    
Income Tax Examination, Increase (Decrease) in Liability from Prior Year         154,300   154,300      
Foreign Tax Authority [Member]                    
Amount of transaction under examination     $ 363,500 ₪ 1,360            
impact to the past tax years [Member] | Internal Revenue Service (IRS) [Member]                    
Loss Contingency, Estimate of Possible Loss         25,000   25,000      
impact to the future tax years [Member] | Internal Revenue Service (IRS) [Member]                    
Loss Contingency, Estimate of Possible Loss         29,000   29,000      
Other Liabilities [Member]                    
Unrecognized Tax Benefits         110,800   110,800      
Scenario, Forecast [Member] | intercompany loan [Member] | ISRAEL                    
Repayments of Debt                 $ 69,000  
Tax Year 2009 [Member] | Foreign Tax Authority [Member]                    
Amount of transaction under examination $ 587,600 ₪ 2,200                
Loss Contingency, Estimate of Possible Loss         333,100   333,100     ₪ 1,250
Tax Year 2008 [Member] | Foreign Tax Authority [Member]                    
Amount of transaction under examination $ 594,400 ₪ 2,230                
Loss Contingency, Estimate of Possible Loss         $ 391,700   $ 391,700     ₪ 1,470