Commit Graph

19655 Commits

Author SHA1 Message Date
Michael McCandless 6372c28701 LUCENE-5604: woops, remove diagnostic conflict counter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587509 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 10:59:25 +00:00
Michael McCandless 138bd925d8 LUCENE-5604: switch BytesRef/BytesRefHash hashing to MurmurHash3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587489 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 09:35:34 +00:00
Robert Muir 6d680325d8 merge 4.7.2 CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587465 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 07:52:15 +00:00
Robert Muir a33712ebc3 LUCENE-5067: add a BaseDirectoryTestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587440 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 06:12:29 +00:00
Robert Muir 4aa0a1db1c LUCENE-5603: fix hunspell to use FST efficiently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587162 13f79535-47bb-0310-9956-ffa450edef68
2014-04-14 08:11:02 +00:00
Mark Robert Miller 3800409581 SOLR-5980: Add a test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587149 13f79535-47bb-0310-9956-ffa450edef68
2014-04-14 04:47:19 +00:00
Mark Robert Miller a4133ca6c2 tests: harden this test due to a current short coming in the collections api.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587099 13f79535-47bb-0310-9956-ffa450edef68
2014-04-13 21:32:58 +00:00
Michael McCandless 3dd9091dd0 don't processEvents during rollback
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586946 13f79535-47bb-0310-9956-ffa450edef68
2014-04-13 09:23:10 +00:00
Mark Robert Miller 856cdf8d3e SOLR-5980: AbstractFullDistribZkTestBase#compareResults always returns false for shouldFail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586781 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 21:31:50 +00:00
Michael McCandless 34f1c1da3a LUCENE-5582: add changes entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586748 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 19:02:46 +00:00
Michael McCandless bb639e561d LUCENE-5582: remove IndexOutput.length/setLength
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586743 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 18:46:43 +00:00
Robert Muir 56d171f2f2 extract another zigzag encode/decode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586728 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 17:55:25 +00:00
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