lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gerlowski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-11131) bin/solr help doesn't mention "assert" as a COMMAND option
Date Thu, 20 Jul 2017 18:31:00 GMT

     [ https://issues.apache.org/jira/browse/SOLR-11131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Gerlowski updated SOLR-11131:
-----------------------------------
    Attachment: SOLR-11131.patch

I've made the corresponding change to bin/solr.cmd as Anshum suggested, and I took a stab
at a small ref-guide section for {{assert}} as well.  I'd view the ref-guide section skeptically,
but it's at least something to build off of if people don't like it.

Tests and precommit pass.

> bin/solr help doesn't mention "assert" as a COMMAND option
> ----------------------------------------------------------
>
>                 Key: SOLR-11131
>                 URL: https://issues.apache.org/jira/browse/SOLR-11131
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>    Affects Versions: master (8.0)
>         Environment: Any POSIX-compliant environment.
>            Reporter: Jason Gerlowski
>            Assignee: Erick Erickson
>            Priority: Trivial
>         Attachments: SOLR-11131.patch, SOLR-11131.patch
>
>
> The root help/usage text for {{bin/solr}} looks like:
> {noformat}
> [~/c/l/solr] $ bin/solr
> Usage: solr COMMAND OPTIONS
>        where COMMAND is one of: start, stop, restart, status, healthcheck, create, create_core,
create_collection, delete, version, zk, auth
>   Standalone server example (start Solr running in the background on port 8984):
>     ./solr start -p 8984
>   SolrCloud example (start Solr running in SolrCloud mode using localhost:2181 to connect
to Zookeeper, with 1g max heap size and remote Java debug options enabled):
>     ./solr start -c -m 1g -z localhost:2181 -a "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044"
> Pass -help after any COMMAND to see command-specific usage information,
>   such as:    ./solr start -help or ./solr stop -help
> {noformat}
> The list of valid commands near the top leaves off {{assert}}, a tool created back in
SOLR-9610
> The usage text should be amended to include assert in the list.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message