Note 9 - Long Term Debt and Revolving Lines of Credit - Long-term Debt (Details) - USD ($) $ in Thousands  | 
Jul. 31, 2019  | 
Oct. 31, 2018  | 
|---|---|---|
| Long-term debt | $ 407,316 | $ 175,845 | 
| Plus unamortized premium on debt | 540 | |
| Less unamortized deferred financing costs | (21,264) | (2,915) | 
| Total long term debt | 386,052 | 173,470 | 
| Term Loan Agreement [Member] | ||
| Long-term debt | 407,316 | |
| New Senior Secured Notes [Member] | ||
| Long-term debt | 167,553 | |
| Total long term debt | 167,600 | |
| Seller Notes [Member] | ||
| Long-term debt | $ 8,292 | 
| X | ||||||||||
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition Amount, after accumulated amortization, of debt premium. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |