The type of finish that has been applied to your floors is important in determining how you clean them, so consider this when choosing a product. Too much water or a water/vinegar mixture will dull a hardwood floor finish. Abrasive cleansers can scratch floors and oils and waxes leave a residue.
For hardwood floors finished with a surface sealer like urethane, polyurethane, or polyacrylic, the best cleaning method is to sweep or vacuum. These finishes are stain and water resistant, though it is still not recommended that you mop them. Spills can be immediately wiped up with a damp cloth and then dried.