Assigning index names dynamically (at run time) in spring boot

i have following bean

@Document(indexName = "{dna-nbi-performancemanagement}", type = "_doc")
public class PerformanceResource {
private String granularity;

private String retrievalTime;

private Map<String, String> rdn;

private Map<String, String> performanceValue;

private Map<String, String> performanceInterval;

in need to index data in to different name of same bean parameters based on some conditions ,so can you please tell how to assign multiple index name to same bean

Harshith Gowda B T

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.