# Rename MEILI_MAX_MDB_SIZE env var and --max-mdb-size option flag

# 1. Functional Specification

# I. Summary

This specification is written to rename the MEILI_MAX_MDB_SIZE environnement variable and --max-mdb-size option flag to MEILI_MAX_INDEX_SIZE and --max-index-size.

# II. Motivation

Since version 0.21 no longer has a main LMDB database for all indexes but one LMBD database per index, the concept of a main database no longer exists internally.

# III. Additional Materials

N/A

# IV. Explanation

  • Rename --max-mdb-size to --max-index-size
  • Rename MEILI_MAX_MDB_SIZE to MEILI_MAX_INDEX_SIZE

# V. Impact on Documentation

# VI. Impact on SDKs

N/A

# 2. Technical Aspects

N/A

# 3. Future Possibilities

  • Provide a way to set a custom size per index.