Commit Graph

211 Commits

Author SHA1 Message Date
Ishan Chattopadhyaya e5722c3f96 SOLR-11128: Escape script usage strings containing quotes 2017-07-20 16:56:09 +05:30
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 5f28780e5d SOLR-10282: bin/solr support for enabling Kerberos authentication 2017-07-07 15:31:03 +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
Mark Miller 54fc1ee44d SOLR-10307: Export variables so that solr.in.sh works correctly. 2017-06-27 02:37:15 -04:00
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
Ishan Chattopadhyaya 1a58412e4a SOLR-10574: Reverting previous commits to tackle test failues 2017-06-20 23:14:24 +00:00
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
Ishan Chattopadhyaya d1c807dd70 SOLR-10574: Adding unified _default config set 2017-06-20 11:05:07 +00: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
Jan Høydahl b5aa0da6ff SOLR-10223: Allow running examples as root on Linux with -force option 2017-05-18 11:26:19 +02: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
Jan Høydahl 50a0804263 SOLR-10644: Make solr.in.sh owned by root, readable to solr (group) but not world-readable 2017-05-15 16:06:01 +02:00
Jan Høydahl d59faafd89 SOLR-10644: solr.in.sh installed by install script should be writable by solr user 2017-05-09 13:03:18 +02:00
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
Ishan Chattopadhyaya efdb04d06c SOLR-10352: Fixing available entropy warning limit to 300 2017-03-29 19:22:02 +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
Ishan Chattopadhyaya 2ba54a36ba SOLR-10352: bin/solr script now prints warning when available system entropy is lower than 300 2017-03-27 23:56:23 +05:30
Chris Hostetter 09bd8612ce SOLR-10184: Fix bin/solr so it can run properly on java9 2017-03-14 10:23:49 -07:00
Jan Høydahl 59433bb460 SOLR-10088: Installer script does not put zoo.cfg in SOLR_HOME 2017-03-04 23:19:06 +01:00
Jan Høydahl 1e206d820a SOLR-10055: Linux installer now renames existing bin/solr.in.* as bin/solr.in.*.orig to avoid wrong resolving. 2017-02-22 23:44:19 +01: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
Erick Erickson b2bf87dee7 SOLR-9360: Solr script not properly checking SOLR_PID 2016-11-04 12:57:26 -07: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
Erick Erickson 1344d895f9 SOLR-9371: Fix bin/solr script calculations - start/stop wait time and RMI_PORT 2016-10-27 17:54:34 -07: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 61e180b7ef SOLR-9255: Rename SOLR_AUTHENTICATION_CLIENT_CONFIGURER -> SOLR_AUTHENTICATION_CLIENT_BUILDER 2016-10-24 14:18:21 +02:00
Jan Høydahl e3a8a0fe5f SOLR-9662: New parameter -u <user:pass> in bin/post to pass basicauth credentials 2016-10-22 02:02:07 +02:00
Jan Høydahl c9cf0eff03 SOLR-9325: Remove unnecessary search/replace in installer script 2016-10-22 01:00:48 +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 8648fd5e83 SOLR-9534: Fix typo in help, said "-V or -version", but should be "-V or -verbose" 2016-10-11 11:20:05 +02:00
Jan Høydahl 2ad00826a3 SOLR-9475: Imrpove distro detection by grepping /etc/os-release and adding lsb_release -i 2016-10-04 09:22:07 +02:00
Jan Høydahl eba3939a04 SOLR-7436: Solr stops printing stacktraces in log and output (add -XX:-OmitStackTraceInFastThrow to solr.in.{sh|cmd)) 2016-09-28 10:06:15 +02:00
Jan Høydahl 6b28af0c7d SOLR-9547: Do not allow bin/solr start as root user (unless -force param specified) 2016-09-27 09:24:00 +02:00
Jan Høydahl 4c7a8c4b81 SOLR-9548: The beginning of solr.log now starts with a more informative welcome message 2016-09-26 11:02:20 +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
Jan Høydahl 7561461f73 SOLR-7826: Refuse "bin/solr create" if run as root, unless -force is specified 2016-09-21 22:23:49 +02:00
Jan Høydahl b894ab292d SOLR-9508: Install script should check existence of tools, and add option to NOT start service 2016-09-21 21:49:46 +02:00
Jan Høydahl a1bbc996e4 Add install script support for CentOS and better distro detection under Docker 2016-09-20 11:22:53 +02:00
Jan Høydahl 4574cb8cea SOLR-8080: bin/solr start script now exits with informative message if using wrong Java version 2016-09-20 10:56:25 +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
Shalin Shekhar Mangar ab2348e3ef Fix typo in bin/solr zk help text
This closes #29
2016-06-28 17:15:21 +05:30
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
David Smiley 7833f7f69a SOLR-8946: fix bin/post stdin detection. faulty on Ubuntu; maybe others 2016-04-15 22:06:54 -04:00
thelabdude 80801a2738 SOLR-8145: Fix position of OOM killer script when starting Solr in the background 2016-03-02 11:22:27 -07:00
Erik Hatcher 8826ea070a SOLR-7042: bin/post defaults application/json to /update/json/docs now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723879 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 19:30:21 +00:00
Jan Høydahl d478d7a293 SOLR-8486: No longer require jar/unzip for bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722988 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 23:39:52 +00: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
Timothy Potter c862370abe SOLR-7169: bin/solr status should return exit code 3 no Solr is running instead of 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716516 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 19:29:09 +00:00
Timothy Potter 872e329a2b SOLR-8101: Improve Linux service installation script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716506 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 18:40:03 +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
Timothy Potter 673654321b SOLR-8107: bin/solr -f should use exec to start the JVM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708700 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 21:51:56 +00:00
Jan Høydahl c7d7b00e03 SOLR-7961: Add version command to bin/solr start script. Also adds -h for help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697904 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 12:33:10 +00:00
Ramkumar Aiyengar 9f6b72524c SOLR-7859: Revert r1694888 to add SolrJ to the path for bin/post, should not be needed any longer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695175 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:53:42 +00:00
Erik Hatcher 84c8c5e228 SOLR-7859: Fix bin/post to rely on SolrJ for RTimer use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694888 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 13:22:20 +00:00
Mark Robert Miller af2bce9ee1 SOLR-7831: Start Scripts: Allow a configurable stack size [-Xss]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694523 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 15:26:11 +00:00
Timothy Potter c1522a9c75 SOLR-7847: Implement run example logic in Java instead of OS-specific scripts in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694083 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 16:32:12 +00:00
Erik Hatcher 4f065ce777 SOLR-7832: bin/post now allows either -url or -c, rather than requiring both
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693958 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 19:34:21 +00:00
Erik Hatcher 2c0b36bf0a SOLR-7769: Add bin/post -p alias for -port parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693953 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 18:39:29 +00:00
Timothy Potter 2eb704ef50 SOLR-7227: Solr distribution archive should have the WAR file extracted already
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692925 13f79535-47bb-0310-9956-ffa450edef68
2015-07-27 18:12:45 +00:00
Jan Høydahl 2d5f162bb8 SOLR-7735: Look for solr.xml in Zookeeper by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692673 13f79535-47bb-0310-9956-ffa450edef68
2015-07-26 00:15:27 +00:00
Shai Erera 54be6a3be9 SOLR-7748: Fix script to work when %JAVA% has spaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692317 13f79535-47bb-0310-9956-ffa450edef68
2015-07-22 18:45:21 +00:00
Shai Erera 1e71ee4c07 SOLR-7748: Fix bin/solr to work on IBM J9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689847 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 11:43:22 +00:00
Timothy Potter 929cb9544d SOLR-7693: Fix the bin/solr -e cloud example to work if lsof is not installed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686113 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 21:27:10 +00:00
Ramkumar Aiyengar 859415c7e1 SOLR-7635: Limit lsof port check in bin/solr to just listening ports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685296 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 18:03:01 +00:00
Timothy Potter df514f0cd0 SOLR-7582: Allow auto-commit to be set with system properties in data_driven_schema_configs and enable auto soft-commits for the bin/solr -e cloud example using the Config API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681177 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:06:25 +00:00
Timothy Potter b267655b34 Revert changes committed under wrong JIRA #, should have been SOLR-7582, not 7583
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681175 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:02:10 +00:00
Timothy Potter 6b8eafe625 SOLR-7583: Allow auto-commit to be set with system properties in data_driven_schema_configs and enable auto soft-commits for the bin/solr -e cloud example using the Config API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681173 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 17:58:47 +00:00
Anshum Gupta 8936a16554 SOLR-7274: Pluggable authentication module in Solr. This defines an interface and a mechanism to create, load, and use an Authentication plugin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680391 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 21:10:16 +00:00
Ramkumar Aiyengar d767d556da SOLR-7545: Honour SOLR_HOST parameter with bin/solr{,.cmd}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679899 13f79535-47bb-0310-9956-ffa450edef68
2015-05-17 21:07:52 +00:00
Timothy Potter 0fa9cf7c5c SOLR-7102: bin/solr should activate cloud mode if ZK_HOST is set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677925 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 05:38:01 +00:00
Shalin Shekhar Mangar c3185b5489 SOLR-4839: Separate jetty and client specific SSL properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676102 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 12:44:20 +00:00
Shalin Shekhar Mangar 299ddc5abe SOLR-4839: SSL support with Jetty 9. Also fixes SOLR-7449 on trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675619 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 14:17:35 +00:00
Ramkumar Aiyengar e86dec2058 SOLR-7450: Fix grep options used when searching for numbers in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675511 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 22:42:19 +00:00
Ramkumar Aiyengar 19e25c78b6 SOLR-7392: Fix SOLR_JAVA_MEM and SOLR_OPTS customizations in solr.in.sh being ignored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674565 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 19:13:00 +00:00
Shawn Heisey 5f5814ce27 SOLR-7319: Revert previous patch, return to discussion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670370 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 15:54:05 +00:00
Ramkumar Aiyengar 8c88f40869 SOLR-7309: Fix bin/solr verbose output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669969 13f79535-47bb-0310-9956-ffa450edef68
2015-03-29 22:43:14 +00:00
Shawn Heisey 421897ea3c SOLR-7319: Workaround for the "Four Month Bug" GC pause problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669731 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 04:07:18 +00:00
Ramkumar Aiyengar 83969f44a0 SOLR-7309: Make bin/solr, bin/post work when Solr installation directory contains spaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669628 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 17:25:05 +00:00
Uwe Schindler c3bbff6ee6 SOLR-7293: Fix bug that Solr server does not listen on IPv6 interfaces by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669197 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 18:29:04 +00:00
Shawn Heisey 208e1f9156 SOLR-7195: bin/solr changes: Escape start.jar in greps. Fix incorrect substring port detection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665405 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 04:39:51 +00:00