What Is Optic?
- Last Updated: May 18, 2026
- 1 minute read
- MarkLogic Server
- Version 12.0
- Documentation
Optic is the primary MarkLogic language for querying and updating your data. It is an API that uses a flexible pipeline to access any model in your database then to process it through one SQL-like operator after another. With Optic, you can do anything from routine, relational-database-like querying to complex quests through text, values, graphs, geospatial regions, and metadata with just a few lines of code without integrating other tools and systems.