Income Taxes - Additional Information (Detail)
$ in Thousands, ₪ in Millions
1 Months Ended 3 Months Ended 12 Months Ended
Jan. 31, 2016
USD ($)
Jan. 31, 2016
ILS (₪)
Oct. 31, 2014
USD ($)
Oct. 31, 2014
ILS (₪)
Jan. 31, 2017
USD ($)
Jan. 31, 2016
USD ($)
Oct. 31, 2017
USD ($)
Jan. 31, 2017
ILS (₪)
Unrecognized Tax Benefits         $ 106,500      
Provision for (benefit from) income taxes         2,920 $ 1,999    
Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Extraordinary Items, Noncontrolling Interest         (14,804) $ 25,732    
Foreign Tax Authority [Member]                
Amount of transaction under examination     $ 361,400 ₪ 1,360        
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 $ 584,200 ₪ 2,200            
Loss Contingency, Estimate of Possible Loss         341,800     ₪ 1,290
Tax Year 2008 [Member] | Foreign Tax Authority [Member]                
Amount of transaction under examination $ 591,000 ₪ 2,230            
Loss Contingency, Estimate of Possible Loss         $ 405,400     ₪ 1,530