You’ll indeed lose some oil if you just change the filter. But not nearly as much as if you completely drained the crankcase. The oil filter is fairly high up on the engine, compared to the drain plug. Best to do this in the morning so the car has had a chance to sit overnight, allowing oil in the valve area to drain back to the crankcase. Just top it off to the top mark on the dipstick when you are done w/the filter replacement job is all.
Just an aside: Auto Repair Books constantly tell you to tighten and untighten the oil filter just using only your hands, no tools. I have no idea why some auto expert would think that a good idea. B/c it isn’t a good idea. Not at all. Hand and arm strength and hand size vary greatly. Plus the oil filter is very hot if you run the engine to operating temperature first like you are supposed to do when doing an oil/filter change. I always use a band-clamp filter wrench to remove oil filters. When installing a new filter, I tighten by hand until the gasket just makes solid contact. Then I place a mark on the bottom of the filter, and tighten the filter until that mark is on top, 180 degrees past the point the gasket just makes contact. Done.