In Poland solitary is only for serious violation of order and is limited to 28 days. There are seven other punishments that limit access of the prisoner to nice things (like buying things in the shop or meeting visitors without the glass) for up to 3 months.