Class IndexSelector


  • public class IndexSelector
    extends Object
    • Method Detail

      • getIndexNames

        public List<String> getIndexNames​(long start,
                                          long end)
        We assume that timeRange is valid: - not Null - start and end date is positive - start date <= end date

        We need to be aware that the indexes are part of the GET URL and therefor we can't have too many, it will result in a HTTP 400 from elasticsearch. Therefor we collapse the indexes with wildcards where applicable