| We can use the nested index from PDB if we use the dotted projections on the inventory endpoint. An example would be:
["~", "facts.os.lsb.distid", "MND.*"]
|
The query plan for the above query is in the attachement. If we use the fact-contents endpoint with a query like this:
["and", ["=", "path", ["os", "lsb", "distid"]], ["~", "value", "MND.*"]]
|
the index will not be used. |