[ https://issues.apache.org/jira/browse/SOLR-13934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16976002#comment-16976002 ]
David Eric Pugh commented on SOLR-13934: ---------------------------------------- Two thoughts, 1) We could change the documentation to highlight the `-h` feature as well. 2) The other thing I noticed is that the defaults in the shell script differ from the post.jar. For example, the `auto` parameter in shell defaults to true, but in post it is false. This is actually what tripped us up, and prompted this documentation fix. Should we maybe have another issue to get the defaults to match in the linux and the jar? Related maybe, should a lot of the code in the shell script be moved into the post.jar? for example, the `print_usage()` method duplicates much of what the -h parameter returns from the Java.. Push to have post.jar be most of the code, and have a small `bin/solr/post` script. It would be easy then to add a `bin/solr/post.cmd` or `bin/solr/post.ps1` helper scripts. > Documentation on SimplePostTool for Windows users is pretty brief > ----------------------------------------------------------------- > > Key: SOLR-13934 > URL: https://issues.apache.org/jira/browse/SOLR-13934 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: SimplePostTool > Affects Versions: 8.3 > Reporter: David Eric Pugh > Priority: Minor > Fix For: master (9.0) > > Time Spent: 10m > Remaining Estimate: 0h > > SimplePostTool on windows doesn't have enough documentation, you end up > googling to get it to work. Need to provide better example. > https://lucene.apache.org/solr/guide/8_3/post-tool.html#simpleposttool -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org