Declare Index not indexing the instance
I have created a declare index for Rule-Shortcut. I tried to do a trace on saving one of the instances of the class and could only see a delete DB Query. I don't see any insert or merge DB Query in the tracer. However, the OOTB declare index for Rule- works fine. I'm using the same pagegroup as the source page context but my custom declare index doesn't work the same way. Is there anything I need to check?
See below. The one highlighted in yellow is for my custom declare index. The one highlighted in green is the OOTB declare index.