Commit Graph

13181 Commits

Author SHA1 Message Date
Robert Muir e8e4245d9b LUCENE-3965: consolidate all api modules and fix packaging for 4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327094 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 13:36:19 +00:00
Sami Siren 0daa4b0aac SOLR-3341: add more javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327053 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 12:03:20 +00:00
Robert Muir c034056ff2 mix up case in basetokenstreamtestcase, and avoid sun bug 6588260 in re-caser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326899 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 03:38:45 +00:00
Robert Muir 167b296353 LUCENE-3981: fix regex queryparsing issues (improperly recognized as wildcard, etc)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326893 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 02:51:43 +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
Robert Muir 86f51655f4 add qp/resources to classpath so that QP tests can run from eclipse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326862 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 01:23:44 +00:00
Steven Rowe 9432411da8 LUCENE-3808: Segregate RandomizedTesting library sysprops from other Lucene/Solr tests.* sysprops, and use the empty string value to tell the test runner to use the default value for these sysprops.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326780 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 20:08:59 +00:00
Robert Muir 14f07def5d LUCENE-3992: don't create preflex-rw indexes in the forked jvm, we will think they are corrupt, and use a correct seed format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326745 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 19:03:09 +00:00
Dawid Weiss 977802db0c Updated eclipse's .classpath.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326742 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 18:55:11 +00:00
Ryan McKinley 098de9be54 SOLR-3324: change URL when analysis form is submitted
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326690 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 17:29:23 +00:00
Dawid Weiss 3b2d951ef5 LUCENE-3808: configuration of terminal output for tests. I think I found a
way to please everybody after all... I've defined a set of properties
which one can override using local properties (read before anything else).
The defaults are full class names, no truncating. If one wants short names
(or ellipsis or no output for suites or no output for a particular type of
status, whatever) then define any of these properties in your local
configuration file:

  <!-- Override these in your local properties to your desire. -->
  <!-- Show simple class names (no package) in test suites. -->
  <property name="tests.useSimpleNames" value="false" />
  <!-- Max width for class name truncation.  -->
  <property name="tests.maxClassNameColumns" value="10000" />
  <!-- Show suite summaries for tests. -->
  <property name="tests.showSuiteSummary" value="true" />
  <!-- Configure test emission to console for each type of status -->
  <property name="tests.showSuccess" value="false" />
  <property name="tests.showError" value="true" />
  <property name="tests.showFailure" value="true" />
  <property name="tests.showIgnored" value="true" />

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326689 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 17:27:59 +00:00
Yonik Seeley cf2aab7874 dev-tools: add randomizedtesting jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326660 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 15:50:23 +00:00
Dawid Weiss 79cf97fd6e LUCENE-3808: added changes entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326570 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 12:15:58 +00:00
Dawid Weiss 1e86e9872f LUCENE-3808: cleanups to issues raised by the initial commit. Cleaner tests output to console, corrected output for suite level errors (duplicated).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326568 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 12:10:38 +00:00
Robert Muir 9c8397dae2 fix bugs in refactoring of r1326562, CharFilter does not wrap all methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326564 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 11:43:36 +00:00
Uwe Schindler cf9eb6de97 LUCENE-3990: Next time please ask for revert instead of just doing it, the commit was by somebody else and he/she had no chance to respond.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326562 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 11:39:31 +00:00
Robert Muir 2ac01fc72e LUCENE-3990: revert broken refactoring AGAIN. charfilter does not delegate all read methods. I'm not wasting hours of my life debugging these test fails again to save 3 lines of code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326561 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 11:16:46 +00:00
Stefan Matheis 9f84903e50 SOLR-3327 Add bold-styles for Logging-Tab
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326529 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 07:59:19 +00:00
Uwe Schindler dac19aacfa Reverted CharFilter changes. The rest of patch is fine.
Reverse merged revision(s) 1326512 from lucene/dev/trunk/modules/analysis/common/src/java/org/apache/lucene/analysis/charfilter/CharFilter.java:
LUCENE-3990: Fix CharFilter to delegate correctly (and prevent CharFilter slowdown! - maybe backport!!!)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326515 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 07:19:35 +00:00
Uwe Schindler 9252239fee LUCENE-3990: Fix CharFilter to delegate correctly (and prevent CharFilter slowdown! - maybe backport!!!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326512 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 07:01:56 +00:00
Robert Muir 2b07186492 fix more linefiledocs leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326474 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 04:01:35 +00:00
Robert Muir fffdb569d0 close the linefiledocs always
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326473 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 03:52:31 +00:00
Robert Muir 776e1b4a98 LUCENE-3990: don't extend charfilter here, delegate all methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326468 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 02:56:43 +00:00
Steven Rowe 8ad99c1a1b LUCENE-3808: Maven configuration: The lucene-core module needs randomizedtesting dependency independently from the test-framework module, since under maven, lucene-core includes test-framework source instead of depending on the test-framework module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326466 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 02:37:53 +00:00
Robert Muir 1b48bfd173 LUCENE-3990: only set offsetsAreCorrect=false if we are actually going to use that tokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326457 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 01:31:55 +00:00
Dawid Weiss 2df0423244 LUCENE-3808: rename tests.threadspercpu into tests.jvms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326427 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 21:45:10 +00:00
Dawid Weiss f17b740d40 Added documentation about test groups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326413 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:40:37 +00:00
Dawid Weiss a9960fc205 I am putting this test in a @AwaitsFix group. This means it will _NOT_ be
run by default (it fails often on jenkins and nobody knows how to fix it).

If you want to enable it, run with -Dtests.awaitsfix=true

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326411 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:36:23 +00:00
Dawid Weiss d5e276a53a LUCENE-3808: Adding randomizedrunner dependency to maven pom templates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326406 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:18:41 +00:00
Dawid Weiss f33e259b84 LUCENE-3989: correcting depends for other tasks that deal with execution hints. Nuked sha1 target as it's available in the top build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326402 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 19:08:59 +00:00
Uwe Schindler e3d6f9d04d Fix incorrect usage of remaining macro params in junit macro
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326390 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:36:12 +00:00
Uwe Schindler 28ff0ba357 reenable XML reports for Jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326388 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 18:15:47 +00:00
Robert Muir 815cc4f10e LUCENE-3989: junit4 taskdef installation has wrong dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326376 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 16:53:34 +00:00
Dawid Weiss 048959e80d Fixing Eclipse .classpath and adding license headers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326372 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 16:00:38 +00:00
Stefan Matheis 50cdf36660 SOLR-3356: Display Log-Framework- and slfj4-info on Logging-Tab
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326355 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 14:53:34 +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
Dawid Weiss aec9ccdfb9 SHA1 calculation will delete all SHA1 files and recreate them with consistent EOLs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326341 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 13:59:16 +00:00
Robert Muir 0404a5ac65 LUCENE-3965: contrib-build -> modules-build (project-name)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326329 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 13:30:20 +00:00
Robert Muir f3536126ba LUCENE-3965: contrib-build -> modules-build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326247 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 02:07:08 +00:00
Steven Rowe eae46487c7 SOLR-3356: Maven configuration: Add new dependency slf4j-jdk14 to solr-core module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326213 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 21:34:28 +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
Dawid Weiss bba32d3412 LUCENE-3984: use lowercase file extension.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326191 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 19:59:54 +00:00
Dawid Weiss 5138a8dd46 LUCENE-3984: Add a target to recalculate SHA1 checksums for JAR (jar-checksums, top-level).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326183 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 19:23:09 +00:00
Robert Muir 29d790612e LUCENE-3971: re-enable this filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326137 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 16:01:27 +00:00
Yonik Seeley 3ad1ecb728 tests: don't check for FC insanity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326136 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 16:01:17 +00:00
Uwe Schindler d3b73b2ec4 LUCENE-3971: Remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326082 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 10:13:14 +00:00
Dawid Weiss 81d8a18641 LUCENE-3971: MappingCharFilter could return invalid final token position.
(Dawid Weiss, Robert Muir)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326065 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 07:32:42 +00:00
Jan Høydahl 2351e43deb SOLR-3352: eDismax: pf2 should kick in for a query with 2 terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325987 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:22:02 +00:00
Sami Siren 91b6b379cd SOLR-3139: send UpdateRequest.getParams() as HTTP request params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325884 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 18:04:16 +00:00
Ryan McKinley 24d47c6c11 SOLR-3356: Logging UI now works when using log4j (and gives an error when using something other then JUL or Log4j)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325828 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 16:18:32 +00:00