Commit Graph

7634 Commits

Author SHA1 Message Date
Uwe Schindler 1f28168605 SOLR-1677: Add more lenient support for version numbers (also 'V.V') format and add a system property for tests (set by build.xml), that specifies the current lucene version.
TODO: Update all solrconfig.xml files to add the '3.1' luceneMatchVersion.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923129 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 09:35:10 +00:00
Uwe Schindler 06b51a380b LUCENE-2313: Add VERBOSE flag usage to lots of tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@923112 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 08:26:44 +00:00
Uwe Schindler 9ad4aae24d SOLR-1677: Code cleanup (heavy duplication removal) and more checks.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923109 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 08:09:34 +00:00
Robert Muir ae8d108b7d add nocommit for clustering test: perhaps somewhere Version.LUCENE_CURRENT is used?
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923048 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 03:43:49 +00:00
Mark Robert Miller 21a1b9f005 fix test to use a valid thread count
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923033 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 02:23:10 +00:00
Robert Muir 8529cabc7c as of trunk, the geohash encoding is fixed (thanks chris male), so fix this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923029 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 02:08:55 +00:00
Uwe Schindler 5cc19567b9 SOLR-1677: Add support for luceneMatchVersion in Analyzers, Tokenizers and TokenFilters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923028 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 02:07:09 +00:00
Robert Muir 2e35d9a8c6 upgrade to 3.1-dev jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923025 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 02:02:32 +00:00
Robert Muir 4a60277d69 Solr, meet Lucene 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923022 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 01:29:20 +00:00
Robert Muir 7d145986ee convert uber-secret tokenstreams inside of jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923020 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 00:43:05 +00:00
Robert Muir 09ccd41e2e fix bad tests: you cannot test a posInc that does not exist (e.g. some stopfilter etc must set it first)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923008 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 23:47:00 +00:00
Mark Robert Miller 21f422de94 fix setInfosIndexDivisor is now setTermIndexInterval (missed a piece)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923006 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 23:27:19 +00:00
Mark Robert Miller ea6663ff2d fix setInfosIndexDivisor is now setTermIndexInterval
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@923004 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 23:24:00 +00:00
Mark Robert Miller 15828c6ef0 remove lucene 2.9.2 jars
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922998 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 23:01:23 +00:00
Robert Muir 43924496f8 merge up to trunk rev 922991
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922996 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 22:58:18 +00:00
Robert Muir f29488d551 SOLR-1821: Fix TimeZone-dependent test failure, triggered by US Daylight Savings Time
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@922991 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 22:50:37 +00:00
Mark Robert Miller cc4ba444c9 fix a couple tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922984 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 22:24:06 +00:00
Uwe Schindler 7177d837dd remove double test lines
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922979 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 22:11:11 +00:00
Uwe Schindler 7fab7e2cc5 make test logging more verbose, but disable java logging totally (for now). Can be changed in testlogging.properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922977 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 22:08:20 +00:00
Robert Muir 1af8a5b59b useless dead code, sorry
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922973 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 21:56:02 +00:00
Robert Muir 28453dc377 properly set stopwords case-sensitivity
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922965 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 21:23:50 +00:00
Robert Muir f2a3f30ebd give the error message we promised in Solr 1.4 if you use these charsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922964 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 21:16:47 +00:00
Mark Robert Miller 65a21459a2 a hackey commit of stuff needed to get on lucene 3.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922957 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 20:58:32 +00:00
Mark Robert Miller 84de57f4a5 move branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922951 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 20:36:46 +00:00
Mark Robert Miller 5b0c6919e0 move branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/solr@922951 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 20:36:46 +00:00
Mark Robert Miller 0d378ed742 initial move of solr to lucene svn - first as a dev branch to get solr on lucene trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922942 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 20:20:46 +00:00
Mark Robert Miller d3b5dd4e6f initial move of solr to lucene svn - first as a dev branch to get solr on lucene trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk/solr@922942 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 20:20:46 +00:00
Uwe Schindler db067550e8 LUCENE-2037: Added a check for now, that tests in LuceneTestCaseJ4, that all JUnit4 tests have @Test added to all methods with name.startsWith("test"). This helps us during converting tests to JUnit4, as i found lots of tests that simply forgot to add @Test and were never ran.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922887 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 16:31:07 +00:00
Uwe Schindler b13167eefd LUCENE-2318: Remove inconsistent system property code for retrieving temp and data directories inside test cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922886 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 16:19:51 +00:00
Michael McCandless da4849f5d7 LUCENE-2319: fix stale javadoc for IndexReader.doCommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922806 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 10:32:14 +00:00
Uwe Schindler a29e93cb85 LUCENE-2314: forgot .getName() in IAE message, else output is not looking good
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 09:13:40 +00:00
Uwe Schindler e145b4ed64 LUCENE-2314: Add AttributeSource.copyTo(AttributeSource)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922797 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 09:09:36 +00:00
Yonik Seeley 3c8644bf24 SOLR-1815: solrj preserve order of facet queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@922765 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 05:54:45 +00:00
Michael McCandless 40aa439bfd LUCENE-2294: fix javadoc link
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 17:37:18 +00:00
Uwe Schindler e5aada052c fix the missing tempDir in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922602 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 16:48:40 +00:00
Michael McCandless 53c19d660a LUCENE-2294: cutover to IndexWriterConfig object for settings to IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922583 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 15:32:48 +00:00
Uwe Schindler da284a7a32 As a first use of previous commit remove verbosity from NRQ tests. To show the term statistics use -Dtests.verbose=true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922528 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 11:10:28 +00:00
Uwe Schindler 9f7a187392 LUCENE-2313: Add VERBOSE flag to LuceneTestCase(J4)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922525 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 11:05:13 +00:00
Robert Muir 24d4565049 LUCENE-2015: add a static foldToASCII method to ASCIIFoldingFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922277 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 14:34:28 +00:00
Michael McCandless f44f23026f add missing details about file format changes by version
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@922013 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 20:35:57 +00:00
Michael McCandless b51587f72d LUCENE-2294: revert while discussions are going on about default analyzer...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@921532 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 19:45:31 +00:00
Erik Hatcher f8fa54f767 Fix type name mismatch in example
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@921514 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 19:06:52 +00:00
Michael McCandless 099ba4e9ea LUCENE-2294: cutover to IndexWriterConfig object for settings to IW (add missing files)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@921485 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 17:55:53 +00:00
Michael McCandless 7641c23cef LUCENE-2294: cutover to IndexWriterConfig object for settings to IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@921480 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 17:53:46 +00:00
Mark Robert Miller ebc4ce0b14 SOLR-1674: speed up analysis tests (thanks Robert Muir!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@921427 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:19:37 +00:00
Grant Ingersoll ca50eef4ca SOLR-1318: Added ICU4J to extraction and test for Arabic
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@921425 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:18:09 +00:00
Robert Muir 8c0dcbb8c3 LUCENE-124: Add a topterms rewrite method that scores terms only by boost value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920499 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 20:37:55 +00:00
Michael McCandless d9ff09b759 LUCENE-2300: add CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920273 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 11:14:40 +00:00
Michael McCandless d3478d38fa LUCENE-2300: don't pool readers on external directories when IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920270 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 11:08:26 +00:00
Uwe Schindler d7b77b3cee LUCENE-2303: Remove code duplication in Token class by subclassing TermAttributeImpl, move DEFAULT_TYPE constant to TypeInterface, improve null-handling for TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@920237 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 09:00:28 +00:00