Commit Graph

1617 Commits

Author SHA1 Message Date
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