205 Commits

Author SHA1 Message Date
Robert Muir
387c7d2077 LUCENE-6774: Remove solr hack in MorfologikFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700837 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 15:00:53 +00:00
Robert Muir
c2484192de LUCENE-6206: don't fail test if it encounters jdk bug, ban Collator.compare in tests so this never pops again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700261 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 15:10:15 +00:00
Mark Robert Miller
3d5999d455 LUCENE-6743: Allow Ivy lockStrategy to be overridden by system property.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697060 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 22:12:22 +00:00
Uwe Schindler
7a93c3e6f1 LUCENE-6752: Add Math#random() to forbiddenapis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697050 13f79535-47bb-0310-9956-ffa450edef68
2015-08-21 19:42:38 +00:00
Uwe Schindler
01a568abbb LUCENE-6740: Reduce warnings emitted by javac #4 (tools)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696072 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 17:35:03 +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
Ramkumar Aiyengar
b4aafbb606 SOLR-7859: Clamp down on use of System.currentTimeMillis
- Use RTimer where currentTimeMillis is used for timing
 - Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
   is used to timeout operations.
 - Used `new Date()` in some cases where that is the logical intent.
 - Deprecated a couple of APIs which were publicly exposing epoch time,
   in favour of Date objects to make the intent clearer.
 - A couple of cases had currentTimeMillis in dead code.
 - In some cases where currentTimeMillis was used to just generate a name,
   used nanoTime instead (really it should be some sequence/random number
   in such a case).
 - In some other cases where stamps were used for SQL queries, HTTP headers,
   comparing against data in external files, ZK etc., used SuppressForbidden.
 - Also currently allow the use of currentTimeMillis in commit data,
   this is then used in replication -- this is concerning since absolute
   times are being compared, but that can be dealt with separately.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Shalin Shekhar Mangar
