Dill seed , having a flavor similar to caraway but also resembling that of fresh or dried dill weed , is used as a spice .
Dill seed is used as a spice , with a flavor similar to caraway .