Commit Graph

18185 Commits

Author SHA1 Message Date
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
Uwe Schindler da34b18cb3 SOLR-4882: Restrict SolrResourceLoader to only allow access to resource files below the instance dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525246 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 14:51:51 +00:00
Shai Erera 243e614e52 relax test a little bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525231 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 13:10:18 +00:00
Uwe Schindler f6e125ce66 LUCENE-5207: Add a test that checks if the stack trace of an exception thrown from a Javascript function contains the original expression source code as the "filename".
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525194 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 03:42:51 +00:00
Robert Muir 2f169863cb LUCENE-5231: better interoperability of expressions with valuesource
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525192 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 03:37:43 +00:00
Robert Muir 477360d047 remove crazy javadoc, there is no default since this method takes explicit booleans for doDocScores/doMaxScore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525063 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 17:31:59 +00:00
Steven Rowe c717abd096 Intellij config: JDK setup: switch interpolation markers in dev-tools/idea/.idea/misc.xml to be well-formed (unlikely-to-be-used XML attribute 'subst.="idea.jdk"'), so that in-place users won't be yelled at by Intellij. When IntelliJ starts up without this 'attribute' having been interpolated, it ignores and then removes the unknown XML attribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524916 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 06:53:16 +00:00
Steven Rowe dcbe233d60 Remove obsolete ${project.classpath} pathelement from the "base.classpath" path and the classification module's "classpath" path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524909 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 06:25:12 +00:00
Steven Rowe edb6a62d3d Intellij config: JDK setup: look for ${idea.jdk} property in the local lucene/build.properties first, before looking in the files under ${user.home}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524906 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 05:37:26 +00:00
Steven Rowe c9dc2be5ff Intellij config: JDK setup: add missing interpolation marker in dev-tools/idea/.idea/misc.xml; dont print out follow-on instructions if ${idea.jdk} is defined; and when follow-on instructions are printed, show how to avoid the need to manually configure the JDK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524903 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 05:23:41 +00:00
Shai Erera 344d4357e3 LUCENE-5189: remove leftover
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524901 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 04:55:24 +00:00
Shai Erera 8fcd7a8245 LUCENE-5189: fixed concurrency bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524900 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 04:39:51 +00:00
Steven Rowe 872c02c31c Intellij config: pick up JDK definition from build.properties file under lucene/ or in home dir, and use it to populate config, so that updating doesnt have to involve manually setting the JDK. Example line from my lucene/build.properties:
idea.jdk=project-jdk-name="1.7" project-jdk-type="JavaSDK"

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524883 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 01:45:33 +00:00
Steven Rowe 82b4cca7b0 LUCENE-5207: Intellij config for the new expressions module: add Ant support and whole-module JUnit run configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524859 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 23:22:14 +00:00
Michael McCandless 017a3bf628 LUCENE-5123: invert postings writing API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524840 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 20:57:09 +00:00
Robert Muir 9d16038391 LUCENE-5219: Add support to SynonymFilterFactory for custom parsers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524839 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 20:55:34 +00:00
Robert Muir b7544e16ba LUCENE-5226: Optimize SortField.needsScore for expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524813 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 19:37:14 +00:00
Chris M. Hostetter 499bd3688a LUCENE-5211: Better javadocs and error checking of 'format' option in StopFilterFactory, as well as comments in all snowball formated files about specifying format option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524809 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 19:06:37 +00:00
Robert Muir c7188a03a3 LUCENE-5222: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524779 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 16:37:31 +00:00
Adrien Grand e2573a6bba LUCENE-5223: backport to 4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524745 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 14:12:23 +00:00
Robert Muir 95629b4f65 LUCENE-5220: ExpressionSortField has crappy toString/bad equals/hashcode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524588 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 21:51:24 +00:00
Robert Muir 4d53022c49 LUCENE-5222: fix expression sort with executorService
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524575 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 21:23:38 +00:00
Chris M. Hostetter ced67903ad LUCENE-5223: Fixed IndexUpgrader command line parsing: -verbose is not required and -dir-impl option now works correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524521 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 18:33:56 +00:00
Robert Muir 3eb1e1ac54 LUCENE-5221: SimilarityBase.computeNorm is inconsistent with TFIDFSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524457 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 15:29:11 +00:00
Noble Paul 60e7475519 SOLR-4221 changed format router is stored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524442 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 15:10:04 +00:00
Mark Robert Miller ea210933f5 SOLR-5243: CHANGES entry.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524288 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 03:40:45 +00:00
Mark Robert Miller c3bee17daa SOLR-5243: Killing a shard in one collection can result in leader election in a different collection if they share the same coreNodeName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524286 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 03:37:53 +00:00
Uwe Schindler 8b8c2c05f6 SOLR-5082: Fix credits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524282 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 03:02:57 +00:00
Mark Robert Miller bf3937f049 SOLR-4816: add missing CHANGES credit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524176 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 18:53:44 +00:00
Mark Robert Miller 7684f2b73d SOLR-4816: deal with leader=null case and init map with known size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524170 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 18:45:39 +00:00
Robert Muir 60f1e5eb54 include resources file in maven configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524135 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 17:25:57 +00:00
Michael McCandless f5ccd2cf1d LUCENE-5180: move CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524122 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 16:29:25 +00:00
Michael McCandless 9a6360e131 LUCENE-5180: ShingleFilter creates shingles from trailing holes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524117 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 16:26:36 +00:00
David Wayne Smiley b67683ea21 SOLR-5082: removed inadvertent credit to dsmiley
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524086 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 15:03:19 +00:00
Yonik Seeley 4b0c01af41 SOLR-5240: unlimited core loading threads to fix waiting-for-other-replicas deadlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523871 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 02:14:50 +00:00
Chris M. Hostetter 804083be27 SOLR-5241: Fix SimplePostToolTest performance problem - implicit DNS lookups
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523725 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 16:39:29 +00:00
Mark Robert Miller 479234e7e3 SOLR-5150: HdfsIndexInput may not fully read requested bytes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523693 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 15:06:26 +00:00
David Wayne Smiley 61dd81d787 SOLR-2548: Simplified multi-threading of facet.threads logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523677 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 14:34:03 +00:00
Robert Muir ac38faf3da add missing @link
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523529 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 02:09:50 +00:00
Robert Muir b76fdfbfa9 fix fileformats documentation bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523526 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 02:03:09 +00:00
Robert Muir b502fdb597 LUCENE-5189: add testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523525 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 01:56:46 +00:00