Commit Graph

8232 Commits

Author SHA1 Message Date
Chris M. Hostetter adaeb656c8 SOLR-1240: Added support for generalized Numerical Range faceting on any numeric (or date) field. Note: this required modifying ConvertedLegacyTest to deal with an expectation about how many fields a specific document has (there are more now because of a copyField i added to the schema)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980555 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 20:05:41 +00:00
Michael McCandless d5ded69e49 add randomized test case to test stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980501 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 16:38:44 +00:00
Mark Robert Miller 67c66e136f raise the retry count
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980447 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 13:36:30 +00:00
Michael McCandless 317b939949 LUCENE-2559: add SegmentReader.reopen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980436 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 13:10:52 +00:00
Michael McCandless 1a153246d1 add some missing synchronization to CodecProvider
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980433 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 13:06:14 +00:00
Michael McCandless b0e7f1c661 fix (again) TestIW.testThreadInterruptDeadlock to properly close (abort) its writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980428 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 12:56:52 +00:00
Michael McCandless 747a1c2d8f print codec when IW.infoStream is enabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980398 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 11:03:24 +00:00
Michael McCandless 04cdd6c249 fix TestIW.testThreadInterruptDeadlock to properly close (abort) its writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980369 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 09:08:11 +00:00
Mark Robert Miller b3bb09bb8a add another couple loops for this test to keep false failure from occurring
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980261 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 22:57:44 +00:00
Mark Robert Miller f64f56f584 extend time a bit to prevent false test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@980081 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 14:52:11 +00:00
Mark Robert Miller 41bb029ecf retry to prevent false failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979951 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 05:27:03 +00:00
Robert Muir 9cf23312ef don't generate invalid random unicode strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979809 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 19:10:46 +00:00
Yonik Seeley 6e30869fc9 SOLR-1925: CSVResponseWriter and commons-csv update
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979807 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 19:06:39 +00:00
Shai Erera bed729c561 LUCENE-2570: Some improvements to _TestUtil and its usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979646 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 11:31:25 +00:00
Michael McCandless 96a6898ce7 LUCENE-2568: fix AutomatonTestUtil.RandomAcceptedString to not return invalid (containing code points in the UTF16 surrogates range) UTF32
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979639 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 10:56:04 +00:00
Michael McCandless c76e15a33d LUCENE-2569: in Sep codec, make sure reused Docs/AndPositionsEnum can in fact be reused
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979637 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 10:51:54 +00:00
Robert Muir f8fba74632 LUCENE-2554: preflex codec doesnt order terms correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979453 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 21:35:43 +00:00
Michael McCandless 2ba78a2ba0 LUCENE-2565: don't enter infinite random loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979452 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 21:30:47 +00:00
Robert Muir 2b988eafaa don't generate invalid random regexps: the toString method of RegExp doesnt escape
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979422 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 20:02:49 +00:00
Michael McCandless aac4e16774 LUCENE-2554: add comment explaining why we can't assert valid UTF8 when dancing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@979415 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 19:31:34 +00:00
Michael McCandless a604160149 remove remaining nocommits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@979327 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 15:36:58 +00:00
Mark Robert Miller dbbf0489c0 remove dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@979305 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 14:26:48 +00:00
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
Robert Muir 9be334589d random codec tests by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@978881 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 14:39:26 +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 15cc2d6c2a clean up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@978878 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 14:38:40 +00:00
Michael McCandless a964231882 LUCENE-2554: pick a random codec for each unit test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@978877 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 14:31:22 +00:00
Michael McCandless 94dbf446ed LUCENE-2554: make PreFlexRW codec use finer-grained impersonation, so we can test dancing NRT/deletions too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@978872 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 13:40:22 +00:00
Michael McCandless 483266f22b LUCENE-2554: fix PreFlexRW's reader to dynamically decide whether terms should be UTF16 or codepoint
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@978857 13f79535-47bb-0310-9956-ffa450edef68
2010-07-24 11:55:26 +00:00
Michael McCandless b797b021ee remove some dead code; make RIW/RIWC more hairy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967224 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:40:31 +00:00
Robert Muir c8fd7fccc1 factor random defaults out of RandomIW into newIndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967214 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:25:13 +00:00
Robert Muir 69597e5a87 add support for -Dtests.codec to solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967179 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 17:44:21 +00:00
Robert Muir 9098d7ea17 add support for -Dtests.codec=random... all core tests pass with this
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967177 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 17:33:26 +00:00
Robert Muir 68fe4bfc74 fix the core tests to pass (with any -Dtests.codec). pull codec randomization from RIW... we should support -Dtests.codec=random instead!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967165 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 17:09:00 +00:00
Robert Muir 3582913027 remove nocommits, this isnt really evil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967137 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 15:41:43 +00:00
Michael McCandless c3627f9205 LUCENE-2554: add some verbosity to TRR2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967135 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 15:32:33 +00:00
Robert Muir af4a9deb16 commit my current state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967130 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 15:26:25 +00:00
Michael McCandless 7216e5b7d2 LUCENE-2554: making branch for faster iterations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/preflexfixes@967126 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 15:17:01 +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