code: func (mp *LogMergePolicy) isMergedBy(infos *SegmentInfos,
  	maxNumSegments int, segmentsToMerge map[*SegmentCommitInfo]bool,
  	w *IndexWriter) bool {
  	panic("not implemented yet")
  }
docs: /*
  Returns true if the number of segments eligible for merging is less
  than or equal to the specified maxNumSegments.
  */