class EmptyLuceneIndexCreator {

  private EmptyLuceneIndexCreator() {
  }

  public static void main(String[] args) throws IOException {<FILL_FUNCTION_BODY>}

}

    if (args.length != 1) {
      System.out.println("Usage: " + EmptyLuceneIndexCreator.class.getSimpleName() + " <indexPath>");
      System.exit(1);
    }
    Analyzer analyzer = new StandardAnalyzer();
    IndexWriterConfig config = new IndexWriterConfig(analyzer);
    Directory directory = FSDirectory.open(new File(args[0]).toPath());
    try (IndexWriter writer = new IndexWriter(directory, config)) {
      FieldType fieldType = new FieldType();
      fieldType.setIndexOptions(IndexOptions.DOCS);
      fieldType.setStored(true);
      Field countField = new Field("totalTokenCount", String.valueOf(0), fieldType);
      Document doc = new Document();
      doc.add(countField);
      writer.addDocument(doc);
    }
  
<no_super_class>