Project

General

Profile

Task #2681

Update index name validity

Added by Ram Kordale about 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
10/31/2022
Due date:
% Done:

100%

Estimated time:

Description

Currently, we check for validity of index names. However, Elasticsearch seems to have made some changes. So, please update that logic as follows.

Index names must meet the following criteria:

Lowercase only
Cannot include \, /, *, ?, ", <, >, |, ` ` (space character), ,, #
Indices prior to 7.0 could contain a colon (:), but that’s been deprecated and won’t be supported in 7.0+
Cannot start with -, _, +
Cannot be . or ..
Cannot be longer than 255 bytes (note it is bytes, so multi-byte characters will count towards the 255 limit faster)
Names starting with . are deprecated, except for hidden indices and internal indices managed by plugins

Also available in: Atom PDF