Commit Graph

125 Commits

Author SHA1 Message Date
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
Erik Hatcher 3dc8f4a437 SOLR-7017: change web crawl usage example to use apache.org site
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659710 13f79535-47bb-0310-9956-ffa450edef68
2015-02-13 23:20:48 +00:00
Timothy Potter 0f78f64f43 SOLR-6693: bin\solr.cmd doesn't support 32-bit JRE/JDK running on Windows due to parenthesis in JAVA_HOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658423 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 15:04:48 +00:00
Steven Rowe a705371bfc SOLR-7067: bin/solr won't run under bash 4.2+
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656133 13f79535-47bb-0310-9956-ffa450edef68
2015-01-31 01:32:03 +00:00
Timothy Potter 1660e8acb3 SOLR-7016: Fix bin\solr.cmd to work in a directory with spaces in the name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655070 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 16:04:58 +00:00
Timothy Potter 9c1e05d604 SOLR-7037: bin/solr start -e techproducts -c fails to start Solr in cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655058 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 15:00:32 +00:00
Shawn Heisey d17e8133e0 SOLR-7024: bin/solr: Improve java detection and error messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654434 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 00:02:25 +00:00
Timothy Potter 69dd5e42f2 SOLR-7018: bin/solr stop should stop if there is only one node running or generate an error message prompting the user to be explicit about which of multiple nodes to stop using the -p or -all options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654015 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 19:17:01 +00:00
Erik Hatcher 4c17c799fc SOLR-7013: use unzip if jar is not available (merged from r1653943)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653945 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 17:13:20 +00:00
Erik Hatcher d921424a9c SOLR-6870: sync up the quickstart with script behavior, and some slight error message improvements to bin/post (merged from r1653755)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653757 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 02:12:49 +00:00
Timothy Potter e61b5a5dca SOLR-6928: solr.cmd stop works only in english
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653699 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 23:28:30 +00:00
Timothy Potter eb23901230 SOLR-6993: install_solr_service.sh won't install on RHEL / CentOS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653601 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 17:02:36 +00:00
Erik Hatcher 7f38f31d2d SOLR-6900: add support for stdin and string args (merged from r1652722)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652724 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 10:15:46 +00:00
Erik Hatcher 22d0422663 Fix Solr smoke tests: SYSTEM_REQUIREMENTS no longer exists where it was testing for it (merged from r1652718)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652721 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 10:02:59 +00:00
Timothy Potter b5df6e6a44 SOLR-6981: add a delete action to the bin/solr script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652345 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 06:36:15 +00:00
Timothy Potter 19905bf336 SOLR-6982: remove bad search/replace issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652210 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 18:29:59 +00:00
Timothy Potter 7401236745 SOLR-6982: bin/solr and SolrCLI should support SSL-related Java System Properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652208 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 18:24:48 +00:00
Erik Hatcher d015e7366b SOLR-6900: converted to Unix-style options in bin/post and updated usage examples, also updated version string of SimplePostTool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651916 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 00:53:17 +00:00
Erik Hatcher d23496f4da SOLR-6900: bin/post improvements including glob handling, spaces in file names, and improved help output
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651895 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 23:47:55 +00:00
Timothy Potter aba932e403 SOLR-6851: Set the SOLR_VAR_DIR using the SOLR_SERVICE variable, thus alleviating the need to specify the -d option when overrding the service name with -s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651435 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 18:15:48 +00:00
Timothy Potter c36180cdf8 SOLR-6952: bin/solr create action should copy configset directory instead of reusing an existing configset in ZooKeeper by default; commit also includes fix for SOLR-6933 - create alias
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651231 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 23:33:34 +00:00
Erik Hatcher 5f1d3bd308 SOLR-6434: Fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651019 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 01:00:04 +00:00
Timothy Potter b92f39f3bb SOLR-6946: Document -p port option for create_core and create_collection actions in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650912 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 16:39:11 +00:00
Erik Hatcher 9b3d792bd8 SOLR-6900: added usage to bin/post, plus some TODOs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649937 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 20:28:53 +00:00
Timothy Potter cc3e6d9f93 SOLR-4839: start Jetty 9 correctly on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649689 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 23:03:19 +00:00
Shalin Shekhar Mangar a41b9954d1 SOLR-4839: Upgrade to Jetty 9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649552 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 15:45:58 +00:00
Erik Hatcher 119d8caa21 SOLR-6435: bin/post cleanup for 5x merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648478 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 03:34:19 +00:00
Erik Hatcher 85f9f8ad52 SOLR-6435: Add script to simplify posting content to Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647928 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 02:31:22 +00:00
Timothy Potter 27f8a4649d SOLR-6866: schemaless example should create core/collection named gettingstarted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647808 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 15:46:37 +00:00
Timothy Potter 7204caba96 SOLR-6867: SolrCLI should check for existence before creating a new core/collection, more user-friendly error reporting (no stack trace), and the ability to pass a directory when using bin/solr to create a core or collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647726 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 04:00:49 +00:00
Timothy Potter 4e65c4d1e0 SOLR-6851: Scripts to help install and run Solr as a service on Linux
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647700 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 23:20:42 +00:00
Timothy Potter 3a5438ec1f SOLR-6843: JMX RMI connector should be disabled by default but can be activated by setting ENABLE_REMOTE_JMX_OPTS to true in solr.in.(sh|cmd).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644978 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 17:07:06 +00:00
Timothy Potter b36c68b16e SOLR-6833: Examples started with bin/solr -e should use a solr.solr.home directory under the example directory instead of server/solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644799 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 00:21:27 +00:00
Timothy Potter af748a9254 SOLR-6653: don't exit with error code if restarting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643317 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 15:10:21 +00:00
Timothy Potter d7851a8c5f SOLR-6653: should return error code >0 when something fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642952 13f79535-47bb-0310-9956-ffa450edef68
2014-12-02 16:57:06 +00:00
Timothy Potter 6530bfc93f SOLR-6694: fix misplaced percent found when fixing this issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642780 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 22:57:24 +00:00
Timothy Potter 224f6f59c1 SOLR-6694: auto-detect JAVA_HOME using the Windows registry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642767 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 22:00:23 +00:00
Timothy Potter 9806b86719 SOLR-6726: better strategy for selecting the JMX RMI port based on SOLR_PORT in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642745 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 19:50:30 +00:00
Timothy Potter 2656c3bdb8 SOLR-3619: clone configsets when starting examples or creating cores instead of using configsets directly; selectively clone the server directory when creating node1 for the cloud example; fix script error reporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641961 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 23:12:08 +00:00
Timothy Potter 74af952f0e SOLR-6708: Use ps auxww instead of waux for finding Solr processes to work on FreeBSD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641853 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 16:45:01 +00:00
Ryan Ernst 5e17f315d4 LUCENE-5950: Move to Java 8 as minimum Java version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640833 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 22:47:21 +00:00
Timothy Potter f66288743c SOLR-6742: change eol-style to CRLF
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1639789 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 21:31:52 +00:00
Timothy Potter fe6eff7d1b SOLR-6705: Add specific JVM version checking to Windows start scripts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638429 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 21:28:17 +00:00
Jan Høydahl 5240a5ac8a SOLR-6697: bin/solr start scripts allow setting SOLR_OPTS in solr.in.*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638423 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 21:20:56 +00:00
Timothy Potter 83a04af6fb SOLR-6705: better handling of JVM version specific options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1638022 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 04:21:44 +00:00
Jan Høydahl 2f1493339e SOLR-6696: bin/solr start script should not enable autoSoftCommit by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636760 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 22:27:07 +00:00
Timothy Potter d76c1768b6 SOLR-6662: better validation when parsing command-line options that expect a value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635812 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 16:56:22 +00:00
Timothy Potter 05ad610074 SOLR-3619: Rename 'example' dir to 'server'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635666 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 04:30:52 +00:00
Erik Hatcher 4350a1d01c SOLR-6661: Adjust all example configurations to allow overriding error-prone relative paths for solrconfig.xml <lib> references with solr.install.dir system property; bin/solr scripts will set it appropriately.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634770 13f79535-47bb-0310-9956-ffa450edef68
2014-10-28 03:05:19 +00:00
Jan Høydahl 3deda56ac9 Start script fails to detect solr on non-default port and then after 30s tails wrong log file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633960 13f79535-47bb-0310-9956-ffa450edef68
2014-10-23 21:45:21 +00:00
Timothy Potter fe41822918 SOLR-6529: fix regression in error handling introduced by using pid files for finding Solr processes on the localhost
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631514 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 19:23:22 +00:00
Timothy Potter a5ee2289d4 SOLR-6592: add mention in solr/CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631462 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 16:38:49 +00:00
Timothy Potter 98e1abe532 SOLR-6529: Stop command in the start scripts should only stop the instance that it had started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630606 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 22:28:05 +00:00
Timothy Potter 3f566e6e91 SOLR-6549: add a -s option to set the -Dsolr.solr.home property, thus allowing multiple Solr nodes on the same host to share the same server directory -d but with different Solr home directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630550 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 18:42:21 +00:00
Timothy Potter 4e7cc1a695 SOLR-6509: Solr start scripts interactive mode doesn't honor -z argument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626847 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 17:23:14 +00:00
Timothy Potter 5703c00949 SOLR-6486: solr start script can have a debug flag option; use -a to set arbitrary options.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626833 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 16:48:32 +00:00
Timothy Potter 323426f914 SOLR-6467: bin/solr script should direct stdout/stderr when starting in the background to the solr-PORT-console.log in the logs directory instead of bin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622736 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 16:35:52 +00:00
Timothy Potter 49c6a4a0bf SOLR-6447: bin/solr should pass -DnumShards=1 for bootstrapping collection1 when starting in cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622733 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 16:30:23 +00:00
Timothy Potter 75ed12e0c7 SOLR-3617: minor issue if the user selects a port that is in use for the cloud example.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619591 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 21:17:38 +00:00
Timothy Potter 6a620061fa SOLR-3617: clean-up a few error messages and update changes to add to 4.10 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619461 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:57:33 +00:00
Timothy Potter 7223a40b6d SOLR-3617: hardening command-line parsing and a few minor bug fixes found by QA testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619025 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 02:56:18 +00:00
Timothy Potter 6662a12c71 SOLR-3617: start/stop script with support for running examples
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616271 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 16:30:01 +00:00