Creating index for query in aem6.3 which has a path that is dynamic
Hi,
I have component that sends a query based on the path selected from dialog .This is basically a case when we need to generate reports data based on different path author wants
like the author could select path: /content/project/abc
then they could select a different path like : /content/project/def
Then we would get a different report. Since a query may slow down the system based on the results it needs to get.
Please let me know what should be approach for this as path is dynamic here
How could i create index from below for such a use case
You can create an index of your query on the Oak Index Definition Generator:
https://oakutils.appspot.com/generate/index
Generating custom indexes on queries:
https://helpx.adobe.com/experience-manager/kb/create-custom-oak-index.html
Thanks