Commit Graph

8176 Commits

Author SHA1 Message Date
Uwe Schindler f608d4efc6 LUCENE-2523: Modify the test to check only for failure on IR.open(), add TODO to make IW.ctor() fail early, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965883 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 15:40:54 +00:00
Uwe Schindler 72d4191588 LUCENE-2523: Add IndexFormatTooOldException and IndexFormatTooNewException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965868 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 14:55:47 +00:00
Robert Muir cc5882ab75 LUCENE-2458: queryparser turns all CJK queries into phrase queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965585 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 18:58:30 +00:00
Robert Muir 7912d72cfe convert some more tests to junit4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965330 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 00:06:18 +00:00
Robert Muir 1f10f8ba7f SOLR-2002: improve TestReplicationHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965327 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 23:58:48 +00:00
Uwe Schindler 828d00a3c7 LUCENE-2549: Fix TimeLimitingCollector#TimeExceededException to record the absolute docid
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965299 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 22:02:34 +00:00
Robert Muir 898430be9b SOLR-2002: add timeouts for this test in case the site is having problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965230 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 14:09:06 +00:00
Robert Muir bd1a237061 print exactly which files cant be removed (e.g. spellchecker/xyz.cfs) when cleaning up test temp data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965222 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 12:55:50 +00:00
Uwe Schindler 658c5f01bd Generics und Classloader Policeman fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965218 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 12:25:16 +00:00
Uwe Schindler 19a14cbefa A small improvement in FuzzyTermsEnum, as the ArrayList was initially allocated with one element less so internal array reallocated every time. This removes the use of ArrayList at all.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965216 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 12:08:21 +00:00
Uwe Schindler 42aa9a20b3 LUCENE-2541: Improve readability of TestNumericUtils by using autoboxing and varargs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965110 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 17:16:14 +00:00
Uwe Schindler 7902749e3e LUCENE-2541: Fix NumericRangeQuery that returned incorrect results with endpoints near Long.MIN_VALUE and Long.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965103 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 16:21:57 +00:00
Robert Muir 90ac856ea2 print a warning in this test if it cant clean up (rather than silently leaving trash)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964856 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 16:47:23 +00:00
Robert Muir 4c23e64c08 SOLR-2003: improve exception message for encoding errors (print filename, etc)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964832 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 15:22:00 +00:00
Robert Muir a803300431 remove dependency of test-core on build-contrib (only needed by redundant test code)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964753 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 11:00:04 +00:00
Michael McCandless dba59cd60c LUCENE-2348: force single segment for DuplicateFilterTest, for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964720 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 09:02:00 +00:00
Michael McCandless 379bc338b5 use CheckHits to more thoroughly confirm results are identical (rmuir: add some more hair to the monster...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964485 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 16:41:40 +00:00
Robert Muir ce249eefc5 add TODO about not testing the empty string in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964479 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 16:23:26 +00:00
Robert Muir c8de69bdce SOLR-2002: assert inconsistencies in setup/teardown rather than giving an awkward IAE for maxclausecount=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964459 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 15:10:37 +00:00
Robert Muir 67d2e87fee SOLR-2003: report (throw exception) rather than replace charset errors in SolrResourceLoader.getLines
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964430 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 13:50:48 +00:00
Koji Sekiguchi 278448babc SOLR-1995: Use proper format for SimpleDateFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964312 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 06:32:22 +00:00
Koji Sekiguchi 2fbf7ec677 SOLR-1791: Fix messed up core names on admin gui
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964306 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 05:37:27 +00:00
Chris M. Hostetter d592103d63 SOLR-2000 ... it's not 2008 anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964267 13f79535-47bb-0310-9956-ffa450edef68
2010-07-15 00:32:37 +00:00
Robert Muir fcc9a4a3c3 LUCENE-2503: add forgotten javadoc/citation (sorry)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964054 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 14:06:06 +00:00
Robert Muir 3241eb9291 LUCENE-2503: add light stemmers for european languages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964019 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 12:10:34 +00:00
Robert Muir d49603b939 quiet this loud test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963920 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 01:54:01 +00:00
Robert Muir e6cc82f52c fix this assertion, so the test isnt sensitive to the speed of your computer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963909 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 00:05:32 +00:00
Robert Muir dace72be35 speed up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963906 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 23:41:57 +00:00
Robert Muir 76de9537b1 speed up test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963888 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 22:31:49 +00:00
Robert Muir 0aacad6eca SOLR-2002: make AbstractSolrTestCase extend LuceneTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963873 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 21:45:31 +00:00
Michael McCandless 2ec25eb81a LUCENE-2536: fix IW.rollback to not apply buffered deletes against flushed segments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963781 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 16:17:10 +00:00
Michael McCandless ed6406b8df LUCENE-2130: fix performance issue with MultiTermEnum.seek when you seek just a bit ahead on each call (which AutomatonFuzzyTermsEnum does)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963751 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 15:03:07 +00:00
Robert Muir 02f76901ca LUCENE-2532: randomize IndexWriter settings in search tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963720 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 14:21:46 +00:00
Michael McCandless e0a831d49c LUCENE-2531: fix string sort to only compare-by-value when necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963654 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 10:00:05 +00:00
Michael McCandless fa7d244cee LUCENE-2534: fix over-sharing bug in MultiTerms/Docs/AndPositionsEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963538 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 00:12:17 +00:00
Michael McCandless 7dc191922c LUCENE-2533: don't return dup Strings from FileSwitchDir.listAll
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@963372 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 17:28:34 +00:00
Michael McCandless 9cfb3be57f some corrections for flex migration, thanks to Andi Vajda
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@962851 13f79535-47bb-0310-9956-ffa450edef68
2010-07-10 14:43:37 +00:00
Koji Sekiguchi 38672332d5 SOLR-1960: fix URL for Solr Wiki top page. This is a temporary treatment until INFRA-2251 is solved.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@962747 13f79535-47bb-0310-9956-ffa450edef68
2010-07-10 02:50:51 +00:00
Grant Ingersoll d4cc047abf SOLR-1568: Spatial filtering support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@962727 13f79535-47bb-0310-9956-ffa450edef68
2010-07-10 00:12:41 +00:00
Chris M. Hostetter 561e520c61 SOLR-1981: Solr will now fail correctly if solr.xml attempts to specify multiple cores that have the same name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@962714 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 22:44:35 +00:00
Andrzej Bialecki b2eb10239e LUCENE-2373 Create a Codec to work with streaming and append-only filesystems.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@962694 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 21:06:24 +00:00
Robert Muir c5bc95a357 SOLR-1984: add HyphenationCompoundWordTokenFilterFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@962555 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 15:20:51 +00:00
Mark Robert Miller 70d7eb1766 SOLR-1992: Remove abortOnConfigurationError from example solrconfig.xml as it no longer has any affect
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@961943 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 21:21:45 +00:00
Mark Robert Miller 3adc87865b SOLR-1991: The example target should work from a fresh checkout without running other targets first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@961941 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 21:17:24 +00:00
Koji Sekiguchi 7ad6c0b3b1 SOLR-1985: FastVectorHighlighter: add wrapper class for Lucene's SingleFragListBuilder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@961821 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 15:50:13 +00:00
Shai Erera 662059f219 LUCENE-2421: merge 3x to trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@961618 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 07:55:32 +00:00
Michael McCandless 0d31aa07b3 LUCENE-2410: correct CHANGES entry -- only 20% speedup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@960719 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 22:36:42 +00:00
Koji Sekiguchi c86c44481f LUCENE-2464: FastVectorHighlighter: add SingleFragListBuilder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@960611 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 14:47:09 +00:00
Uwe Schindler b4e98948a2 LUCENE-2516: Cary over changes to trunk (but they are inactive, as we have currently no backwards)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@960494 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 09:19:51 +00:00
Uwe Schindler 0c333c60dd LUCENE-2514: Term is no longer character based
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@960484 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 08:33:25 +00:00