I have short line segments that I want to join to their nearest adjacent neighbor. These segments represent pipeline segments that pass under a road. I have split the segment under the road into two equal pieces. I want to join or merge each half of the road segments to the connecting neighbor so that each short segment in the road is joined to a segment that is on either side of the road.
If the lines have a common ID field, such as the road ID polygon then you would use the dissolve tool to merge these. Note dissolving would loose any attribution as you are creating a new feature.