[feature/MNT-24127-EndpointToCalculateFolderSize] Added endpoints implementation to calculate folder size

This commit is contained in:
Mohit Singh
2024-08-08 13:25:33 +05:30
parent cb9c051383
commit 8927470328
3 changed files with 9 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ public class NodeSizeActionExecuter extends ActionExecuterAbstractBase
public static final String NAME = "folder-size";
public static final String DEFAULT_SIZE = "default-size";
private static final String FIELD_FACET = "content.size";
private static final String FACET_QUERY = "content.size:[0 TO "+Integer.MAX_VALUE+"] \"label\": \"extra small\",\"group\":\"Size\"";
private static final String FACET_QUERY = "content.size:[0 TO "+Integer.MAX_VALUE+"] \"label\": \"large\",\"group\":\"Size\"";
private SearchService searchService;
private SimpleCache<Serializable,Object> simpleCache;