code: func RegisterPostingsFormat(formats ...PostingsFormat) {
  	for _, format := range formats {
  		fmt.Printf("Found postings format: %v\n", format.Name())
  		allPostingsFormats[format.Name()] = format
  	}
  }
docs: // workaround Lucene Java's SPI mechanism