How to create query index to get component paths in AEM ?
Hello Everyone -I am trying to get all the components that are on the website. I wrote a below query to get the component,
path=/content/my-site/en
1_property=sling:resourceType
p.limit=-1
Note I selected "Extract facets" at the top to get all components.

This query works for subpages so there is no problem in the query.
But this query is not working at home page level as it needs to traverse a lot of nodes. Hence I increased the LimitReads and LimitInMemory property in the JMX console. Also increased Xmx and MaxPermSize values

But still AEM is not responsive and it keeps loading and responsive after a few mins. In the logs it recommended to have an index created so I am planning to create an index for my above query but the index generator is not working(below URL).
Oak Index Definition Generator in AEM
http://oakutils.appspot.com/generate/index
Could anyone tell me how to write a index for above query ?