Commit Graph

19826 Commits

Author SHA1 Message Date
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
Shalin Shekhar Mangar 39a1cb98ec SOLR-5749: Renamed some stat names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584739 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 15:12:24 +00:00
Shalin Shekhar Mangar 8ea6d08a42 Bump randomizedtesting-runner version to 2.1.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584712 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 14:29:55 +00:00
Dawid Weiss c0bdf68730 Don't remove unzipped files automatically.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584637 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:32:48 +00:00
Dawid Weiss 1a9c5c9862 Add test-help info
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584635 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:05:51 +00:00
Dawid Weiss ee084bbe60 Cleanups and refactorings after Mark's suggestions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +00:00
Dawid Weiss bc43bebedf Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Dawid Weiss f99edee7a3 LUCENE-5567: When a suite fails with zombie threads failure marker and count is not propagated properly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584569 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 09:03:36 +00:00
Steven Rowe 3df0ae45f6 SOLR-5950: Maven config: make the org.slf4j:slf4j-api dependency transitive (i.e., not optional) in all modules in which it's a dependency, including solrj, except for the WAR, where it will remain optional.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584473 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 23:49:08 +00:00
David Wayne Smiley 02804f67aa LUCENE-5568: Fix benchmark default.codec to work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584422 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 22:06:44 +00:00
Steven Rowe f9104a1693 Remove SOLR-5228 from the "New Features" section - it's already in the "Other Changes" section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584414 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 21:48:24 +00:00
Noble Paul 77f452b45b SOLR-5859 improved logging, and fix a potential bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584271 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 07:07:50 +00:00
Steven Rowe b790367aa6 SOLR-5920: Maven config: restrict conversion of module names containing 'analysis-' to 'analyzers-' to those not preceded by 'solr-'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584260 13f79535-47bb-0310-9956-ffa450edef68
2014-04-03 05:32:07 +00:00
Uwe Schindler 21b6d9890e SOLR-5951: Fixed SolrDispatchFilter to throw useful exception on startup if SLF4j logging jars are missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584213 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:24:19 +00:00
Steven Rowe a3b46516f7 SOLR-5654: Create a synonym filter factory that is (re)configurable, and capable of reporting its configuration, via REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584211 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 23:09:08 +00:00
Robert Muir 0c0d026fea LUCENE-5563: remove sep layout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584140 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 19:28:33 +00:00
Noble Paul 2b3e0bb9a6 SOLR-5859 removing accidental removal of SOLR-5908 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584115 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 18:10:06 +00:00
Steven Rowe e4e90c224f SOLR-5859: add OCP.getCollectionStatus() param description for 'clusterState' to stop 'ant precommit' bitching 'Javadoc: Description expected after this reference' and failing the build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584108 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 17:51:11 +00:00