Robert Muir
dc4f912cfa
LUCENE-3887: add macro for checking missing javadocs, add some missing package.html javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329423 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 20:19:01 +00:00
Michael McCandless
71bbc7a7b7
LUCENE-4013: make oal.index.DocumentsWriter* classes package private
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329419 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 20:13:57 +00:00
Robert Muir
2bfe659f8f
LUCENE-4013: make getAndLock pkg-private, as DW is pkg-private so its effectively already pkg-private, but without broken javadocs links
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329024 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 01:58:15 +00:00
Robert Muir
c27cfaf411
making test-only postingsreader pkg-private
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329022 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 01:40:18 +00:00
Robert Muir
2553592c15
don't return pkg-private test class in public method, don't narrow public method to return pkg-private type in preflex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329017 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 01:14:45 +00:00
Robert Muir
1381427039
make test-framework method public and javadoc'ed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329011 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 00:40:54 +00:00
Robert Muir
d141d4bb36
fix private class returned by public method (name shadows public method)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328970 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 20:34:44 +00:00
Robert Muir
daf811f550
fix private class returned by public method (name shadows public method)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328968 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 20:26:23 +00:00
Robert Muir
0bf1f362eb
nuke some outdated references to contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328873 13f79535-47bb-0310-9956-ffa450edef68
2012-04-22 12:55:11 +00:00
Robert Muir
dad1d28085
LUCENE-3977: remove javadoc duplication in the website/binary release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328605 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 07:51:46 +00:00
Dawid Weiss
61ff5c8704
Removed sysout.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327555 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 16:01:58 +00:00
Dawid Weiss
13653afe5c
LUCENE-3993: Polishing annoyances from JUnit4
...
- print @Ignore/@Assumption cause.
- perturb randomness in static contexts (LUCENE-3995).
- intellij idea (in)compatibilities.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327554 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 15:58:25 +00:00
Dawid Weiss
24b2c545d8
LUCENE-3987: added sonatype releases to ivy/maven repos.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327552 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 15:56:36 +00:00
Robert Muir
19c450884b
LUCENE-3994: tone down analysis tests (remove n^2) so they dont take hours in nightly builds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327162 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 16:23:14 +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
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
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
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
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
Robert Muir
0880936551
remove outdated javadocs for test class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1324966 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 19:59:02 +00:00
Robert Muir
e8008068b2
LUCENE-3969: Merged /lucene/dev/trunk:r1311219-1324765
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1324945 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 19:41:06 +00:00
Robert Muir
c845af5497
LUCENE-3969: clean up nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1324834 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 16:01:07 +00:00
Michael McCandless
5475644b59
LUCENE-3969: add comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1324777 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 14:20:35 +00:00
Michael McCandless
5bae28d57e
LUCENE-3970: rename getUniqueTerm/FieldCount() to size()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1312037 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 23:21:39 +00:00
Robert Muir
64631a4309
LUCENE-3969: fix this filter to reset its seed... how far you peek ahead could cause some producer to fail differently....
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311953 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:37:35 +00:00
Robert Muir
6954ba2410
LUCENE-3969: fix BaseTokenTest to do the same work in multi-threads that it did in single-threads, so it really shouldnt fail from another thread unless you have an actual thread problem
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311950 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:31:01 +00:00
Michael McCandless
0cf3c779c6
LUCENE-3969: stop iterating random text if a thread hits a failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311938 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:20:04 +00:00
Michael McCandless
b67e7a0a9b
LUCENE-3969: make full offset checking optional and disable for the known (buggy) offenders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311864 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 16:54:54 +00:00
Robert Muir
d4b5405533
LUCENE-3969: check offsets even if posIncrAtt doesnt yet exist (and vice versa), and check that offsets are non-negative
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311734 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 14:09:15 +00:00
Michael McCandless
9e98ec186c
LUCENE-3969: check that startOffset <= endOffset; comment out sops
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311406 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 20:04:55 +00:00
Michael McCandless
3e098abaed
LUCENE-3969: ValidatingTokenFilter shouldn't create new atts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311405 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 20:00:50 +00:00
Michael McCandless
ad5c89b1b1
LUCENE-3969: validate after each analysis stage; tenatively add posLen to ShingleFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311373 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:05:47 +00:00
Robert Muir
6311f71de6
LUCENE-3969: commit current state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3969@1311220 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 13:25:28 +00:00
Michael McCandless
b5103519f0
add TODOs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311097 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 20:44:58 +00:00
Michael McCandless
78b4be5dc6
LUCENE-3940: fix Kuromoji to not produce invalid token graph due to UNK with punctuation being decompounded
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311072 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 19:17:17 +00:00
Michael McCandless
c567961eca
LUCENE-3968: factor out LookaheadTokenFilter from MockGraphTokenFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311043 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 16:56:54 +00:00
Michael McCandless
72cc92c903
LUCENE-3109: revert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310998 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 13:38:01 +00:00
Michael McCandless
c9031ca725
LUCENE-3109: rename Fields/Producer/Consumer to InvertedFields*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310969 13f79535-47bb-0310-9956-ffa450edef68
2012-04-08 10:09:19 +00:00
Michael McCandless
755ebafa49
LUCENE-3873: add MockGraphTokenFilter, inserting random graph tokens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310910 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 23:06:12 +00:00
Robert Muir
4b638a2903
LUCENE-3919: add convenience ctors to MockTokenizer,MockCharFilter, fix MockCharFilter to chain its correctOffset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310811 13f79535-47bb-0310-9956-ffa450edef68
2012-04-07 18:07:56 +00:00
Chris M. Hostetter
bb7bc2ff44
LUCENE-3945: use sha1 checksums to verify jars pulled from ivy match expectations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309503 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 17:53:32 +00:00
Uwe Schindler
7cc871d9f2
Remove more clone warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308122 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 14:08:14 +00:00
Robert Muir
8f0d7cc135
LUCENE-3930: nuke jars from source tree and use ivy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307563 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 18:04:43 +00:00
Uwe Schindler
69878cf594
Fix unchecked warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307131 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 21:57:02 +00:00
Michael McCandless
ea611beacc
tests: fix test again, this time using sneaky rethrower
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307056 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 18:58:57 +00:00
Ryan McKinley
05fe168961
LUCENE-2000: clone() now returns covariant types where possible.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306626 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 22:22:25 +00:00
Michael McCandless
b658af7876
create fewer random DV fields in tests; reduce frequency of force merge
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305935 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 18:08:08 +00:00
Robert Muir
2185d9f55e
LUCENE-3927: allow running trunk tests with IBM JRE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305790 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 09:30:30 +00:00
Robert Muir
b0d36c82db
improve debugging a tad bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305189 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 01:22:06 +00:00
Michael McCandless
c876a1b850
on analysis consistency fail, print the text for easier debugging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305143 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 21:23:49 +00:00
Steven Rowe
bf93518a38
LUCENE-3913: use ENGLISH locale for reproducibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304929 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 21:26:45 +00:00
Dawid Weiss
8e8b55d32c
LUCENE-3908: include test method even in a failure is caught in a non-test thread.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304923 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 21:14:34 +00:00
Steven Rowe
ada9780484
LUCENE-3913: Fix HTMLStripCharFilter invalid final offset for input containing </br>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304912 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 20:54:31 +00:00
Michael McCandless
1f7c31d711
LUCENE-3905: add assert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304847 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 16:25:47 +00:00
Michael McCandless
da1a723a3b
LUCENE-3905: if real doc's text is too big, take a random slice (not just the prefix string)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304839 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 16:08:56 +00:00
Michael McCandless
ee411e09e9
test fixes: add missing reader.close(); cutover to newDirectory() instead of new RAMDirectory()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304833 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 15:52:18 +00:00
Robert Muir
47a702b44d
use a-z rather than only a-f in randomSimpleString
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304826 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 15:41:01 +00:00
Robert Muir
8f53e6eaa7
LUCENE-3911: always use the same unicode block in the realistic case, sometimes use regexpish for lots of punctuation, fix off-by-one in randomRegexpIshString
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304823 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 15:30:58 +00:00
Robert Muir
a738c94656
LUCENE-3911: improve BaseTokenStreamTestCase random string generation, fix off-by-ones in TestUtil string gen methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304816 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 14:54:04 +00:00
Michael McCandless
c16c7fb173
LUCENE-3905: don't split up a surrogate pair when truncating too-long text
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304798 13f79535-47bb-0310-9956-ffa450edef68
2012-03-24 14:06:03 +00:00
Michael McCandless
7291d38535
LUCENE-3905: sometimes run real-ish content (from LineFileDocs) through the analyzers too; fix end() offset bugs in the ngram tokenizers/filters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304525 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 17:39:13 +00:00
Robert Muir
052bc32ae2
don't make such huge (up to 800 bytes) strings when making random docvalues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304281 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 11:19:40 +00:00
Dawid Weiss
c8cd6210cc
LUCENE-3847: eh, no comments.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304030 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 20:25:02 +00:00
Dawid Weiss
c9189ed8c9
LUCENE-3847: ignore user.timezone because it is set by java logging system and this is hard to predict.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304019 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 20:00:35 +00:00
Robert Muir
a6fd306dfb
add missing license headers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303738 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 11:33:45 +00:00
Dawid Weiss
0e3af80452
Don't print seed notes on assumption errors.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303578 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 21:28:13 +00:00
Robert Muir
f3b90132c9
LUCENE-3899: don't rely upon DirectoryReader.indexExists to determine if we should checkIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303425 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 15:05:05 +00:00
Robert Muir
3a4318dd06
LUCENE-3895: ensure we get a random seed if another thread throws uncaught exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303376 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 12:56:31 +00:00
Robert Muir
dd7bfc78d9
LUCENE-3894: for tokenizers, add some tests for larger documents
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303258 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 02:54:07 +00:00
Robert Muir
3d73a3014e
LUCENE-3896: beef up TestDuelingAnalyzers for larger documents
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303253 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 01:52:22 +00:00
Robert Muir
8e6704fc20
LUCENE-3894: make the single-threaded checkRandomData private, and allow the multithreaded version to take and respect maxWordLength for more intense tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303246 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 01:23:24 +00:00
Michael McCandless
c20242721f
LUCENE-3894: some tokenizers weren't reading all input chars
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303193 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 23:02:37 +00:00
Robert Muir
790323780f
basic javadocs improvements, mostly simple descriptions where the class had nothing before
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302752 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 02:09:25 +00:00
Robert Muir
70b95b5996
LUCENE-3879: fix more wrong shifts/invalid asserts for positions in 4.0 codecs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301541 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:23:44 +00:00
Robert Muir
3d2d144f92
LUCENE-3848: don't produce tokenstreams that start with posinc=0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1301478 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 13:06:30 +00:00
Robert Muir
40a9dbf3ce
LUCENE-3859: deprecate AtomicReader.hasNorms, implement via fieldinfos, make final, and cleanup/javadoc some related fieldinfos methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1299384 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 16:09:21 +00:00
Dawid Weiss
09d422f14f
Don't load the class before evaluation of a subrule, invoke lazily.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298925 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 16:58:01 +00:00
Dawid Weiss
c8a03ea5ba
LUCENE-3857: exceptions from other threads in beforeclass/etc do not fail
...
the test (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298721 13f79535-47bb-0310-9956-ffa450edef68
2012-03-09 07:50:05 +00:00
Michael McCandless
6c8848b1f4
fix testcase to not run beyond its end time; remove dead code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298397 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 14:02:41 +00:00
Michael McCandless
424bf9a427
fix test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298393 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 13:49:12 +00:00
Dawid Weiss
8041c826a7
Class rule to store the currently executing test class. Removed Solr's code that pulled this from the stack frames (which wasn't working because rules wrap the actual test code).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297940 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 11:20:16 +00:00
Simon Willnauer
786d3bcf14
LUCENE-3074: simple text doc values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297920 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 10:26:44 +00:00
Michael McCandless
4c4aff6400
LUCENE-3851: fix test bug; add asserts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297518 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 15:12:32 +00:00
Uwe Schindler
d7ab78593b
Fix javadocs-warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297168 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 18:52:22 +00:00
Dawid Weiss
1ded74e10d
Handle non-String property values and keys. These should never happen in real life (unless somebody abuses System.getProperties()) so
...
I opted out to ignore them (there is no way to even tell if such properties will implement hashCode/equals/toString/whatever).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296971 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 09:09:04 +00:00
Dawid Weiss
0eb091b2ca
Switching to enumeration for collecting properties.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296956 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 08:26:54 +00:00
Uwe Schindler
4b31375b55
Fix one more insanity case... die,die,die!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296914 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 00:43:17 +00:00
Dawid Weiss
ff27ca3738
LUCENE-3847: LuceneTestCase will now check for modifications of System properties before and after each test (and suite). If changes are detected, the test will fail. A rule can be used to reset system properties to before-scope state (and this has been used to make Solr tests pass).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296888 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 22:03:20 +00:00
Michael McCandless
722dec4084
remove extra space
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296814 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 14:27:33 +00:00
Christian Moen
430365f7cc
Kuromoji now produces both compound words and the segmentation of those words in search mode (LUCENE-3767)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296805 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 13:34:13 +00:00
Dawid Weiss
1ccea6ab0f
LUCENE-3840: Disabled thread preallocation until somebody fixes this issue.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296199 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 13:31:29 +00:00
Dawid Weiss
6f9388d6d8
Preallocate idle threads for the executor.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296112 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 10:23:53 +00:00
Michael McCandless
9ab8f9b83c
LUCENE-3824: don't do pointless by-value cmp in TermOrdVal/DocValuesComparator.setBottom
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294856 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 22:20:18 +00:00
Dawid Weiss
4d401ca87d
Test thread's name reflects the current seed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294514 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 08:04:42 +00:00
Michael McCandless
29ab4d99d6
LUCENE-3829: improve test coverage of DocValues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294286 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 19:20:08 +00:00
Uwe Schindler
dc0c24053e
Use the same MultiReader trick for QueryUtils, too. Now FC insanity caused by randomly wrapping readers with MultiReaders and modified segment combinations below no longer cause insanity. We still can check for insanity in production, but tests that wrap randomly for testing purposed (and behave insane) don't fail anymore.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294266 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 18:45:39 +00:00
Dawid Weiss
7be5533989
LUCENE-3820: Wrong trailing index calculation in PatternReplaceCharFilter.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294141 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 13:13:10 +00:00
Uwe Schindler
3ef57d09df
LUCENE-3823: Add a field-filtering FilterAtomicReader to 4.0 so ParallelReaders can be better tested (in LTC.maybeWrapReader)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293965 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 23:38:00 +00:00
Simon Willnauer
f29eda768d
LUCENE-3807: Clean up Suggest API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1293148 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 09:49:39 +00:00
Robert Muir
30d2fc63c8
add basic equivalence tests for core query matching (TODO: add spans)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292864 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 17:43:30 +00:00
Robert Muir
5365c14656
don't wrap if fields is null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292237 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:11:31 +00:00
Robert Muir
2e2d3dac91
pass wrap=false in queryutils temporarily, since we are causing insanity this way if the reader is already atomic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292063 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:29:03 +00:00
Robert Muir
d462d03077
revert bogus fix, this is contained to QueryUtils
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292061 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 22:22:36 +00:00
Robert Muir
bde0264a26
don't wrap already-atomic readers in crazy hierarchies while Uwe is visiting relatives
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291999 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 20:44:16 +00:00
Uwe Schindler
c8f0f52c81
Fix for some tests not liking non-atomic readers, sorry for noise.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291798 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:22:09 +00:00
Uwe Schindler
252f9b729a
Improve test coverage on IndexReaders by more fancy wrapping (completely random)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1291772 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:29:23 +00:00
Uwe Schindler
507f6460a6
Fix: Don't wrap with single sub MultiReader if already atomic (some tests dont like this).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245628 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 15:58:53 +00:00
Uwe Schindler
a8bff90d2e
Heavy committing: Just wrap readers sometimes with useless readers :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245624 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 15:47:28 +00:00
Michael McCandless
854c9ac452
LUCENE-3777: separate out Int/Long/Float/DoubleField to reduce traps
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1245583 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 14:46:35 +00:00
Dawid Weiss
1fab3f480b
LUCENE-3762: follow-up fix of -Dtestname, tests added.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244423 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 10:16:27 +00:00
Shai Erera
f4c6a4098e
LUCENE-3761: generalize SearcherManager (port to trunk)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244000 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 15:36:14 +00:00
Dawid Weiss
213ad3290a
LUCENE-3762: Upgrade JUnit to 4.10, refactor state-machine of detecting
...
setUp/tearDown call chaining.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243863 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 10:27:16 +00:00
Robert Muir
590741dcfe
LUCENE-3766: Remove Tokenizer's default ctor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242890 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 19:12:35 +00:00
Uwe Schindler
25cfcfb61e
LUCENE-3757: Change AtomicReaderContext.leaves() to return itsself as only leave to simplify code and remove an otherwise unneeded ReaderUtil method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242233 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 08:14:19 +00:00
Steven Rowe
534ecb309b
LUCENE-3753: Clover fixes: Added non-clover-invoking compile-core target specializations to the lucene/test-framework and lucene/tools modules, since these classes have no tests, and lucene/test-framework sources are already included in every other module's clover instrumentation; and moved generate-clover-reports from lucene/common-build.xml to lucene/build.xml, since it doesn't need to be shared elsewhere.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241986 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 17:14:57 +00:00
Steven Rowe
730a8abfd2
Fix fall-through warnings in randomHtmlishString() - added missing "break;"s
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241930 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 15:20:53 +00:00
Steven Rowe
eb0ab3d392
LUCENE-3753: Restructure the Lucene build system
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00