19666 Commits

Author SHA1 Message Date
Michael McCandless
26967b0114 fix AnalyzingInfixSuggester's javadocs to make it clearer that the index is 'private' to the suggester and should not be the same index used for normal searching
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587851 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 10:11:14 +00:00
Noble Paul
3cb0a855a0 SOLR-5473: Make one state.json per collection , SOLR-5474: Have a new mode for SolrJ to support stateFormat=2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587834 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 08:37:26 +00:00
Shalin Shekhar Mangar
67e6e24d44 Example schema ships with random_ dynamic field so use it instead of rand_ in the example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587819 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 07:23:34 +00:00
Robert Muir
3a06863571 LUCENE-5606: un-ignore monster tests, instead annotate with a test group so they can be optionally run
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587769 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 01:32:45 +00:00
Mark Robert Miller
d393b2916c SOLR-5954: Slower DataImportHandler process caused by not reusing jdbc connections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587706 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:38:35 +00:00
Mark Robert Miller
c7c9fc35a1 SOLR-5904: ElectionContext can cancel an election when it should not if there was an exception while trying to register as the leader.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587702 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:28:45 +00:00
Michael McCandless
3dc2074d1b switch case fallthrough is OK here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587689 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:11:06 +00:00
Michael McCandless
9c2de17be0 LUCENE-5604: switch these 'many terms' tests back to previous adversarial hash conflict case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587685 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 18:55:44 +00:00
Robert Muir
3944b1294a LUCENE-5067: add more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587625 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 16:12:12 +00:00
Robert Muir
80f00226e7 LUCENE-5067: fix testThreadSafety to actually test the dir in question (not copy into random impl), fix performance issues, remove Nightly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587592 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 14:24:31 +00:00
Robert Muir
a3bf11591b LUCENE-5602: CHANGES shuffle
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587578 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 13:29:30 +00:00
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