OPENDJ-1714 OPENDJ-1725 Add new db index in UI
Add the new id2childrencount index to the pluggable backend index list in the control panel
| | |
| | | { |
| | | |
| | | private static final String[] DATABASE_INDEXES = new String[] { |
| | | DN2ID_INDEX_NAME, ID2CHILDREN_INDEX_NAME, ID2SUBTREE_INDEX_NAME }; |
| | | DN2ID_INDEX_NAME, ID2CHILDREN_COUNT_NAME, ID2CHILDREN_INDEX_NAME, ID2SUBTREE_INDEX_NAME }; |
| | | |
| | | private final SortedSet<IndexTypeDescriptor> types = new TreeSet<IndexTypeDescriptor>(); |
| | | private final boolean isDatabaseIndex; |
| | |
| | | final PluggableBackendCfgClient db) |
| | | { |
| | | indexes.add(new IndexDescriptor(DN2ID_INDEX_NAME)); |
| | | indexes.add(new IndexDescriptor(ID2CHILDREN_COUNT_NAME)); |
| | | try |
| | | { |
| | | for (final String indexName : db.listBackendIndexes()) |