A solenoid typically has a moving core inside the coil, often also with a ferrous shell and possibly partial fixed core.
It can also mean other variations using a combination of an electromagnet and moving core in a single assembly to produce a mechanical effect; "Rotary solenoids" such as Ledex actuators come to mind.
Large electromagnets are often made in segments, with an array, concentric circles or grid of coils, each with its own polepiece and arranged to give alternate magnetic polarities at the magnet surface, so a stronger field circulates through the external object.
See the photos in this link:
Supplying High Quality Tools and Supplies for Machine Shops, Plant Engineering and Maintenance since 1955
The rectangular one will likely have all the coils the same polarity, as the "alternate poles" come from the back of the coils.
The circular ones are probably alternating to the circular polepieces between them alternate north-south.
More examples below, both variations again: The round ones have almost all the metalwork (polepieces) through them, so likely alternating polarity on each coil, to get similar areas of north and south poles to the face of the magnet. The rectangular one has a lot of metal around the magnet coils, so probably all the same polarity.
If you can find some old transformers with identical size cores, you could strip them and use the "E" part of the core and coilformer to make good electromagnets.