The Query Plan Viewer displays in a graphical interface optimization and diagnostic plans produced by the MarkLogic Optic and SPARQL engine.
On the host where MarkLogic server is running, execute:
./setup.sh ---user=ADMIN_USER --pass=ADMIN_PASS --port=PORT
It will create an http server on the specified port.
Access the Query Plan Viewer:
http://MARKLOGIC_HOST:PORT