Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-948

Sorting search results does not work with over 1000 results

    Details

      Description

      When Searching a large directory sorting is not possible if there are more than 1000 results.
      What I do is a standard search and then click on the attribute tab. If I have fewer that 1000 results they sort nicely but with more than 1000 no sorting occurs.

      I can understand this from an performance perspective but it would be nice to have the option to set the limit as we have in other areas.

      Maybe it is possible but I just have not found the right place to adjust it.

      Thanks
      Joakim

      1. Screen Shot 2013-09-10 at 17.47.36.png
        53 kB
        Pierre-Arnaud Marcelot
      2. ejfbhjae.png
        93 kB
        Joakim Ganse

        Activity

        Hide
        pamarcelot Pierre-Arnaud Marcelot added a comment -

        I added a new integer text field to specify the 'Sort/Filter Limit' in the 'Search Result Editor' preference page.
        The limit has been raised to 10.000 by default.

        Show
        pamarcelot Pierre-Arnaud Marcelot added a comment - I added a new integer text field to specify the 'Sort/Filter Limit' in the 'Search Result Editor' preference page. The limit has been raised to 10.000 by default.
        Hide
        pamarcelot Pierre-Arnaud Marcelot added a comment -

        Fixed at revision 1521528.

        http://svn.apache.org/r1521528

        Show
        pamarcelot Pierre-Arnaud Marcelot added a comment - Fixed at revision 1521528. http://svn.apache.org/r1521528
        Hide
        joakim_ganse Joakim Ganse added a comment -

        Brilliant, thanks.

        Now one of my customers will use this tool instead of buying Softerra.

        Show
        joakim_ganse Joakim Ganse added a comment - Brilliant, thanks. Now one of my customers will use this tool instead of buying Softerra.
        Hide
        pamarcelot Pierre-Arnaud Marcelot added a comment -

        Sorry, I did miss the "Search Results" keyword in the issue description.
        Thanks for the screenshot.

        Looking at the code, indeed we have a hard coded limitation set to 1000 search results.
        Maybe we should have a field for that in the preference page of Search Result Editor to allow our users to increase it (with a tooltip indicating that it's a very costly operation).

        Thanks for the report, that's a perfectly valid observation!

        Show
        pamarcelot Pierre-Arnaud Marcelot added a comment - Sorry, I did miss the "Search Results" keyword in the issue description. Thanks for the screenshot. Looking at the code, indeed we have a hard coded limitation set to 1000 search results. Maybe we should have a field for that in the preference page of Search Result Editor to allow our users to increase it (with a tooltip indicating that it's a very costly operation). Thanks for the report, that's a perfectly valid observation!
        Hide
        joakim_ganse Joakim Ganse added a comment -

        This is my view so you can see what I'm talking about:

        Show
        joakim_ganse Joakim Ganse added a comment - This is my view so you can see what I'm talking about:
        Hide
        joakim_ganse Joakim Ganse added a comment -

        Thank you for your quick reply.

        Unfortunately this is not the case, sorting in the tree-view works good.
        What I want is to sort the results on the right side where all the resulting attributes are shown and right now I can only do this by exporting and using a spreadsheet.

        Show
        joakim_ganse Joakim Ganse added a comment - Thank you for your quick reply. Unfortunately this is not the case, sorting in the tree-view works good. What I want is to sort the results on the right side where all the resulting attributes are shown and right now I can only do this by exporting and using a spreadsheet.
        Hide
        pamarcelot Pierre-Arnaud Marcelot added a comment -

        Hi Joakim,

        Are we talking about sorting in the LDAP Browser view (the tree-view on the left of the perspective)?

        If yes, did you have a look at the Sorting options (accessible from the little triangle menu)?

        See this page on the documentation for more details:
        http://directory.apache.org/studio/users-guide/ldap_browser/tools_browser_view_overview.html#tools_browser_view_sortdialog

        Hope this helps.

        Show
        pamarcelot Pierre-Arnaud Marcelot added a comment - Hi Joakim, Are we talking about sorting in the LDAP Browser view (the tree-view on the left of the perspective)? If yes, did you have a look at the Sorting options (accessible from the little triangle menu)? See this page on the documentation for more details: http://directory.apache.org/studio/users-guide/ldap_browser/tools_browser_view_overview.html#tools_browser_view_sortdialog Hope this helps.

          People

          • Assignee:
            pamarcelot Pierre-Arnaud Marcelot
            Reporter:
            joakim_ganse Joakim Ganse
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development