Dear community, is there an easy way to find out what the most recently MQE indexed object is?
- Hedde -
From an end-user perspective, this is not directly possible. The indexing uses time stamps to identify content for indexing, so the only information is what was the timestamp for which all objects with change time less than or equal to it have been indexed. This time stamp is updated every time the indexing service wakes up to check for content. The timestamp is visible in the Tenant Admin Console.
The only thing that "might" be what you are looking for is to perform an MQE Object based query with an "empty" criteria, and sort by change time descending returning only 1 object that matches. This will not be system wide, but instead based on the namespace(s) that the specified user has access to in a given tenant. You can also specify a query specific to one namespace as well.
Here is an example query criteria put into file queryall.xml for this example:
A sample curl command to execute it:
curl -k -H "Authorization: HCP <base64-username>:<md5-password>" https://ten1.hcp720.boondox.lab/query?prettyprint -d @queryall.xml -H "Content-Type: application/xml" -H "Accept: application/xml"
and the output would be like:
<queryResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="/static/xsd/query-result-7.0.xsd">
Hope this helps!
Thanks Cliff appreciate that!
Retrieving data ...