AEM 6.3 nodename not getting set
Hello.
I am using AEM 6.3. Recently, new content seems to not have the nodename property set correctly. I only know this circumstantially; I discovered this because the /siteadmin search stopped working on the names. The search uses /bin/querybuilder.json, with the node name going into the fulltext parameter. In some cases, with slightly older content, it works. But for newer content, it does not.
Then I tested with querybuilder directly. When I have (older) content that works, all three of these queries give the same result:
/bin/querybuilder.json?type=cq:Page&fulltext=mynode
/bin/querybuilder.json?type=cq:Page&nodename=mynode
/bin/querybuilder.json?type=cq:Page&property=jcr%3apath&property.value=/path/to/content/mynode
But with (newer) non-working content, only the last one works.
Other bits of information: We have multiple environments, and on my local machine, it's not a problem... just our testing environment (that I know of). So I don't think the issue is in the content.
Also - if I take a piece of working content and change the name in crx/de, nodename/fulltext no longer works. But if I change it back, it will work again.
The main question is: How do I fix this?
Sub questions: What could cause this? And how can I best troubleshoot this?
Thank you.