question: protected static SegmentInfo newSegmentInfo ( Directory dir , String name ) { return new SegmentInfo ( dir , Version . LATEST , name , 10000 , false , Codec . getDefault ( ) , Collections . emptyMap ( ) , StringHelper . randomId ( ) , new HashMap < > ( ) , null ) ; }
target:  Returns a new fake segment 