[ 
https://issues.apache.org/jira/browse/SOLR-11645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254141#comment-16254141
 ] 

Shawn Heisey commented on SOLR-11645:
-------------------------------------

bq. Personally I always prefer alphabetical ordering.

For many things, I tend to agree, but I think in this case, we probably want 
them unsorted.

If a Java commandline has competing arguments, for instance both "-Xmx512M" and 
"-Xmx4G" ... is Java going to behave differently when one of them is listed 
first versus how it behaves when the other is listed first?  I suspect that the 
behavior IS different, but if I'm wrong about that, then I will agree that 
sorting is the best option.  If Java *does* behave differently when the order 
is changed, then I think we want them shown in actual order.

I wonder if it might be possible to have a sort button in the UI, so people can 
do a one-time sort of the list, which would aid in learning whether or not an 
option is present without reading the entire list.  If an option like that is 
implemented, I think that a page refresh should go back to an unsorted list.


> When there are duplicate java commandline arguments, the Solr UI dashboard 
> doesn't show Args at all
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-11645
>                 URL: https://issues.apache.org/jira/browse/SOLR-11645
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: 7.1
>            Reporter: Shawn Heisey
>            Priority: Minor
>         Attachments: SOLR-11645.patch, SOLR-11645.patch
>
>
> A user couldn't get the "Args" to display in the admin UI.
> Ultimately it was determined that they had duplicate arguments on their 
> commandline, and this was resulting in an error in the browser:
> {code}
> Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use
> 'track by' expression to specify unique keys. Repeater: arg in
> commandLineArgs, Duplicate key: string:-XX:+UseGCLogFileRotation, Duplicate
> value: -XX:+UseGCLogFileRotation
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to