Dawid Weiss
4652d65f0b
LUCENE-4047: Cleanup of LuceneTestCase: moved blocks of initialization/ cleanup code into JUnit instance and class rules.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 18:47:45 +00:00
Christopher John Male
43fc21c41e
LUCENE-2510: Simplified analysis factory test hierarchy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1336462 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 01:06:43 +00:00
Ryan McKinley
800f5a54a6
SOLR-2857: add UpdateRequestHandler that handles xml,csv,json, and javabin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335768 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:06:10 +00:00
Yonik Seeley
e35df0b58f
SOLR-139 SOLR-3178 : Updateable documents, optimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335642 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 17:00:33 +00:00
Christopher John Male
0bad718d58
LUCENE-2510: Moved Analysis Factory parent classes into analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335331 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 03:23:47 +00:00
Yonik Seeley
612d9227de
SOLR-3427: fix NPE in UnInvertedField faceting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333125 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 17:50:33 +00:00
Christopher John Male
d8898b662d
LUCENE-2510: Moved ResourceLoader/Aware into analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1332037 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 01:34:48 +00:00
Christopher John Male
9dcae1a12f
SOLR-3402: Analysis Factory Lucene Version is now parsed outside of the Factories
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331220 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 05:18:38 +00:00
Chris M. Hostetter
c0a94ba5f8
SOLR-2605: fixed tracking of the 'defaultCoreName' in CoreContainer so that CoreAdminHandler could return consistent information regardless of wether there is a a default core name or not
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330028 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 21:42:19 +00:00
Robert Muir
ab3f63d279
LUCENE-4011: fix most broken links in solr javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329235 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 13:44:03 +00:00
David Wayne Smiley
81efc28978
SOLR-3161 TestHarness shouldn't configure 'qt' to be "standard" by default; let it be null to get the default handler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329071 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 05:46:39 +00:00
Robert Muir
dad1d28085
LUCENE-3977: remove javadoc duplication in the website/binary release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328605 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 07:51:46 +00:00
Ryan McKinley
e34753cd57
SOLR-3358: Logging events are captured and available from the /admin/logging request handler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327210 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 18:12:09 +00:00
Christopher John Male
a4cbd8a605
SOLR-3357: Added expected Class type to ResourceLoader.newInstance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326879 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 02:03:05 +00:00
Dawid Weiss
cf85aab1a0
LUCENE-3808: Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing contracts. Enforce thread leaks.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326351 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 14:41:44 +00:00
Yonik Seeley
8360a4e387
tests: avoid FC insanity test for distributed tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326199 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 20:19:23 +00:00
Robert Muir
2fe2e82584
LUCENE-1866: better RAT reporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 05:03:53 +00:00
Jan Høydahl
058179d177
SOLR-1052: Deprecate/Remove <indexDefaults> and <mainIndex> in favor of <indexConfig> in solrconfig.xml (trunk)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308608 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 22:55:37 +00:00
Robert Muir
73db5ff5fc
SOLR-2435: nuke confusing duplicate junit dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308529 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:15:01 +00:00
Robert Muir
8f0d7cc135
LUCENE-3930: nuke jars from source tree and use ivy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307563 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 18:04:43 +00:00
Yonik Seeley
6209a4123b
tests: increase connection timeouts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307123 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 21:39:30 +00:00
Sami Siren
b5f8deb795
SOLR-2020: migrate to Java client that uses Apache Http Components http client (4.x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306800 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 12:11:37 +00:00
Yonik Seeley
859814a06f
SOLR-3161: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306702 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 03:27:02 +00:00
Yonik Seeley
0827fffde6
SOLR-2656: distrib/cloud support for realtime get
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306018 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 20:58:34 +00:00
Robert Muir
a29a14698e
fix eol-style
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305339 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 12:58:58 +00:00
Ryan McKinley
a57f29a367
SOLR-3159: Upgrade example and tests to run with Jetty 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298108 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 20:49:28 +00:00
Dawid Weiss
8041c826a7
Class rule to store the currently executing test class. Removed Solr's code that pulled this from the stack frames (which wasn't working because rules wrap the actual test code).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297940 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 11:20:16 +00:00
Uwe Schindler
989530e17e
LUCENE-3850: Fix rawtypes warnings for Java 7 compiler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297048 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 13:34:40 +00:00
Dawid Weiss
ff27ca3738
LUCENE-3847: LuceneTestCase will now check for modifications of System properties before and after each test (and suite). If changes are detected, the test will fail. A rule can be used to reset system properties to before-scope state (and this has been used to make Solr tests pass).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296888 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 22:03:20 +00:00
Yonik Seeley
6dc05950ae
SOLR-3157: remove isTestLoggingFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294968 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:16:17 +00:00
Yonik Seeley
19652ce169
SOLR-3157: restrict changes to logging string to formatter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294967 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:12:35 +00:00
Yonik Seeley
2b055c2195
SOLR-3157: improve logging, restore legacy logging if not testing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294911 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 00:12:44 +00:00
Yonik Seeley
0b7cf94411
improve logging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294466 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 05:29:52 +00:00
Mark Robert Miller
5713824147
SOLR-3153: When a leader goes down he should ask replicas to sync in parallel rather than serially.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292652 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 05:22:31 +00:00
James Dyer
264eb5690a
SOLR-2847
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:52:32 +00:00
Steven Rowe
d47f01c350
LUCENE-3754: Store generated archive manifests in per-module output directories - each artifact gets its own manifest file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244536 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:30:53 +00:00
Steven Rowe
eb0ab3d392
LUCENE-3753: Restructure the Lucene build system
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Mark Robert Miller
80db6d38c2
try turning indexsearcher open/close check back on
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 03:25:49 +00:00
Yonik Seeley
f6e4fceda2
SOLR-3078: only return update versions on request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239437 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 02:17:54 +00:00
Robert Muir
3d55e144ac
SOLR-3056: support kuromoji in core
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:01:44 +00:00
Mark Robert Miller
e1cb522921
SOLR-3066: check if waiting twice as long for solrindexsearchers to be returned changes anything with searcher cnt mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237536 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 02:57:42 +00:00
Yonik Seeley
817b1e3fe0
SOLR-3066: don't fail for searcher open/close mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237140 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 19:02:39 +00:00
Mark Robert Miller
d3fa5ea86e
try raising how long we will wait for balanced open/close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236939 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 00:24:32 +00:00
Yonik Seeley
b141bbb52e
tests:remove tracing exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236825 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:59:50 +00:00
Yonik Seeley
a557fb9f24
tests: don't make it an error if counts aren't reset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236768 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:14:47 +00:00
Yonik Seeley
d405c74084
tests: reset counts at start of test also
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:12:37 +00:00
Mark Robert Miller
231445f166
raise the length of time that we are willing to wait for searchers to be closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:03:51 +00:00
Yonik Seeley
5293942927
don't reset counts until after we are done retrying
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236352 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:16:08 +00:00
Mark Robert Miller
9fed484fb1
SOLR-2358: merge in solrcloud branch (watch out hudson!)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235888 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:49:26 +00:00
Jan Høydahl
d0e4e731d9
SOLR-2280: commitWithin ignored for a delete query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:41:16 +00:00
Chris M. Hostetter
ef4e44f30b
SOLR-3024: Fixed JSONTestUtil.matchObj to respect delta param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229713 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 20:34:09 +00:00
Robert Muir
f5d1e967db
LUCENE-3667: make tests reasonable if you dont have a supercomputer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225920 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 21:14:15 +00:00
Erick Erickson
2208b499fa
Fix for SOLR-2975, fix tests that failed occasionally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215487 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 13:46:35 +00:00
Steven Rowe
4d901e9cd2
LUCENE-3228: Stop downloading external javadoc package-list files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210020 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 21:52:04 +00:00
Michael McCandless
c80bb6e229
LUCENE-3601: fix missing incRef for _N.fnx; assert no unref'd files in MDW.close
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207577 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:35:04 +00:00
Chris M. Hostetter
9fd6d2a120
SOLR-2860: remove broken code for tracking solrindexwriter open/close pairs -- redundent because of SOLR-2279
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196292 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 21:31:35 +00:00
Erik Hatcher
ff8796e5ef
SOLR-2718: allow for lazy loaded response writers; clean up test hack for VelocityResponseWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189958 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 19:30:48 +00:00
Erik Hatcher
426bc2d0b6
SOLR-2588: Move VelocityResponseWriter back to contrib/velocity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189383 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 18:59:18 +00:00
Yonik Seeley
7b1175c602
SOLR-2846: add json handler to solrconfig, fix /udate/json typo in SolrTestCaseJ4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189186 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 13:12:15 +00:00
Robert Muir
1e577e15b5
LUCENE-3456: use MockTokenizer instead of WhitespaceTokenizer in test configs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 19:10:17 +00:00
Robert Muir
0ea0ca6b60
if there is a leak here, don't cause every subsequent test in the JVM to fail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175376 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 12:04:41 +00:00
Steven Rowe
0047a77f83
SOLR-2771: Solr modules' tests should not depend on solr-core test classes; move BufferingRequestProcessor from solr-core tests to test-framework so that the Solr Cell module can use it.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172428 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 05:13:52 +00:00
Steven Rowe
24695807f3
SOLR-2766: Package individual javadoc sites for solrj and test-framework.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171385 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 04:47:04 +00:00
Robert Muir
a21f4c018a
LUCENE-3402: make LuceneTestCase more robust when failures in @After/@AfterClass happen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162135 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 15:08:19 +00:00
Mark Robert Miller
7354f8d9e8
SOLR-2654: Directorys used by a SolrCore are now closed when they are no longer used.
...
SOLR-2654: The same Directory instance is now always used across a SolrCore so that
it's easier to add other DirectoryFactory's without static caching hacks.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159378 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 19:46:30 +00:00
Steven Rowe
270dee6521
SOLR-2659: Fix ExternalPaths.determineSourceHome() and SolrJettyTestBase.createJetty() to allow Solrj tests to pass.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149682 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 18:26:28 +00:00
Yonik Seeley
dcaca50a86
tests: make TestHarness thread safe and add multi-threaded random add/commit/get test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149437 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 02:47:29 +00:00
Steven Rowe
2ea3611703
Remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146843 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 18:47:27 +00:00
Shalin Shekhar Mangar
e6dcad7e98
SOLR-2623 -- Solr JMX MBeans do not survive core reloads
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145518 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:04:35 +00:00
Christopher John Male
19fd2508c6
SOLR-2647: Made DOMUtilTestBase abstract
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145154 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 12:51:51 +00:00
Steven Rowe
88fe5d121f
Merged with trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144510 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 21:02:20 +00:00
Steven Rowe
4505c08643
SOLR-2452: merged with trunk up r1144161; applied the svn movement script and the latest version of the post-svn-movement patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144174 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 06:41:23 +00:00
Dawid Weiss
2b2b97f25b
Applied folder moves and renames before merge in SVN r1144174.
2016-01-23 01:17:32 +01:00
Dawid Weiss
db22b4d1f7
Applied folder moves and renames before merge in SVN r1144174.
2016-01-23 01:17:07 +01:00