Commit Graph

19593 Commits

Author SHA1 Message Date
Robert Muir eb21a67619 tone down TestRandomChains to avoid ngram+shingle bombs etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586724 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 17:25:40 +00:00
Robert Muir b6c975daa5 LUCENE-5602: always verify term vectors on bulk merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586710 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 16:20:49 +00:00
Adrien Grand b2f347c92d Extract the zig-zag encoding/decoding routines we have to utility methods.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586669 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 14:56:29 +00:00
Robert Muir d598f8b599 LUCENE-5601: ThaiTokenizer ignores sentenceStart
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586614 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 11:12:38 +00:00
Robert Muir b72cd4b7d9 LUCENE-5573: Move docvalues constants and helper methods to o.a.l.index.DocValues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586600 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 08:54:03 +00:00
Uwe Schindler 05bb3e8673 Move to Lucene 4.9 on stable branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586576 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 05:39:28 +00:00
Uwe Schindler d825efca44 LUCENE-5588: Workaround for fsyncing non-existing directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586475 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 21:53:54 +00:00
Robert Muir 63d67496cf fix bug in buffering logic of this charfilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586473 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 21:30:53 +00:00
Uwe Schindler a896082ef9 LUCENE-5588: Lucene now calls fsync() on the index directory, ensuring that all file metadata is persisted on disk in case of power failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586407 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 18:46:33 +00:00
Uwe Schindler 72b8f43799 After Dawid fixed the test runner make this test as simple as possible (the nested test *must* fail)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586398 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 18:37:34 +00:00
Michael McCandless 55471aa723 fixup broken formatting (cosmetic) from CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586376 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 17:04:58 +00:00
Dawid Weiss ef11d304ba LUCENE-5592: Incorrectly reported uncloseable files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586337 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 15:31:25 +00:00
Uwe Schindler 3f773d6699 Fix test that fails on Windows if it gets a FSDirectory (it intentionally does not close IW/IR). The new cleanup code then complains about inability to delete the index dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586301 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 13:52:25 +00:00
Adrien Grand 9608b95934 LUCENE-5586: BufferedChecksumIndexInput.clone now throws an UnsupportedOperationException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586239 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 08:10:51 +00:00
Adrien Grand 60be1d46bb LUCENE-5583: Add DataInput.skipBytes, ChecksumIndexInput can now seek forward.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586231 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 07:12:38 +00:00
Erick Erickson f954405782 SOLR-5978: Undoing previous edit, should be a 4x only change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586203 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 03:38:46 +00:00
Erick Erickson 58343a35ae SOLR-5978: Warning for SOLR-5522 (file/edit) should be removed from example solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586202 13f79535-47bb-0310-9956-ffa450edef68
2014-04-10 03:29:56 +00:00
Michael McCandless f261d484f4 fix test to hard close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586134 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 20:35:31 +00:00
Steven Rowe d1b922fe12 SOLR-5937: Modernize the DIH example config sets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586120 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 20:05:25 +00:00
Steven Rowe 597912787c SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Steven Rowe f58f711f73 SOLR-4864: RegexReplaceProcessorFactory should support pattern capture group substitution in replacement string.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586093 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:31:01 +00:00
Ryan McKinley 0b728e5336 Merged revision(s) 1586012 from lucene/dev/branches/branch_4x:
use html for ellipsis
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586074 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 18:34:24 +00:00
Michael McCandless 7a0e6bf9e5 LUCENE-5587: fix SimpleText so its doc-values .dat files are same size regardless of order that fields were added
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585994 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 15:35:45 +00:00
Simon Willnauer fa4669caf9 LUCENE-5585: Add IOUtils.fsync
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585982 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 14:29:04 +00:00
Michael McCandless 190eac64ba LUCENE-5554: break out separate Weight.scoreRange/scoreAll so hotspot is relatively happy again after LUCENE-5487
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585967 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 13:38:58 +00:00
Adrien Grand a7ae18f08e LUCENE-5580: Always verify stored fields checksums on bulk merge.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585910 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 08:52:28 +00:00
Adrien Grand 47eb98d13f LUCENE-5578: Prevent stored fields from accumulating stale data on merge.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585900 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 07:44:47 +00:00
Michael McCandless 5f11ef3fb0 LUCENE-4246: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585767 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 15:52:24 +00:00
Michael McCandless 8559eafd99 LUCENE-4246: fix IW.close to just close, even on exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585759 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 15:34:50 +00:00
Uwe Schindler 9a3c3bd35a Revert previous commit, this is a bug in JDK 1.8.0_20 EA.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585536 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 17:52:14 +00:00
Uwe Schindler 3337604efb Suppress warnings emitted by Java8 about non_processed annotations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585529 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 17:27:30 +00:00
Noble Paul abd4de42a0 SOLR-5859 Fixing test errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585274 13f79535-47bb-0310-9956-ffa450edef68
2014-04-06 10:12:47 +00:00
Dawid Weiss 1eb3366eb6 Don't run this test if temporary folders are left behind.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585070 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:56:58 +00:00
Dawid Weiss 10f96205a3 Add lowercase version of tests.leavetemporary to propagated properties.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585063 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:49:59 +00:00
Uwe Schindler 8674badf9d SOLR-5960: Add support for basic authentication in post.jar tool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585057 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:46:42 +00:00
Dawid Weiss a0e6d12d00 LUCENE-5577: the cleanup code didn't cleanup after itself...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585053 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 11:45:22 +00:00
Dawid Weiss f8c0e119ba Added reporting of the test's temporary location in case of a failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585042 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 10:38:32 +00:00
Dawid Weiss 8dd1572be1 LUCENE-5577: Added javadocs and minor renames.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585029 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 09:24:18 +00:00
Dawid Weiss 2b1c7f34c4 LUCENE-5577: Temporary folder and file management (and cleanup facilities)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585028 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 09:17:20 +00:00
Dawid Weiss c72e8820a1 Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1585024 13f79535-47bb-0310-9956-ffa450edef68
2014-04-05 09:02:57 +00:00
Uwe Schindler 34edcdc515 Remove crazy scanning for method, its easier that way!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584894 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 20:30:07 +00:00
Uwe Schindler 8d4fd19f9f Make Exception more readable (those coming from -Dtests.directory=NonExistentDir). We have Rethrow calss for that!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584883 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 20:17:41 +00:00
Michael McCandless 07d3f54f9b LUCENE-5574: disable this test on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584868 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 19:10:34 +00:00
Robert Muir f8c30e27ae LUCENE-5570: don't let fsync create new zero-byte files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584860 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 18:21:10 +00:00
Dawid Weiss 8cf904fd8e Modified the rule to attempt to remove temporary files, but report only (not throw an exception). Added tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584843 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 18:10:55 +00:00
Michael McCandless a858257fc6 LUCENE-5574: when closing an NRT reader, do not delete files if the original writer has since been closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584840 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 18:03:32 +00:00
Dawid Weiss bfecbc9274 Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Adrien Grand f49524fb57 LUCENE-5501: Improved out-of-order collection testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584829 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:08:01 +00:00
David Wayne Smiley 6414781969 LUCENE-5565: Refactor SpatialPrefixTree/Cell to not use Strings. Other misc API changes to these classes too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584793 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 16:27:41 +00:00
Adrien Grand 85642f59dd LUCENE-5527: Refactor Collector API to use a dedicated Collector per leaf.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584747 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:31:00 +00:00