List of usage examples for org.apache.lucene.index IndexWriter getLiveCommitData
public final synchronized Iterable<Map.Entry<String, String>> getLiveCommitData()
From source file:org.elasticsearch.index.engine.EngineDiskUtils.java
License:Apache License
private static Map<String, String> getUserData(IndexWriter writer) { final Map<String, String> userData = new HashMap<>(); writer.getLiveCommitData().forEach(e -> userData.put(e.getKey(), e.getValue())); return userData; }