Works for me….   I don’t know that I have a strong reason to say that sorting 
is the way to go, and therefore can’t come up with a reason for a checkbox 
feature to do it either ;-).

    

> On Nov 18, 2021, at 3:28 PM, Shawn Heisey <[email protected]> wrote:
> 
> It's been bugging me for a while that the JVM Args list in the Solr Admin UI 
> is sorted, not shown in the actual order the arguments appear on the command 
> that started Solr.
> 
> With the list of arguments sorted by the UI, you can't tell what the actual 
> order is.  If you look at a process listing, the order can be seen, but the 
> admin UI is often the first thing people look at.  I think the admin UI 
> should reflect the true argument order, not sort the list.
> 
> If there were a really large number of arguments, scanning an unsorted list 
> to find something specific might become difficult, but I don't think a 
> typical install has so many arguments that this is a practical problem.  
> Maybe there could be an checkbox option near the list to sort it for 
> situations where somebody actually wants to do that?  I don't know enough 
> about UI design to be able to make that happen.
> 
> In server/solr-webapp/webapp/js/angular/controllers/index.js is this line:
> 
>       $scope.commandLineArgs = data.jvm.jmx.commandLineArgs.sort();
> 
> I removed".sort()" from that line on an install of 8.11.0.  On page reload, 
> the list was no longer sorted.
> 
> I figured I should ask people what they think before committing that change.  
> Thoughts?
> 
> Thanks,
> Shawn
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

_______________________
Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | 
http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | 
My Free/Busy <http://tinyurl.com/eric-cal>  
Co-Author: Apache Solr Enterprise Search Server, 3rd Ed 
<https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>
    
This e-mail and all contents, including attachments, is considered to be 
Company Confidential unless explicitly stated otherwise, regardless of whether 
attachments are marked as such.

Reply via email to