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

Hi,
i have following bean

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

@Id
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

Thanks,
Harshith Gowda B T

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