[JIRA] Commented: (NXP-8629) Better handling of search limit
[ https://jira.nuxeo.com/browse/NXP-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=109591#comment-109591 ] Anahide Tchertchian commented on NXP-8629: -- note that some code relies on this exception to be launched to display an accurate message (for instance, suggestions issue a message please refine your search when keywords typed return too many entries. Better handling of search limit --- Key: NXP-8629 URL: https://jira.nuxeo.com/browse/NXP-8629 Project: Nuxeo Enterprise Platform Issue Type: Improvement Components: Directory Affects Versions: 5.4.2 Reporter: Thierry Martins Fix For: 5.6 When the amount of results exceeds the search limit, a SizeLimitExceededException is raised to indicate there was an overflow and no result is returned. It would be better to returned all the results until the limit and display a message indicating the overflow. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira ___ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets
[JIRA] Commented: (NXP-8629) Better handling of search limit
[ https://jira.nuxeo.com/browse/NXP-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=109597#comment-109597 ] Thierry Martins commented on NXP-8629: -- I was wondering if we cannot add a variable like {{List? partialResults}} as a field of SizeLimitExceededException class, with a new constructor. It will help to raise the exception and return some results Better handling of search limit --- Key: NXP-8629 URL: https://jira.nuxeo.com/browse/NXP-8629 Project: Nuxeo Enterprise Platform Issue Type: Improvement Components: Directory Affects Versions: 5.4.2 Reporter: Thierry Martins Fix For: 5.6 When the amount of results exceeds the search limit, a SizeLimitExceededException is raised to indicate there was an overflow and no result is returned. It would be better to returned all the results until the limit and display a message indicating the overflow. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira ___ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets
[JIRA] Commented: (NXP-8629) Better handling of search limit
[ https://jira.nuxeo.com/browse/NXP-8629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=109602#comment-109602 ] Anahide Tchertchian commented on NXP-8629: -- catching the SizeLimitExceededException error is just a way for the suggestion not to crash and to tell the user to refine its search. if partial results are available, i don't think it will be an issue for the suggestion, unless we want to display something like more results are available in some (other) cases. anyway i was just adding this comment for us not to forget to check behaviour for classes already handling this expression, and make sure that enough information is returned to the user for a good feedback: i would expect the ResultSet result to hold info that there were more results instead of the other way around (attaching info to the error) but we may have issues with existing API(s)... Better handling of search limit --- Key: NXP-8629 URL: https://jira.nuxeo.com/browse/NXP-8629 Project: Nuxeo Enterprise Platform Issue Type: Improvement Components: Directory Affects Versions: 5.4.2 Reporter: Thierry Martins Fix For: 5.6 When the amount of results exceeds the search limit, a SizeLimitExceededException is raised to indicate there was an overflow and no result is returned. It would be better to returned all the results until the limit and display a message indicating the overflow. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira ___ ECM-tickets mailing list ECM-tickets@lists.nuxeo.com http://lists.nuxeo.com/mailman/listinfo/ecm-tickets