. . .

Indexing

ApiOmat generates Indexes on most common queries automatically.

If larger datasets (> 200.000 entries) are used in conjunction with complex queries, a creation of indexes on MongoDB level may be necessary. You can estimate which indexes would improve performance by analyzing MongoDB performance.

By default, the following indexes are created for fields of each collection/class:

  • id

  • foreignId

  • ownerUserName

  • className and moduleName

  • foreignId and className

  • date fields

  • location fields

  • referenced fields