Robert Muir
93462313c3
LUCENE-4176: fix AnalyzingQueryParser to analyze range endpoints as bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355001 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 13:20:15 +00:00
Dawid Weiss
f348f0bb99
Replacing hackish with stylish...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354361 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 08:16:37 +00:00
Dawid Weiss
b399df8bed
LUCENE-4115: JAR resolution/ cleanup should be done automatically for ant clean/ eclipse/ resolve.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353967 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 11:47:31 +00:00
Michael McCandless
947979e3e5
reduce number of open files in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353004 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 19:37:09 +00:00
Uwe Schindler
737bb84db3
LUCENE-4155: Move & hide oal.util classes to better packages to reduce import statements and too many public classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352942 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 16:04:38 +00:00
Michael McCandless
1441cae57c
LUCENE-3892: initial For patch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/pforcodec_3892@1352200 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 16:13:44 +00:00
Robert Muir
5cd8d27ba4
don't use assume here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351879 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:03:38 +00:00
Michael McCandless
40f69e143c
don't use Memory/SimpleText postings format when indexing too many tokens from random data
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351829 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 20:08:50 +00:00
Adrien Grand
a94e7cd49e
LUCENE-4148: Make _TestUtil able to generate random longs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351718 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 13:59:04 +00:00
Uwe Schindler
ae212ff6f6
LUCENE-3866: CompositeReader.getSequentialSubReaders() now returns unmodifiable List<? extends IndexReader>. ReaderUtil.Gather was removed, as IndexReaderContext.leaves() is now the preferred way to access sub-readers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351590 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 07:24:29 +00:00
Michael McCandless
85d7deda7d
add more details on test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349828 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:13:33 +00:00
Adrien Grand
4104901e64
LUCENE-4120: FST.pack: Use packed integer arrays for improved memory efficiency.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349826 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 13:12:44 +00:00
Robert Muir
362a046571
LUCENE-4139: compute offsets correctly for multivalued fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349452 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 17:30:33 +00:00
Chris M. Hostetter
2ac3eb27c4
LUCENE-3949: fix license headers to not be javadoc style comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348980 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:26:18 +00:00
Robert Muir
28f43e3b56
LUCENE-4129: add codecheader to .frq/.prx
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348927 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 16:12:12 +00:00
Robert Muir
4110fae40b
LUCENE-4127: don't let bogus offsets corrupt the index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348685 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 23:50:21 +00:00
Michael McCandless
dba50b31e7
LUCENE-4101: add ctors create stored or not-stored variants of indexed fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348630 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 17:42:19 +00:00
Michael McCandless
cbbf7bfc6a
LUCENE-4127: don't allow 0 posInc for first token of indexed field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348606 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 14:42:34 +00:00
Dawid Weiss
9efa2ad629
LUCENE-4102: refactored support for SuppressCodec annotation (assumption thrown at suite level rather than method level.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348475 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 18:33:48 +00:00
Andrzej Bialecki
4efdbdb2a8
LUCENE-4122 Replace Payload with BytesRef.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348171 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 17:58:41 +00:00
Michael McCandless
7f3462ec13
if -Dtests.postingsformat is specified don't pick SimpleTextCodec nor AppendingCodec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346991 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 17:16:41 +00:00
Dawid Weiss
ddfb21b5d0
LUCENE-4111: More spinning/endless loop problems with random regex in org.apache.lucene.analysis.pattern.TestPatternReplaceCharFilter.testRandomStrings.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346625 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 22:12:53 +00:00
Michael McCandless
6992cd4b32
make warmed map sync'd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346582 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 20:56:50 +00:00
Michael McCandless
2b2140b2aa
don't assert warmed reader is live unless reader is NRT
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346520 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 18:45:00 +00:00
Michael McCandless
24ac5fdd13
diagnostics for merged segments weren't being; add test coverage for that and for segment warming
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346465 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 16:53:38 +00:00
Dawid Weiss
af57b5d282
Update SHA checksums for jars.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346383 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 13:20:27 +00:00
Dawid Weiss
3161334d2a
Don't NPE on missing assertions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346382 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 13:19:40 +00:00
Dawid Weiss
36563ae507
LUCENE-4112: upgrade ant dependency to 1.8.2.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346369 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 12:26:01 +00:00
Michael McCandless
2dee011e58
if -Dtests.postingsformat is specified, don't use Lucene3x codec
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1345506 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 13:11:40 +00:00
Robert Muir
bc3a3dc5d4
LUCENE-4095: remove deprecations from trunk (just the easy ones for now)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344531 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 02:07:11 +00:00
Dawid Weiss
8deb16bcf9
Minor cleanups of LuceneTestCase and reproduce string builder.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344475 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 21:37:03 +00:00
Robert Muir
8963cf411b
LUCENE-4090: PerFieldPostingsFormat cannot use name as suffix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344441 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 20:15:58 +00:00
Robert Muir
b2a864c7ce
fix lucenetestcase to report the actual codec used instead of always lucene40 when a test fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344392 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 18:30:24 +00:00
Robert Muir
54be02eef2
LUCENE-4086: remove 3.x index support from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344076 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 02:07:31 +00:00
Michael McCandless
f9c744422a
LUCENE-4084: allow reuse of IWC
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344041 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 23:00:14 +00:00
Robert Muir
22b10bf076
LUCENE-4088: unindexed (stored-only) fields prevent future indexing of offsets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1344038 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 22:44:38 +00:00
Robert Muir
f5223505b0
4.0 -> 5.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343848 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 17:01:58 +00:00
Robert Muir
e9bb487252
LUCENE-4055: Refactor SegmentInfo and FieldInfo to make them extensible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343365 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 19:28:10 +00:00
Dawid Weiss
e525552d73
LUCENE-4078: PatternReplaceCharFilter assertion error caused by malformed
...
utf-16. This is most likely a bug in the JDK because a
Pattern("").replaceAll("x") is inserted in between surrogate pair
characters and corrupts strings.
A temporary fix is to check for this at random pattern generator and pick
again if detected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343214 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 12:00:24 +00:00
Robert Muir
6278ae5dd2
LUCENE-4055: tidy up and fix javadocs problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1342314 13f79535-47bb-0310-9956-ffa450edef68
2012-05-24 16:18:50 +00:00
Robert Muir
7508958f63
LUCENE-4055: remove redundant numDocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341997 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 19:44:26 +00:00
Robert Muir
9cde5052a2
LUCENE-4055: merge trunk (1341011-1341932)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341936 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 16:24:21 +00:00
Robert Muir
b1693f5cab
LUCENE-4055: send FIS/SI to tv writer like stored fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341678 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 23:23:23 +00:00
Michael McCandless
4b00880436
LUCENE-4055: thread FIS/SI to stored fields writer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341665 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 22:25:10 +00:00
Robert Muir
c2047945cb
LUCENE-4055: rename method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341639 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 21:23:56 +00:00
Robert Muir
ffb88a89ef
LUCENE-4055: clean up some nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341628 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 21:12:37 +00:00
Robert Muir
ae439f4929
LUCENE-4055: fix class naming
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341620 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 20:58:40 +00:00
Michael McCandless
7262b340ba
LUCENE-4055: break out new SegmentInfoPerCommit to separate stuff that changes per-commit from the core SegmentInfo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341545 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 16:03:50 +00:00
Robert Muir
de9e4695cf
preflex codec still depends on field name interning, so test it some
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341480 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 14:00:17 +00:00
Robert Muir
f330cf65ad
LUCENE-4055: javadocs, file formats docs, clear some nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341291 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 02:50:22 +00:00
Robert Muir
7f91241b37
LUCENE-4055: add codec-private metadata to fieldinfos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341167 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 19:43:58 +00:00
Michael McCandless
19b2a64333
LUCENE-4055: compute files() at index time not at read time
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341071 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 15:32:50 +00:00
Robert Muir
d5f7dbdde7
LUCENE-4055: merge trunk (1338960:1341010)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341015 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 13:39:57 +00:00
Michael McCandless
54f5444796
LUCENE-4055: more nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1340722 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 13:59:20 +00:00
Michael McCandless
8945e4b2ce
don't excessively call RateLimiter in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340713 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 13:41:33 +00:00
Michael McCandless
fb6c3cfeac
LUCENE-4055: fix more nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1340710 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 13:24:29 +00:00
Michael McCandless
5687147186
LUCENE-4055: SimpleText and Lucene40 SI impls no longer write 3x-only stuff (shared docs stores, norm gens); clean up some nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1340691 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 12:22:34 +00:00
Simon Willnauer
fa75b33949
LUCENE-4046: Add IOException to DocsEnum#freq()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340653 13f79535-47bb-0310-9956-ffa450edef68
2012-05-20 10:03:35 +00:00
Michael McCandless
b83dde502b
LUCENE-4055: first cut at separating 'write simple list of segments in the commit' from 'write the per-segment SI'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1340561 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 20:45:41 +00:00
Robert Muir
a9721702e1
LUCENE-4055: make fieldinfos always readonly once built
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1340134 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 15:42:40 +00:00
Dawid Weiss
6248459183
LUCENE-4054: nested suite classes (required for tests) should not run in stand-alone mode.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1340021 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 07:53:33 +00:00
Michael McCandless
5c816ad8ae
LUCENE-4055: remove last redundant SI/FI boolean
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1339895 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 22:28:12 +00:00
Michael McCandless
67747b0955
LUCENE-4055: remove another redundant boolean; speed up file matching
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1339878 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 21:54:35 +00:00
Michael McCandless
e099cb8164
LUCENE-4055: remove extra booleans
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1339732 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 17:34:49 +00:00
Michael McCandless
7c9361ff9e
LUCENE-4055: decouple SI/FI somewhat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1339711 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 17:00:29 +00:00
Robert Muir
09b10efe3f
LUCENE-4055: clear up nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1339025 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 06:28:31 +00:00
Robert Muir
91522c32a1
LUCENE-4055: make fieldinfos abstract, split into read-only and read-write (for now)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1338977 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 02:45:55 +00:00
Robert Muir
453f34acd6
LUCENE-4055: remove empty-string-bug-waiting-to-happen
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1338969 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 01:16:59 +00:00
Dawid Weiss
e9f32e7a72
LUCENE-4047: Rewrote ClassValidators as suite level test rules. This adds more stack entries but will work with intellij idea's test runner.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338911 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 21:47:27 +00:00
Robert Muir
2f31a1e36f
fix broken javadocs links
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338877 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 20:29:10 +00:00
Dawid Weiss
71f9914dfd
JavaDoc corrections.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338829 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 19:00:11 +00:00
Dawid Weiss
4652d65f0b
LUCENE-4047: Cleanup of LuceneTestCase: moved blocks of initialization/ cleanup code into JUnit instance and class rules.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 18:47:45 +00:00
Michael McCandless
7e511f80d1
fix AlcoholicMergePolicy to not excessively exaggerate segment sizes as it's getting drunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337653 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 21:02:50 +00:00
Robert Muir
23c1ebced2
LUCENE-3489: generalize UseNoMemoryExpensiveCodec to SuppressCodecs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337538 13f79535-47bb-0310-9956-ffa450edef68
2012-05-12 13:32:40 +00:00
Robert Muir
b6e6b94b08
if a test is annotated to not use simpletext/memory, don't pick simpletext
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337327 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 18:54:19 +00:00
Uwe Schindler
f769cc54d0
Don't search for newline if already at beginning of file, fix bug causing size=0 on gz files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337008 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 02:31:45 +00:00
Robert Muir
f8d2ce1aa7
peanut butter hamburgers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337005 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 02:18:24 +00:00
Uwe Schindler
0d0ef08cfc
Optimize rcmuir's commit to seek using RandomAccessFile and later use input stream (after seeking). Also fail on UTF-8 coding errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1336942 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 23:10:18 +00:00
Robert Muir
a41f0ca63b
don't skip the reader of the huge linedocs file, skip the inputstream instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1336904 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 21:26:13 +00:00
Michael McCandless
54a5e34d35
LUCENE-3077: fix trapping DV sugar field ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1336617 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 11:45:16 +00:00
Michael McCandless
a7ecbca3f9
LUCENE-3910: add -Dtests.linedocsfile to repro line on failure, add additional note (and ant target) to pull down the Jenkins nightly line docs file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1336578 13f79535-47bb-0310-9956-ffa450edef68
2012-05-10 10:14:01 +00:00
Robert Muir
41796ae9e2
LUCENE-4034: improve functionquery tests, fix some minor bugs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334739 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 18:55:21 +00:00
Michael McCandless
7d6821bc76
randomly use RateLimiter in MDW
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334628 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 13:52:04 +00:00
Michael McCandless
3e9b5a9893
LUCENE-3830: use FST instead of recursive HashMaps for MappingCharFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334619 13f79535-47bb-0310-9956-ffa450edef68
2012-05-06 13:13:34 +00:00
Robert Muir
7c24a0367e
LUCENE-4031: support offsets in Pulsing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334448 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 16:53:16 +00:00
Michael McCandless
f21f747bac
MockAnalyzer now confesses (if tests are VERBOSE) when it injects payloads...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334123 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 19:14:31 +00:00
Robert Muir
73f50a4fa4
LUCENE-4027: 3.x codec should have its own skipper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333889 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 12:02:06 +00:00
Robert Muir
d920478751
add = signs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333865 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:32:41 +00:00
Robert Muir
f7fef4dac7
-Dtestcase doesnt require shell escaping for csh
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333863 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 10:29:34 +00:00
Dawid Weiss
0f7bc01bc5
Upgrade of randomizedtesting and junit4 to 1.4.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1332984 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 10:43:01 +00:00
Robert Muir
5ed76836aa
LUCENE-3902: add javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1332503 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 02:27:44 +00:00
Robert Muir
12f62c067e
remove obselete constant
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331476 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 15:48:14 +00:00
Robert Muir
09e3948d71
LUCENE-3892: revert the revert: configure fallbacks so that ivy downloads work from china
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331164 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 01:01:04 +00:00
Robert Muir
b06d2b0fbd
revert china fallback config until i can debug jenkins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331034 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 19:13:33 +00:00
Robert Muir
f8577e6cb4
LUCENE-3892: configure fallbacks so that ivy downloads work from china
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331019 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 18:33:46 +00:00
Robert Muir
021986f9f2
LUCENE-4021: Locale representations don't round trip
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330603 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 23:39:51 +00:00
Dawid Weiss
805ccb6006
LUCENE-4020: Tests may not be repeatable across different platforms/ JVMs due to different locale/ timezone being picked.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330585 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 22:18:13 +00:00
Dawid Weiss
0f08c5a3f9
Adding a note about LUCENE-4020 issue. Spelling corrections.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330051 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 22:30:27 +00:00
Robert Muir
1f631c585e
LUCENE-3887: add remaining missing package.htmls, enable the check in javadocs-lint
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329679 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:43:04 +00:00
Robert Muir
d176899fea
LUCENE-3887: add some more basic package.htmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329445 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 21:06:54 +00:00
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