marklogic

How to create Marklogic TDE view from optic query


According to the MarkLogic documentation here, it's possible to create a TDE view from an Optic query. The documentation mentions that after running the op:generate-view query and inserting the resulting XML into the schema database, the view should be created.

I have followed this process, retrieved the XML results, and inserted them into the schema database, but the index does not seem to be triggered to generate the view.

Could you provide any guidance on what might be missing or if there are any additional steps or configurations needed to successfully generate the view from the Optic query?


Solution

  • You are likely missing a required collection: http://marklogic.com/xdmp/qbv

    Please see the example further down on this page: Query Based Views