8649f3f3bd SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Steven Rowe
33d18a0c59 LUCENE-6607: Fix spatial3d module's Maven config - include dependency interpolation sites, make packaging jar instead of pom, don't skip deploy phase, etc.; and fix GetMavenDependenciesTask to exclude a module's build artifacts only if the build dir fully matches, rather than a prefix (this bug caused lucene-spatial's test dependency on the lucene-spatial3d jar to be left out of the generated POM, because lucene/build/spatial3d matched the regex for lucene-spatial's build output dir: 'lucene/build/spatial', i.e. with no dir separator)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690842 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 23:45:20 +00:00
Uwe Schindler
e50f72e073 LUCENE-6542: FSDirectory's ctor now works with security policies or file systems that restrict write access
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688537 13f79535-47bb-0310-9956-ffa450edef68
2015-07-01 00:16:37 +00:00
Uwe Schindler
ff5e36abcc LUCENE-6614: Improve partition detection in IOUtils#spins() so it works with NVMe drives
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687883 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 03:35:00 +00:00
Uwe Schindler
47fcaa5973 LUCENE-6594: Add missing Java 8 signatures (revert this as soon as forbidden-apis was updated)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686537 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 09:05:38 +00:00
Mark Robert Miller
3728802dfd LUCENE-6277: Allow Ivy resolutionCacheDir to be overridden by system property.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684424 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 14:01:00 +00:00
Robert Muir
307c31e695 LUCENE-6521: let cyberneko do its evil shit on J9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683455 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 03:37:13 +00:00
Anshum Gupta
108b9302b2 SOLR-7468: Added an alt. test, change for client and server to use different principals, and explicit addition of name.rules for test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681778 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 15:34:38 +00:00
Uwe Schindler
35fbea9dad Remove hack for localhost address of old FreeBSD build machine
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681236 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 21:33:30 +00:00
Anshum Gupta
c243dacfff SOLR-7468: Kerberos plugin for authentication framework. This will enable using Kerberos for authentication in Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681001 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 06:26:10 +00:00
Michael McCandless
a4369f070e LUCENE-6437: randomize cpu core count and spins for ConcurrentMergeScheduler's dynamic defaults
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674535 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 16:28:00 +00:00
Shalin Shekhar Mangar
a64266193a SOLR-7381: Usages of Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as ThreadPoolExecutor directly is now forbidden in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673372 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:50:52 +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
Uwe Schindler
9bc70ac037 LUCENE-6420: Update forbiddenapis to v1.8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673077 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 00:14:28 +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
Shalin Shekhar Mangar
8d64c08c1a SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667414 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 21:52:05 +00:00
Dawid Weiss
9166c19888 A branch for LUCENE-6238
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6238@1663156 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 20:25:41 +00:00
Robert Muir
9d49ce79e7 best effort support this reading out of sandbox
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662465 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:46:38 +00:00
Robert Muir
08266a72ed LUCENE-6238: the resourcebundle stuff happening here can cause problems in some configs (e.g. OS X 10.10.x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662341 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 00:50:49 +00:00
Robert Muir
c5e207ae35 LUCENE-6238: add policy oddity to trunk too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662293 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 18:49:35 +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
Robert Muir
1e0344cd30 LUCENE-6240: ban @Seed in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659044 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 19:21:06 +00:00
Steven Rowe
f24fa71a5d Get Maven compilation working again: example->server; don't need javax.servlet:javax.servlet-api test dep in solr/core/ivy.xml, since it's already included as a compile-scope dep via solr/server/ivy.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651545 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 00:46:43 +00:00
Mark Robert Miller
4c03fb59af SOLR-6915: Add KeysFromKeyTab read permissions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651487 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 20:56:23 +00:00
Mark Robert Miller
04f570de85 SOLR-6915: Add javax.security.auth.kerberos.KeyTab read permissions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651407 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 17:00:05 +00:00
Gregory Chanan
a4e089e662 SOLR-6915: SaslZkACLProvider and Kerberos Test Using MiniKdc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651264 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 02:03:58 +00:00
Steven Rowe
2189b7a761 LUCENE-6134: fix typos: it's->its, its->it's, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +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
Michael McCandless
bc41d58cd3 LUCENE-6039: cutover to IndexOptions.NO/DocValuesType.NO instead of null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635790 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 15:10:08 +00:00
Steven Rowe
04f0ea088b LUCENE-6007: 'mvndeps' Ant task: exclude the 'start' configuration (only the jetty-start jar at this point) when parsing solr/example/ivy.xml for dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632829 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 19:01:05 +00:00
Steven Rowe
38f182593a LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632430 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 20:13:48 +00:00
Ryan Ernst
d51eef911f LUCENE-5999: Move classic analyzer test next to the classic analyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630224 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 20:06:29 +00:00
Ryan Ernst
848b0af0e0 LUCENE-5999: Move standard analyzer tests on trunk to match location on branch_5x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630223 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 20:05:23 +00:00
Adrien Grand
3f99989544 LUCENE-5996: Collections.shuffle(List) is now a forbidden API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629920 13f79535-47bb-0310-9956-ffa450edef68
2014-10-07 16:22:39 +00:00
Ryan Ernst
83cbdfda3d LUCENE-5569: Rename more locations in test classes and comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627258 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 08:47:38 +00:00
Robert Muir
535454eb25 LUCENE-5945: more test cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624800 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 02:31:31 +00:00
Uwe Schindler
bcc09ff1d2 Remove dead target
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624786 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 22:04:29 +00:00
Robert Muir
3eb66fb19c LUCENE-5945: Full cutover to Path api from java.io.File
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624784 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 21:46:29 +00:00
Robert Muir
3604769c3a LUCENE-5906: Use Files.delete everywhere instead of File.delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622506 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 15:56:25 +00:00
Uwe Schindler
e5b1613030 Update to Clover 4.0.0 (and update license)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621543 13f79535-47bb-0310-9956-ffa450edef68
2014-08-30 22:16:43 +00:00
Steven Rowe
d2218a8b85 LUCENE-5831: ant precommit should remind people to run clean-jars and jar-checksums when checksums are not right
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611941 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 18:23:25 +00:00
Robert Muir
1ea4ad0b03 LUCENE-5757: move RamUsageEstimator reflector to test-framework
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602515 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 20:41:17 +00:00
Steven Rowe
0c7183cd8f LUCENE-5715: Upgrade direct dependencies known to be older than transitive dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1600444 13f79535-47bb-0310-9956-ffa450edef68
2014-06-04 19:15:14 +00:00