Commit Graph

18425 Commits

Author SHA1 Message Date
Mark Robert Miller e02c6d0c14 SOLR-3530: Handle content type correctly when a response parser cannot be used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527776 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 20:53:24 +00:00
Mark Robert Miller 4f8f10dcb0 SOLR-5291: Solrj does not propagate the root cause to the user for many errors.
SOLR-3530: Better error messages / Content-Type validation in SolrJ.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527547 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 13:20:27 +00:00
Shai Erera d3d61d7192 LUCENE-5246: improve test to be more generic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527460 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 06:39:52 +00:00
Shai Erera f6ae77fc1e LUCENE-5216: Fix SegmentInfo.attributes when updates are involved
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527391 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 19:51:22 +00:00
Shai Erera c534c0b3b3 LUCENE-5246: SegmentInfoPerCommit continues to list unneeded updatesFiles
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527361 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 17:37:02 +00:00
Han Jiang da15f78a59 LUCENE-5215: resolve compilation error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527332 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 14:51:07 +00:00
Steven Rowe b83ab987aa SOLR-5273: Maven config: Update org.apache.httpcomponents from 4.2.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527262 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 01:28:41 +00:00
Steven Rowe 4097a3219c SOLR-5286: revert changes committed on this issue; the internal and 3rd party dependencies in the analysis-extras contrib are used to put these jars into the Solr distribution. I didn't revert the compile step building the depended-on Lucene modules, since they aren't needed for compilation. I added comments in build.xml and ivy.xml telling people not to do this again. I reworded the README.txt to explain dependencies per feature instead of lumping them all together. I did not revert the pom.xml.template changes, since the dependencies are not required for compilation or runtime use of the code in the analysis-extras contrib.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527175 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 11:54:35 +00:00
Steven Rowe f20c9a19d7 SOLR-5286: Remove vestigial Chinese and Polish analysis jars from the analysis-extras contrib configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527168 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 08:56:20 +00:00
Shai Erera 1a740cad06 LUCENE-5215: Add support for FieldInfos generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527154 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 06:19:00 +00:00
David Wayne Smiley a8d9e70b73 SOLR-5005: remove accidental inclusion of JavaScriptRequestHandler in r1075960 (SOLR-2397)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527150 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 04:57:54 +00:00
Shai Erera a593916466 LUCENE-5189: disable merges in testChangeCodec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527147 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 03:13:35 +00:00
Steven Rowe bb34b50b78 SOLR-5279: Move CHANGES.txt entry from 4.6 to 4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527076 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 20:53:22 +00:00
Steven Rowe d01d2e731c SOLR-5281: Move CHANGES.txt entry from 4.6 to 4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527074 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 20:50:51 +00:00
Steven Rowe 52ca961100 SOLR-5279: Implicit properties don't seem to exist on core RELOAD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527042 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 19:36:18 +00:00
Steven Rowe 60479b32b0 SOLR-5281: IndexSchema log message was printing '[null]' instead of '[<core name>]'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526972 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 16:15:11 +00:00
Mark Robert Miller b00def795a SOLR-5273: Update HttpComponents to 4.2.5 and 4.2.6.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526659 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 19:49:48 +00:00
Mark Robert Miller 2cdfc5cd97 SOLR-4590: Collections API should return a nice error when not in SolrCloud mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526614 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 17:32:01 +00:00
Michael McCandless bcff47fc09 LUCENE-5218: add CHANGES
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526579 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 15:35:23 +00:00
Adrien Grand 36276a6344 LUCENE-5245: backport to lucene_4_5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526571 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 15:25:24 +00:00
Michael McCandless d98e92a87c LUCENE-5218: fix exception when trying to read a 0-byte BinaryDocValues field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526538 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 14:59:51 +00:00
Mark Robert Miller 8eca0a7ccd SOLR-5274: Allow JettySolrRunner SSL config to be specified via a constructor.
Updating org.apache.httpcomponents above 4.2.2 causes tests using SSL to fail.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526494 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 13:57:29 +00:00
Uwe Schindler 40e71b8f36 LUCENE-5245: Fix MultiTermQuery's constant score rewrites to always return a ConstantScoreQuery to make scoring consistent. Previously it returned an empty unwrapped BooleanQuery, if no terms were available, which has a different query norm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526399 13f79535-47bb-0310-9956-ffa450edef68
2013-09-26 06:46:19 +00:00
Chris M. Hostetter 818b41198b SOLR-5085: fix script to use proper pdf file name in sha1 checksum file (should not include directory path)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526272 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 19:30:39 +00:00
Chris M. Hostetter 13111f8435 SOLR-5085: the point of the subdir is so the files wouldn't have 'rc' in their name, and could be copied as is ... fix script to split X.Y-RCZ to build final file names, and vet that args look correct
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526271 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 19:20:12 +00:00
Chris M. Hostetter 521967c117 LUCENE-5233: tweak demo example search string to something that isn't in the code base
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526247 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 17:57:37 +00:00
Yonik Seeley 7df5169ef4 SOLR-4221: make new solrj client/router able to read old clusterstate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526244 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 17:52:54 +00:00
Uwe Schindler b1524738f3 LUCENE-5243: Temporarily fix problem with Clover + Java 7 caused by broken comparator. Once Clover 3.2.0 is out we can remove the snapshot repository. This patch is needed on trunk only (because Java 7)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526210 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 15:47:06 +00:00
Uwe Schindler 14bfb28bc7 Update Clover License file and Clover version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526208 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 15:43:49 +00:00
Uwe Schindler 321fe8ec63 LUCENE-5235: This is according to Clover never hit, so be more strict, may help Robert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526155 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 11:28:00 +00:00
Shalin Shekhar Mangar 8dae16c6d9 SOLR-5246: Shard splitting now supports collections configured with router.field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526151 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 10:48:09 +00:00
Chris M. Hostetter 627ee9eba6 SOLR-5257: new scripts for use with solr ref guide RCs and publishing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526083 13f79535-47bb-0310-9956-ffa450edef68
2013-09-25 01:28:19 +00:00
Yonik Seeley d038299faf SOLR-4221: back compat for router spec
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1526003 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 20:39:54 +00:00
Chris M. Hostetter b45e8cb708 fix windows test failure in TestImplicitCoreProperties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525935 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 16:07:07 +00:00
Shai Erera 84f6e500b3 LUCENE-5242: DirectoryTaxonomyWriter.replaceTaxonomy did not fully reset its state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525894 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 14:20:47 +00:00
Michael McCandless 89eb9397c7 add test verbosity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525853 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 11:14:00 +00:00
Michael McCandless cf06226cb8 LUCENE-5239: don't delete same term for the wrong field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525851 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 11:10:18 +00:00
Michael McCandless 951e056b33 whitespace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525849 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 11:06:38 +00:00
Uwe Schindler 563182ab34 LUCENE-5235: Update Javadocs to make it explicit that super.reset(), super.close() and super.end() must be called.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525825 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 09:53:21 +00:00
Dawid Weiss 7df32026ec LUCENE-5238: Fix junitcompat tests (so that they're not triggered when previous errors occur).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525815 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 08:28:00 +00:00
Shai Erera 46729e8622 LUCENE-5237: assert parameters validity as well as minor improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525813 13f79535-47bb-0310-9956-ffa450edef68
2013-09-24 08:23:37 +00:00
Chris M. Hostetter ae72053351 improve test: a few more implicit properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525733 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 23:35:40 +00:00
Yonik Seeley f4c6a05206 SOLR-5261: fix javabin block indexing back compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525732 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 23:31:13 +00:00
Robert Muir 764c248064 don't throw NPE if someone consumes us wrong, also null out random on close to be pickier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525719 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 22:25:17 +00:00
Robert Muir dabeab3b38 give more debugging info in this case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525713 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 22:17:23 +00:00
Shalin Shekhar Mangar 876573650b SOLR-5259: Fix typo in error message when _version_ field is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525620 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 15:14:10 +00:00
Shai Erera 08f690ef16 javadocs did not produce good looking HTML
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525506 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 05:06:51 +00:00
Uwe Schindler 49adf29d17 LUCENE-5235: Add more information to backwards break changes section.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525376 13f79535-47bb-0310-9956-ffa450edef68
2013-09-22 15:27:25 +00:00
Uwe Schindler 34adebab3b LUCENE-5235: Tokenizers now throw an IllegalStateException if the consumer does not call reset() before consuming the stream. Previous versions throwed NullPointerException or ArrayIndexOutOfBoundsException on best effort which was not user-friendly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525362 13f79535-47bb-0310-9956-ffa450edef68
2013-09-22 13:57:43 +00:00
Shai Erera adba0da045 LUCENE-5234: improve FieldCache API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525284 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 19:30:17 +00:00