Commit Graph

8196 Commits

Author SHA1 Message Date
Koji Sekiguchi 071fdc3148 SOLR-1984: typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979302 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 14:21:47 +00:00
Shai Erera 42634c54f7 LUCENE-2537: merging from 3x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979185 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 07:23:12 +00:00
Uwe Schindler 6487d5caf2 remove empty file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979059 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 16:23:17 +00:00
Yonik Seeley da7655c72a SOLR-2015: add boolean attribute autoGeneratePhraseQueries to TextField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979049 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 15:13:05 +00:00
Robert Muir a5430edf83 LUCENE-2458: revert r978898
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@978900 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 16:56:27 +00:00
Yonik Seeley 68ce463907 LUCENE-2458: implement Uwe's suggestion for restoring Solr's default behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@978898 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 16:49:18 +00:00
Robert Muir 249c678054 LUCENE-2458: revert r978879
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@978891 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 16:22:51 +00:00
Yonik Seeley b62cff9fc0 LUCENE-2458: keep Solr's default QP behavior wrt compound words and phrases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@978879 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 14:38:58 +00:00
Robert Muir 2fe80c49e6 warn if you fix a random seed (so we dont leave the test de-randomized)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@967080 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 12:47:25 +00:00
Mark Robert Miller cec16f399a SOLR-2009: Contrib ant test targets do not respect sys props testcase,testpackage,and testpackageroot
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966880 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 22:17:16 +00:00
Robert Muir c6432e97a7 add randomRealisticUnicodeString, all chars in the same unicode block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966878 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 22:15:36 +00:00
Uwe Schindler 55b373f5ed As BytesRef has now native order use them in numeric tests. The contents are raw byte[] and no strings, it should compare native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966633 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 13:02:20 +00:00
Robert Muir 06a753ff72 add random prefixquerytest (hopefully easy to debug preflex issues with)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966574 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 11:00:48 +00:00
Robert Muir 907cd33672 fix some bytesref abuse in these tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966546 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 09:08:01 +00:00
Yonik Seeley 40028d3f1a LUCENE-2542: remove final from some TopDocsCollector methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966354 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 18:48:30 +00:00
Robert Muir 824f5bbefe LUCENE-2514: consume tokenstreams in QP like the indexer: dont create intermediate string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966254 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 14:37:09 +00:00
Uwe Schindler 0b475af7dc revert accidental commit by buschmi
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966180 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 11:02:53 +00:00
Michael Busch fc970ef01c LUCENE-2324: Committing second version of the patch to the real-time branch. It's not done yet, but easier to track progress using the branch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@966168 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 10:27:20 +00:00
Grant Ingersoll f18502ed41 SOLR-1568: moved DistanceUtils up one package, as it isn't tier specific
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965984 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 20:17:54 +00:00
Chris M. Hostetter f521e84c5a SOLR-2008: avoid possible RejectedExecutionException w/autoCommit by making SolreCore close the UpdateHandler before closing the SearchExecutor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@965938 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 18:06:39 +00:00
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