Commit Graph

22451 Commits

Author SHA1 Message Date
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 e186b220d3 fix slowness of TestFSTs and factor out monster test from TestTimSorter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673104 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 04:58:16 +00:00
Robert Muir 0fc8b68711 fix slow parameters in test (just behave that way during NIGHTLY)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673098 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 04:29:15 +00:00
Robert Muir 866a0bbcb1 add a few more spans tests and fix bug in positions check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673093 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 03:55:12 +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
Michael McCandless 8332668279 LUCENE-5879: fix ob1 that caused OOME in test when min and max auto-prefix terms was 2; attempt to simplify empty string case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673075 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 22:43:15 +00:00
Robert Muir b84749fe51 LUCENE-6411: don't expect test filter to have a factory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673071 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 22:17:20 +00:00
Robert Muir b737186489 LUCENE-6411: improve spans tests, wrap with asserting at every level, cleanups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673066 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 21:39:34 +00:00
Robert Muir ddf0c1d231 LUCENE-6418, LUCENE-6411: add AssertingSpans and fix the bugs it found
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673036 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 18:24:14 +00:00
Robert Muir 113d6c7c8f LUCENE-6394: Add two-phase support to SpanNotQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673016 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 15:07:24 +00:00
Michael McCandless 607c87a66b LUCENE-5879: fix finite case of Automata.makeBinaryIterval, improve tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673009 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:29:01 +00:00
Noble Paul 9ba13dea31 SOLR-7380: SearchHandler should not try to load runtime components in inform()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673007 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:24:23 +00:00
Shalin Shekhar Mangar b3660ae4ed SOLR-7362: Added @BadApple annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 08:41:31 +00:00
Michael McCandless ad5ede168f LUCENE-5989: fix CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672843 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 07:47:11 +00:00
Shalin Shekhar Mangar 1e21a487d1 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672828 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 05:14:40 +00:00
Shalin Shekhar Mangar a382e6f61f SOLR-7372: Limit memory consumed by LRUCache with a new 'maxRamMB' config parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672811 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 04:23:31 +00:00
Michael McCandless 249d0d25fe LUCENE-5989: allow passing BytesRef to StringField to make it easier to index arbitrary binary tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672781 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 22:24:46 +00:00
David Wayne Smiley 09ddb7d912 LUCENE-6399: Benchmark's QueryMaker.resetInputs should call setConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672742 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 20:04:22 +00:00
David Wayne Smiley 489f56def8 LUCENE-5579: CompositeSpatialStrategy (RPT + SDV) with optimized Intersect
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672736 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 19:51:58 +00:00
David Wayne Smiley 94ad565747 LUCENE-5579: ConstantScoreWeight is now public
but marked @lucene.internal

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672730 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 19:04:37 +00:00
David Wayne Smiley 6a8bd4c2c3 LUCENE-5579: BitDocIdSet.Builder.isDefinitelyEmpty()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672727 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 18:57:23 +00:00
Michael McCandless 6f1b9bb79a LUCENE-6315: simplify the private iterator Lucene uses when resolving deleted terms -> docids
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672710 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 17:33:33 +00:00
Jan Høydahl de61fa6f3c SOLR-7369: AngularJS UI insufficient URLDecoding in cloud/tree view
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672637 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 12:59:03 +00:00
Varun Thacker 3464197249 SOLR-6637: can't assume a local filesystem when dealing with paths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672620 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 11:52:43 +00:00
Ryan McKinley a2d29b8e12 Merged revision(s) 1672531 from lucene/dev/branches/branch_5x:
SOLR-7373: let AbstractSpatialFieldType set the context
........



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:38:22 +00:00
Ryan McKinley 6bed01b2ae Merged revision(s) 1672518 from lucene/dev/branches/branch_5x:
SOLR-7164: update lucene field also
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672532 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:37:50 +00:00
Steven Rowe 5934ea0901 maven config: upgrade maven-bundle-plugin from 2.3.7 & 2.4.0 to 2.5.3, to allow the bundle-manifest goal either to succeed or to obey the skip configuration - this was causing java.lang.ArrayIndexOutOfBoundsException: 18
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672474 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 20:24:04 +00:00
Steven Rowe 0f88bb7f9c LUCENE-6339: Maven config: add resource dir src/resources/ to the POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 19:07:42 +00:00
Yonik Seeley 858718d17a SOLR-7371: don't cache size for now and tolerate small alignment errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672421 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 16:52:16 +00:00
Shalin Shekhar Mangar c400bde439 SOLR-7371: Fix NPE when scores are null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672402 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:49:12 +00:00
Shalin Shekhar Mangar 32c78bc382 SOLR-7371: Make DocSet implement Accountable to estimate memory usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672391 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:10:17 +00:00
Michael McCandless 10c6e948a4 fix test bug: temporarily allow massive boolean queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672380 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:58:00 +00:00
Mark Robert Miller 64ed335455 SOLR-7370: FSHDFSUtils#recoverFileLease tries to recover the lease every one second after the first four second wait.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672379 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:56:26 +00:00
Yonik Seeley d46bed3c32 SOLR-7238: remove buggy SolrQueryRequest.forward
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672369 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:43:02 +00:00
Shalin Shekhar Mangar cfac19da39 SOLR-6673: Change default pattern for both console and file appenders
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672331 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 13:12:29 +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
Dawid Weiss 6fb5921db3 LUCENE-6413: Test runner should report the number of suites completed/ remaining.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672281 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 10:25:49 +00:00
Adrien Grand 651ac092a5 Fix TermAutomatonScorer.advance corner cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672267 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 08:52:52 +00:00
Michael McCandless 5980a4f8f7 LUCENE-5879: fix empty string corner case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672262 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 08:46:03 +00:00
Steven Rowe 4c83c2200c SOLR-7366: fix regression in ManagedIndexSchema's handling of ResourceLoaderAware objects used by field types, causing example XML docs to not be indexable via bin/post; add a test indexing example docs that fails without the patch and succeeds with it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672238 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 04:42:30 +00:00
Mark Robert Miller f3d352501a SOLR-7066: autoAddReplicas feature has bug when selecting replacement nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672201 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 21:49:21 +00:00
Michael McCandless c08d81cc39 LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +00:00
Shawn Heisey 94a32dc4cc SOLR-7355: Accidentally committed from solr directory before.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:40:27 +00:00
Shawn Heisey 7e9b7448d1 SOLR-7355: Switch from ConcurrentLinkedHashMap to Caffeine. Trunk-only change, as it requires java 8.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672133 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 18:23:19 +00:00
Martijn van Groningen eaf4659bfe LUCENE-6407: Simplify random tests and open one searcher per test round.
Fixes test bug where expected top docs and actual top docs are inconsistent.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672110 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:51:24 +00:00
Alan Woodward 3c0ff1de91 SOLR-1387: Move contains() method to SimpleFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672106 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:28:13 +00:00
Robert Muir 3b8ea7b2e7 LUCENE-6401: refactor hairy logic of QueryBuilder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672102 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:16:28 +00:00
Timothy Potter 6a5f9aa34e SOLR-6944: Change to using BadApple annotation on ReplicationFactorTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672101 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:16:22 +00:00
Michael McCandless 2e1c25e6ce LUCENE-5879: fix corner case in auto-prefix intersect
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672042 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 09:19:12 +00:00
Timothy Potter a986e4099e SOLR-6944: ReplicationFactorTest continues to fail in most every build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 03:03:17 +00:00