Question: what is the main difference between search and planning?
Answer: In search, states are represented as a single entity (which may be quite a complex object, but its internal structure is not used by the search algorithm). Whereas in planning, states have structured representations (collections of properties) that are used by the planning algorithm.