Persistence and Search Modes
Understand the two data view modes. Persistence mode focuses on database structure, while search mode focuses on search index configuration.
Every data view operates in one of two modes: persistence or search. The mode determines which profile is active, how types are resolved, and what configuration details appear in the entity overlay. Each data view has exactly one mode and one profile, keeping the view focused on a single concern.
Persistence Mode
Persistence mode is for documenting database structure. It shows how your model maps to tables, columns, and relationships in a specific database technology.
Search Mode
Search mode is for documenting search index configuration. It shows how your model maps to fields and analysers in a search technology.
Choosing the Right Mode
| Question | Persistence Mode | Search Mode |
|---|---|---|
| What database will store this data? | Yes - choose this mode | No |
| How will this data be indexed for search? | No | Yes - choose this mode |
| Do I need to show table relationships? | Yes | Relationships are less relevant |
| Do I need to show analyser configuration? | No | Yes |