Assets Share Commons : The query read or traversed more than 100000 nodes Issue.
Hi Team,
We are facing search query traversal issue i.e. “The query read or traversed more than 100000 nodes. To avoid affecting other tasks, processing was stopped.”
We have assets stored under the “/content/dam/<project>/<sub-module>”. We are also using Asset share commons 1.94. version for the search page. The query generated while the page load is something like as below.:
2_group.0_path = "path1"
2_group.1_path = "path2"
2_group.2_path = "path3"
2_group.3_path = "path3"
2_group.4_path = "path4"
2_group.p.or = true
4_group.group.2_property = ./jcr:content/metadata/isSearchable
4_group.group.2_property.operation = unequals
4_group.group.2_property.value = false
5_group.mainasset = true
orderby = @6655266:score
orderby.sort = desc
p.guessTotal = 10
p.limit = 10
p.offset = 0
type = dam:Asset
The assets under this path /content/dam/<project> is more than 100000 count. The query runs under this path only to get the searchable assets. This path is enabled with CUG’s. The traversal issue come when users have access to only few assets or different sub module access.
Please provide the possible solution here for search enhancement. And FYI, the number of assets will continue to grow in future.
With Regards
Aman Kumar
CC: