Commit Graph

97 Commits

Author SHA1 Message Date
Chris Hostetter 4e0e8e979b SOLR-9304: Fix Solr's HTTP handling to respect '-Dsolr.ssl.checkPeerName=false' aka SOLR_SSL_CHECK_PEER_NAME 2018-04-22 13:38:37 -07:00
Jason Gerlowski 7edfd9c410 SOLR-11840: Fix bin/solr help-text inconsistencies 2018-04-16 22:21:27 -04:00
Mark Miller 5e2a5a5b8c SOLR-10783: Add support for Hadoop Credential Provider as SSL/TLS store password source. 2018-04-09 21:57:56 -05:00
Jan Høydahl 0989e5874a SOLR-12144: SOLR_LOG_PRESTART_ROTATION now defaults to false, we leverage log4j2 for log rotation on startup 2018-04-03 13:10:20 +02:00
Uwe Schindler ade2cf2e74 SOLR-12141: Fix "bin/solr" shell scripts (Windows/Linux/Mac) to correctly detect major Java version and use numerical version comparison to enforce minimum requirements. Also remove obsolete "UseParNewGC" option. This allows to start Solr with Java 10 or later. 2018-03-27 22:49:23 +02:00
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
Jason Gerlowski b4f8cd7ea6 SOLR-11108: Shorten/improve _default-configset msg
The bin/solr scripts print a warning message when a user creates a
collection that makes use of the default config (which has settings
not recommended for production).

While helpful, this warning was a little too noisy.  It also suggested
users resolve the issue with a provided curl command, but bin/solr is
also capable of performing the same action.

This commit cleans up the error message a bit.
2018-02-17 19:08:26 -05:00
Jason Gerlowski 11a23a9029 SOLR-11902: Clarify bin/solr -h text to describe which commands can be run remotely
The bin/solr scripts contain a number of independent tools.  Many of
these can be run anywhere and just pointed at the correct Solr or ZK
host.  Some must run on the machine hosting Solr itself.

This commit clarifies help text for each bin/solr command, indicating
whether it can be run remotely, or must be run locally.
2018-02-09 18:05:45 -05:00
Christine Poerschke 9268b2b30f SOLR-9137: bin/solr script ignored custom STOP_PORT on shutdown.
(Joachim Kohlhammer, Steve Rowe, Christine Poerschke)
2017-12-05 12:19:14 +00:00
Jan Høydahl b67424ee58 SOLR-10628: Less verbose output from bin/solr commands 2017-08-22 12:50:53 +02:00
Uwe Schindler 86f7d6779a SOLR-8689: Fix bin/solr.cmd so it can run properly on Java 9 2017-08-21 22:30:53 +02:00
Erick Erickson 7109820e01 SOLR-11084 Issue with starting script with solr.home (-s) == solr 2017-08-13 19:43:01 -07:00
Anshum Gupta 8821882400 SOLR-11131: Document 'assert' as a command option in bin/solr, and bin/solr.cmd scripts 2017-07-21 16:05:28 -07:00
Ishan Chattopadhyaya b29951ff2b SOLR-10920: Warning for production use of _default configset's data-driven functionality 2017-07-09 17:05:38 +05:30
Ishan Chattopadhyaya 85069cacf4 SOLR-10272: Adding user _default configset to test-files, fixing solr & solr.cmd script bugs 2017-06-29 10:46:14 +05:30
Ishan Chattopadhyaya ee572b052a SOLR-10272: Use _default config set if config name is not specified with CREATE collection 2017-06-27 09:07:05 +05:30
Ishan Chattopadhyaya e4a7fc59ad SOLR-10574: Adding _default configset, replacing data_driven_schema_configs and basic_configs 2017-06-26 04:58:02 +05:30
Jan Høydahl 39dfb7808a SOLR-6671: Possible to set solr.data.home property as root dir for all data 2017-06-20 13:21:14 +02:00
Mark Miller 9a0d9e83f6 SOLR-9910: Add solr/solr.cmd parameter to append jetty parameters to the start script. 2017-06-13 15:55:51 -04:00
Mark Miller 0fb89f17e1 SOLR-10307: Allow Passing SSL passwords through environment variables. 2017-05-16 14:19:16 -03:00
Ishan Chattopadhyaya 9be68cc307 SOLR-8440: Support for enabling basic authentication using bin/solr|bin/solr.cmd 2017-05-15 22:06:26 +05:30
Ishan Chattopadhyaya c9541c216d SOLR-8440: Support for enabling basic authentication using bin/solr|bin/solr.cmd
Usage:
    bin/solr auth -enable -prompt
    bin/solr auth -enable -credentials solr:SolrRocks
    bin/solr auth -disable
2017-05-09 12:42:41 +05:30
Jan Høydahl 68eb078af8 SOLR-10369: bin\solr.cmd delete and healthcheck now works again (fixed continuation chars ^) 2017-03-28 14:24:09 +02:00
Erick Erickson 0b3ca1bb61 SLR-10108: bin/solr script recursive copy broken 2017-03-27 12:15:05 -07:00
markrmiller e1a5776457 SOLR-9997: Enable configuring SolrHttpClientBuilder via java system property. 2017-02-07 13:15:51 -05:00
Jan Høydahl 8782d26197 SOLR-10043: Reduce logging of pre-start log rotation 2017-01-31 01:22:18 +01:00
Kevin Risden bb5bf3fbf7 SOLR-8491: solr.cmd SOLR_SSL_OPTS is overwritten 2017-01-28 12:11:44 -05:00
markrmiller 075aec91cd SOLR-9885: Allow pre-startup Solr log management in Solr bin scripts to be disabled. 2017-01-19 03:07:09 -05:00
Erick Erickson cb266d5fc7 SOLR-9891: Add mkroot command to bin/solr and bin/solr.cmd 2016-12-29 17:39:48 -08:00
Mikhail Khludnev febe0019a1 SOLR-9760: solr.cmd doesn't need write permission in current directory 2016-12-21 00:41:13 +03:00
Kevin Risden bf424d1ec1 SOLR-9728: Ability to specify Key Store type in solr.in file for SSL 2016-11-28 09:52:02 -06:00
Jan Høydahl 417e29a6fd Minor typo fix in solr.cmd help 2016-10-31 15:11:59 +01:00
Jan Høydahl 2ad2fca416 SOLR-9697: Fixed zk upconfig which was broken on windows 2016-10-31 09:35:09 +01:00
Jan Høydahl feb1a5d3e7 SOLR-9670: Support SOLR_AUTHENTICATION_OPTS in solr.cmd 2016-10-26 15:17:13 +02:00
Jan Høydahl ef5737466e SOLR-7506: Roll over GC logs by default via bin/solr scripts 2016-10-24 14:22:24 +02:00
Jan Høydahl 97761966f3 SOLR-99570: Various log tidying at Solr startup 2016-10-20 14:47:32 +02:00
David Smiley 8ae3304c86 SOLR-7580: Move defaults in bin/solr.in.sh into bin/solr (incl. Windows) 2016-10-19 16:38:06 -04:00
Jan Høydahl 33db4de4d7 SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties 2016-10-14 23:19:09 +02:00
Jan Høydahl 6512d0c620 SOLR-9610: New AssertTool in SolrCLI for easier cross platform assertions from command line 2016-10-12 09:16:41 +02:00
Jan Høydahl 73c2edddf0 SOLR-9534: You can now set Solr's log level through environment variable SOLR_LOG_LEVEL and -q and -v options to bin/solr 2016-09-22 21:05:28 +02:00
Jan Høydahl 2ef34e9e24 SOLR-8186: Solr start scripts, only log to console when running in foreground 2016-09-22 01:18:27 +02:00
Shawn Heisey e66ff585dd SOLR-9295: Remove BOM (unicode Byte Order Mark) from text files. 2016-07-11 12:06:23 -06:00
Erick a851d5f557 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper 2016-07-02 10:25:44 -07:00
Mikhail Khludnev 00602a3a7a SOLR-8676: keep LOG4J_CONFIG in solr.cmd 2016-06-06 23:49:34 +03:00
Steve Rowe 5d4cd44b6d SOLR-8792: ZooKeeper ACL support fixed 2016-05-03 18:57:59 -04:00
Uwe Schindler 3e6de6059f SOLR-9046: Fix solr.cmd that wrongly assumes Jetty will always listen on 0.0.0.0 2016-04-28 06:05:52 +02:00
Erick Erickson 72a5850a20 SOLR-8401: Windows start script fails when executed from a different drive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719123 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 17:45:01 +00:00
Erick Erickson 99550b5c8a SOLR-8378: Add upconfig and downconfig commands to the bin/solr script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719099 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 15:32:33 +00:00
Shalin Shekhar Mangar 77d89d6037 SOLR-8073: Solr fails to start on Windows with obscure errors when using relative path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716446 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 15:51:56 +00:00