Note 4 - Business Combinations - Pro Forma Financial Information (Details) - USD ($) $ in Thousands  | 
3 Months Ended | |
|---|---|---|
Jan. 31, 2019  | 
Jan. 31, 2018  | 
|
| Revenue | $ 24,396 | $ 52,802 | 
| Total pro forma revenue | 58,366 | 56,056 | 
| Net (loss) income | (22,575) | 17,558 | 
| Total pro forma net (loss) income | (26,205) | 11,747 | 
| O’Brien Acquisition [Member] | ||
| Pro forma revenue adjustments by Business Combination | 3,254 | |
| Pro forma net income adjustments by Business Combination | (5,811) | |
| CPH Acquisition [Member] | ||
| Pro forma revenue adjustments by Business Combination | 33,970 | |
| Pro forma net income adjustments by Business Combination | $ (3,630) | |
| X | ||||||||||
- Definition The amount of adjustment to pro forma net income (loss) related to an acquisition. No definition available. 
  | 
| X | ||||||||||
- Definition The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period, before any adjustment. No definition available. 
  | 
| X | ||||||||||
- Definition The amount of adjustment to pro forma revenue related to an acquisition. No definition available. 
  | 
| X | ||||||||||
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period, before any adjustment. No definition available. 
  | 
| X | ||||||||||
- Definition The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Definition The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
  | 
| X | ||||||||||
- Details 
  | 
| X | ||||||||||
- Details 
  |