Commit Graph

223 Commits

Author SHA1 Message Date
Robert Muir 126d6b7767
SOLR-13984: add (experimental, disabled by default) security manager support (#1082)
* SOLR-13984: add (experimental, disabled by default) security manager support.

User can set SOLR_SECURITY_MANAGER_ENABLED=true to enable security manager at runtime.

The current policy file used by tests is moved to solr/server
Additional permissions are granted for the filesystem locations set by bin/solr, and networking everywhere is enabled.

This takes advantage of the fact that permission entries are ignored if properties are not defined:
https://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html#PropertyExp
2019-12-24 06:30:31 -08:00
Robert Muir 7490bfd828 SOLR-14085: remove solr fork of lucene test securitymanager 2019-12-18 23:06:31 -05:00
Dawid Weiss 9e236a4835
SOLR-14053: Don't start hdfs when native libraries can't be loaded. Remove tests.disableHdfs. (#1072) 2019-12-11 15:01:24 +01:00
Robert Muir 33ca971d2b SOLR-14020: move hadoop hacks out of lucene TestSecurityManager into a solr one 2019-12-05 14:53:23 -05:00
Uwe Schindler c756b50ae4 LUCENE-8807: Change all download URLs in build files to HTTPS 2019-05-21 17:06:00 +02:00
Uwe Schindler faaee86efb LUCENE-8738: Move to Java 11 as minimum Java version (merged branch: jira/LUCENE-8738)
Co-authored-by: Adrien Grand <jpountz@apache.org>
2019-04-16 14:00:09 +02:00
Gus Heck 2d690885e5 SOLR-13322 - let forbidden apis check for sysout in solr core 2019-04-02 22:45:33 -04:00
Uwe Schindler 928b92caa0 SOLR-12655: Add Korean morphological analyzer ("nori") to default distribution. This also adds examples for configuration in Solr's schema 2018-08-11 14:07:31 +02:00
Alexandre Rafalovitch b7d14c50fb SOLR-11694: Remove outdated UIMA module 2018-07-07 09:58:57 -04:00
Uwe Schindler 9e9ed0d7b1 LUCENE-7966: More Solr build dependency fixes 2018-02-11 00:37:40 +01:00
Uwe Schindler 627562e6d7 LUCENE-7966: Revert change that's not needed 2018-02-11 00:04:41 +01:00
Uwe Schindler e4bd4330d3 LUCENE-7966: Improve Solr build to not import Groovy too often (artifacts, distribution,...) 2018-02-11 00:00:34 +01:00
Uwe Schindler 9c0797d9f4 LUCENE-7966: Build Multi-Release JARs to enable usage of optimized intrinsic methods from Java 9 for index bounds checking and array comparison/mismatch 2018-02-03 09:17:59 +01:00
Steve Rowe 39ba1c3da5 SOLR-11406: Solr 7.0 cannot read indexes from 6.x versions 2017-09-29 16:33:07 -04:00
David Smiley e5fc39f551 SOLR-11382: Solr requires spatial3d.jar 2017-09-23 17:42:26 -04:00
Chris Hostetter 4851f399d4 SOLR-10219: stop defaulting to tests.disableHdfs=true under java9 2017-03-01 13:48:52 -07:00
Uwe Schindler 894a43b259 SOLR-9450: The docs/ folder in the binary distribution now contains a single index.html file linking to the online documentation, reducing the size of the download 2017-02-23 15:43:45 +01:00
Christine Poerschke f9c9470641 SOLR-9306: give solr/contrib/analysis-extras's test classes access to lucene/analysis's test classes 2016-07-14 10:20:35 +01:00
Uwe Schindler 0179b3fb2d LUCENE-7346: Update forbiddenapis to version 2.2 2016-06-19 21:27:34 +02:00
Uwe Schindler a5f1902869 LUCENE-7296: Update forbiddenapis to version 2.1 2016-05-23 00:16:47 +02:00
Mikhail Khludnev 3ea12f2be4 SOLR-9147: using BAOS from commons io 2.5 in EmbeddedSolrServer to avoid array resize. 2016-05-23 00:10:17 +03:00
Uwe Schindler b9caf83bfa LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation 2016-05-20 22:20:39 +02:00
Uwe Schindler 8142ae63a0 Hide bootclasspath warning also in Solr (Java 9) 2016-05-18 23:49:04 +02:00
Steve Rowe 82788504aa SOLR-9109: Allow specification of a custom Ivy settings file via system property "ivysettings.xml". 2016-05-16 18:06:48 -04:00
Uwe Schindler f93f90ca1b SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:53:59 +01:00
Tommaso Teofili 5801caab6c SOLR-7739 - applied patch from Alessandro Benedetti for integrating Lucene classification into Solr 2016-03-15 12:29:07 +01:00
nknize 89db4950b9 LUCENE-7015: Refactor spatial module to spatial-extras
Refactors non GeoPoint* classes from existing spatial module to a new spatial-extras module. dev-tools, build, and project files are updated to include new spatial-extras module.
2016-02-29 16:18:39 -06:00
Gregory Chanan b904599036 SOLR-8535: Support forcing define-lucene-javadoc-url to be local
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724520 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 22:48:39 +00:00
Christine Poerschke 284ff5235d SOLR-839: XML QueryParser support (deftype=xmlparser)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724293 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 17:49:28 +00:00
Uwe Schindler 294b30a66e LUCENE-6594: Update forbiddenapis to 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706128 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 18:54:29 +00:00
Uwe Schindler 1331a57e3d LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Uwe Schindler 81df57baa2 SOLR-5022: Merged revision(s) 1693559 from lucene/dev/branches/branch_5x: cleanup outdated Java 7 stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693560 13f79535-47bb-0310-9956-ffa450edef68
2015-07-31 10:16:07 +00:00
Uwe Schindler 74ff041803 SOLR-6234: Fix Javadocs dependency to join module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693197 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 08:05:59 +00:00
Uwe Schindler 3e406606ed SOLR-7227: Don't create the WAR file at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693143 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 19:04:21 +00:00
Mikhail Khludnev 65b595add4 SOLR-6234: Scoring for query time join
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693092 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 13:24:04 +00:00
Uwe Schindler eb2203b597 Merged revision(s) 1692411 from lucene/dev/branches/branch_5x:
LUCENE-6693: Updated Groovy to 2.4.4, Pegdown to 1.5, Svnkit to 1.8.10. Also fixed some PermGen errors while running full build caused by these updates: Tasks are now installed from root's build.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692413 13f79535-47bb-0310-9956-ffa450edef68
2015-07-23 15:53:30 +00:00
Michael McCandless 3aa18151b3 LUCENE-6539: Add DocValuesNumbersQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685540 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 11:01:14 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Shalin Shekhar Mangar 2c9ae41b78 SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Robert Muir 9527a31a2d LUCENE-5439: add jacoco coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672298 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 11:47:57 +00:00
Robert Muir 8cfb3a9398 LUCENE-6238: minimize tests.policy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662254 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 16:23:44 +00:00
Uwe Schindler 0f7b913b07 LUCENE-6069: Lucene Core now gets compiled with Java 8 "compact1" profile, all other modules with "compact2".
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659347 13f79535-47bb-0310-9956-ffa450edef68
2015-02-12 18:19:38 +00:00
Robert Muir 12b30db6ce LUCENE-4797: fix remaining html violations, engage linter in solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658539 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 19:02:32 +00:00
Uwe Schindler f198592418 LUCENE-4797: Split doclint args in trunk, this makes it consistent with 5.x (patch not yet committed there)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658088 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 18:05:45 +00:00
Robert Muir cd1783c58c fix all doclint warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642259 13f79535-47bb-0310-9956-ffa450edef68
2014-11-28 03:18:36 +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
Uwe Schindler 376a4007f6 SOLR-5022: Reenable Hdfs tests on Java 8+, because they have no permgen. Windows is still disabled, because Hadoop needs Cygwin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637754 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 22:22:36 +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
Robert Muir e22113b517 LUCENE-5858: add missing references to backward-codecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621849 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 17:14:59 +00:00
Adrien Grand 09c2c4d0aa LUCENE-5858: First iteration.
Tests pass but the rest (eg. javadocs) might be completely broken.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621751 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 11:37:03 +00:00