Commit Graph

4172 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 8649f3f3bd SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Chris M. Hostetter f00964e7db SOLR-7804: Fix test bug where it was randomly generating 2 identical facet.pivot params w/o realizing it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692552 13f79535-47bb-0310-9956-ffa450edef68
2015-07-24 17:34:08 +00:00
Gregory Chanan d50f1e3703 SOLR-7742: Avoid stacktrace in info logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692309 13f79535-47bb-0310-9956-ffa450edef68
2015-07-22 18:18:54 +00:00
Yonik Seeley fbd467ad76 SOLR-7446: simplify missing bucket handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692304 13f79535-47bb-0310-9956-ffa450edef68
2015-07-22 17:54:36 +00:00
Joel Bernstein 129a83b198 SOLR-7441:Improve overall robustness of the Streaming stack: Streaming API, Streaming Expressions, Parallel SQL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692193 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 20:28:35 +00:00
Chris M. Hostetter 9e61daf0fa SOLR-7765: Hardened the behavior of TokenizerChain when null arguments are used in constructor. This prevents NPEs in some code paths.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692170 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 16:49:37 +00:00
Adrien Grand 3b63fbe07a SOLR-7815: Removed LuceneQueryOptimizer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692070 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 08:50:06 +00:00
Adrien Grand 3be6ef209b LUCENE-7715: Removed IgnoreAcceptDocsQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692062 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 08:03:32 +00:00
Uwe Schindler 4d2bdd36d6 SOLR-7803: Use Java 8 ThreadLocal
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691900 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:41:19 +00:00
Uwe Schindler 50f168ed4c SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00
Erick Erickson e7640f99a0 SOLR-6273: Cross Data Center Replication. All tests are now passing on my machine, let's see if Jenkins flushes anything out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691606 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 16:38:13 +00:00
Dawid Weiss 8b3bc2f088 Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691514 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 11:10:25 +00:00
Yonik Seeley 58ec4d8824 SOLR-7800: avg facet function should skip missing values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691430 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 18:28:57 +00:00
Dawid Weiss 85afee91b7 Corrected same-argument assertion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691415 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 15:30:19 +00:00
Dawid Weiss 4404d92e48 Locale-sensitive format is banned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691367 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:29:55 +00:00
Dawid Weiss 623d6b16b2 FileWriter is banned.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691362 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:26:07 +00:00
Dawid Weiss 8b8d724e30 Author tags removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691361 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:22:50 +00:00
Dawid Weiss 396af9aee6 Correct javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691359 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 11:14:59 +00:00
Dawid Weiss 139460e8c5 Ported tests as well.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691351 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:47:37 +00:00
Dawid Weiss 1842589815 SOLR-7787 (jhll integration).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr7787@1691350 13f79535-47bb-0310-9956-ffa450edef68
2015-07-16 10:32:07 +00:00
Noble Paul 422694f9c0 SOLR-7793: Refactor some utility methods to a separate utility class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690935 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:55:46 +00:00
Gregory Chanan 8b06b59efa SOLR-7742: Support for Immutable ConfigSets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690828 13f79535-47bb-0310-9956-ffa450edef68
2015-07-13 22:01:50 +00:00
Anshum Gupta 82bb97f005 SOLR-7703: Authentication plugin is now loaded using the RessourceLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690553 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 23:49:08 +00:00
Yonik Seeley 9152164afb SOLR-7781: change FacetField BytesRef shallow clone to deep clone
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690541 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 22:34:53 +00:00
Shalin Shekhar Mangar 07a615fd65 SOLR-7529: CoreAdminHandler Reload throws NPE on null core name instead of a bad request error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690426 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:36:05 +00:00
Shalin Shekhar Mangar 2c64848c78 SOLR-7705: CoreAdminHandler Unload no longer handles null core name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690424 13f79535-47bb-0310-9956-ffa450edef68
2015-07-12 05:28:55 +00:00
Erick Erickson 6f109e7c65 SOLR-7172: addreplica API fails with incorrect error msg 'cannot create collection'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690341 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 04:17:49 +00:00
Erik Hatcher 753fba5efb Fix wrong parameter name in exception message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690335 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 01:54:05 +00:00
Erik Hatcher c1d7790789 Fix typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690330 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 01:36:08 +00:00
Michael McCandless a6301dd900 LUCENE-6659: remove IWC's max thread states limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Erick Erickson 63da283f04 SOLR-7132: The Collections API ADDREPLICA command property.name is not reflected in the clusterstate until after Solr restarts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690190 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 01:47:44 +00:00
Yonik Seeley eff521bcd7 SOLR-7455: defer non-sorting facet stats
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690189 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 01:44:47 +00:00
Shalin Shekhar Mangar 32c740005a SOLR-4212: SOLR-6353: Let facet queries and facet ranges hang off of pivots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689802 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 07:46:09 +00:00
Ramkumar Aiyengar 6571cd9fe3 SOLR-7751: Minor optimizations to QueryComponent.process
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689652 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 13:10:34 +00:00
Ramkumar Aiyengar d4d68b88c7 SOLR-7750: Change TestConfig.testDefaults to cover all SolrIndexConfig fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689630 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 11:29:08 +00:00
Anshum Gupta 0325ef2ae4 SOLR-7143: MoreLikeThis Query parser now handles multiple field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689531 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 00:05:23 +00:00
Adrien Grand 2919e13adc LUCENE-6649: Remove dependency of lucene/join on Filter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 15:48:28 +00:00
Michael McCandless b3bc510c2b LUCENE-6523: NRT readers now reflect a new commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689198 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 22:15:01 +00:00
Joel Bernstein b22f711b63 SOLR-7707: Add StreamExpression Support to RollupStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689168 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 14:24:35 +00:00
Joel Bernstein a4e7ab3796 SOLR-7441, SOLR-7647: Improve overall robustness of the Streaming stack: Streaming API, Streaming Expressions, Parallel SQL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689045 13f79535-47bb-0310-9956-ffa450edef68
2015-07-03 16:32:07 +00:00
Ramkumar Aiyengar 07f8c4ec5b SOLR-7741: Add missing fields to SolrIndexerConfig.toMap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689041 13f79535-47bb-0310-9956-ffa450edef68
2015-07-03 16:00:56 +00:00
Uwe Schindler 1816ed1945 LUCENE-6653, LUCENE-6652: Refactor TermToBytesRefAttribute; add oal.analysis.tokenattributes.BytesTermAttribute; remove code duplication in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688830 13f79535-47bb-0310-9956-ffa450edef68
2015-07-02 14:09:29 +00:00
Ramkumar Aiyengar c8ce5437da SOLR-7740: Fix typo bug with TestConfigOverlay
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688619 13f79535-47bb-0310-9956-ffa450edef68
2015-07-01 11:15:14 +00:00
Shalin Shekhar Mangar e65dccbbb1 SOLR-7736: Point to the correct jira issue for awaits fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688405 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 08:58:11 +00:00
Shalin Shekhar Mangar a32822991a SOLR-7673: Race condition in shard splitting can cause operation to hang indefinitely or sub-shards to never become active
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688396 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 08:27:50 +00:00
Chris M. Hostetter 7ac8dd4111 SOLR-7712: fixed test to account for aggregate floating point precision loss
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688266 13f79535-47bb-0310-9956-ffa450edef68
2015-06-29 17:06:28 +00:00
Ramkumar Aiyengar 8c964253b5 SOLR-7710: Replace async occurrences with CommonAdminParams.ASYNC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688039 13f79535-47bb-0310-9956-ffa450edef68
2015-06-28 18:53:45 +00:00
Ramkumar Aiyengar b9854071cf SOLR-7485: Replace shards.info occurrences with ShardParams.SHARDS_INFO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688025 13f79535-47bb-0310-9956-ffa450edef68
2015-06-28 17:18:04 +00:00
Shalin Shekhar Mangar 878881a77a SOLR-6686: facet.threads can return wrong results when using facet.prefix multiple times on same field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687791 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 16:00:22 +00:00
Noble Paul b00f5b8eaa SOLR-7622: reverting the previos change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687689 13f79535-47bb-0310-9956-ffa450edef68
2015-06-26 07:29:58 +00:00
Adrien Grand 811ea274ab Make sure HashQParserPlugin calls rewrite before createWeight.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687563 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 15:41:23 +00:00
Adrien Grand d671dd8d89 LUCENE-6553: Simplify how live docs are applied.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687524 13f79535-47bb-0310-9956-ffa450edef68
2015-06-25 13:59:19 +00:00
Noble Paul 6416f8bad3 SOLR-7622: changed return type from array to Set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687307 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 15:28:23 +00:00
Joel Bernstein 33a4099b98 SOLR-7554: Add checks in Streams for incoming stream order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687258 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 13:07:09 +00:00
Noble Paul eb1542030e SOLR-7651: New response format added wt=smile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687256 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 12:50:19 +00:00
Varun Thacker 77443b8b92 SOLR-7711: Correct initial capacity for the list that holds the default components for the SearchHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687151 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 03:51:58 +00:00
Ramkumar Aiyengar b255b716c3 SOLR-7714: Reduce SearchHandler's use of ShardHandler objects across shards in a search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687143 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 22:08:22 +00:00
Anshum Gupta 5164a48fd0 SOLR-6755: Adding a check in the test to stop hitting the ClassCast exception.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687104 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 17:31:12 +00:00
Anshum Gupta 48ea578733 SOLR-7639: Fixing maxqt, and maxntp, and adding support for maxdf to MLTQParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687088 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 16:03:48 +00:00
Varun Thacker f7dd8e3805 SOLR-7499: Deprecate the 'name' parameter from the ADDREPLICA Collection API call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686827 13f79535-47bb-0310-9956-ffa450edef68
2015-06-22 10:19:35 +00:00
Steven Rowe b68d571781 SOLR-7679: Schema API doesn't take similarity attribute into account when adding field types
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686491 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 19:44:50 +00:00
Joel Bernstein 1ff66e90f1 SOLR-7513, SOLR-7528: Add Equalitors to Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686481 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 18:53:57 +00:00
Steven Rowe 9f8635de07 SOLR-7697: Schema API doesn't take class or luceneMatchVersion attributes into account for the analyzer when adding a new field type.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686327 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 22:07:30 +00:00
Joel Bernstein 3c8d9f7524 SOLR-7689: ReRankQuery rewrite method can change the QueryResultKey causing cache misses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686213 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 13:27:53 +00:00
Adrien Grand 35c0ff0ec6 LUCENE-6583: Remove FilteredQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 12:29:56 +00:00
Adrien Grand 4aafacfbef LUCENE-6570: Make BooleanQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Anshum Gupta 2b96b25046 SOLR-7639: MoreLikeThis QParser now supports all options provided by the MLT Handler i.e. mintf, mindf, minwl, maxwl, maxqt, and maxntp. This commit also fixes an NPE issue in CloudMLTQParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686123 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 23:12:15 +00:00
Anshum Gupta 4b16875058 SOLR-5886: Store async call results in zk so that they can be returned by the REQUESTSTATUS API. Also, restrict the number of stored response to 10,000 each as a safety net.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686089 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 18:46:10 +00:00
Ramkumar Aiyengar c33623f316 SOLR-7629: Have RulesTest consider disk space limitations of where the test is being run
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686077 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 17:08:10 +00:00
Noble Paul a9d669cf86 SOLR-7665: deprecate the class TransformerWithContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685979 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 09:56:10 +00:00
Erick Erickson 57cb32ab7d SOLR-7667: If more cores are loaded at startup than the transient core size, cores become unavailable. This is a test for this case to guard against regression. This test will fail in 4.x and succeeds in 5x/trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685930 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 04:23:50 +00:00
Gregory Chanan 5a0c012250 SOLR-7688: JettyConfig cannot be used with extra filters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685923 13f79535-47bb-0310-9956-ffa450edef68
2015-06-17 00:05:29 +00:00
Steven Rowe faa80ae324 SOLR-7682: Schema API - Add New Copy Field Rule doesn't allow maxChars parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 20:02:00 +00:00
Noble Paul 8ab21aa657 SOLR-7662: Refactored response writing to consolidate the logic in one place
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685856 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 15:17:14 +00:00
Mark Robert Miller cc1edb0d16 SOLR-7458: Improve test assert messages.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685847 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 14:33:09 +00:00
Adrien Grand c397fe7234 LUCENE-6531: Make PhraseQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685754 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 10:18:40 +00:00
Steven Rowe 5523048058 SOLR-7091: Nested documents with unknown fields don't work in schemaless mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685660 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 20:14:09 +00:00
Noble Paul 5e84093ab0 SOLR-7668: Add 'port' tag support in replica placement rules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685560 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 11:55:45 +00:00
Robert Muir e3563120b5 LUCENE-6525: remove deprecations from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685498 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 02:52:51 +00:00
Joel Bernstein 03cafc6711 SOLR-7560: Parallel SQL Support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685497 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 02:51:36 +00:00
Ramkumar Aiyengar 54929a7a0b SOLR-7678: Switch RTimer to use nanoTime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685485 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 23:13:57 +00:00
Ramkumar Aiyengar 0b0189f77c Tweak leadership election trace to aid debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685446 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 19:16:11 +00:00
Ramkumar Aiyengar 164972785c SOLR-7619: Fix SegmentsInfoRequestHandlerTest when more than one segment is created
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685433 13f79535-47bb-0310-9956-ffa450edef68
2015-06-14 18:18:06 +00:00
Yonik Seeley 38292f791e SOLR-7676: nested docs facet domain switching
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685340 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 22:32:48 +00:00
Ramkumar Aiyengar b202035b93 SOLR-7624: Remove deprecated zkCredientialsProvider element in solrcloud section of solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685323 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 20:34:35 +00:00
Ramkumar Aiyengar a7e678d55b SOLR-7624: Correct wrong spelling of zkCredentialsProvider in solrcloud section of solr.xml.
The older misspelling is still present (for purposes of branch_5x, to be removed in the next commit).

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685318 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 20:22:53 +00:00
Ramkumar Aiyengar d7996c5583 SOLR-7274: Removed a few eager string constructions from log.debug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685289 13f79535-47bb-0310-9956-ffa450edef68
2015-06-13 16:58:55 +00:00
Shalin Shekhar Mangar eea1657790 SOLR-7566: Code cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685179 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 22:03:46 +00:00
Shalin Shekhar Mangar 1904ce1d19 Need whitespace before params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685157 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 20:31:50 +00:00
Shalin Shekhar Mangar 7d61f79582 SOLR-7566: Search requests should return the shard name that is down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685153 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 20:03:56 +00:00
Robert Muir 50fc8ad31d LUCENE-6504: implement norms with random access API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685007 13f79535-47bb-0310-9956-ffa450edef68
2015-06-12 00:32:45 +00:00
Shalin Shekhar Mangar 62c1481594 SOLR-6835: ReRankQueryParserPlugin checks now whether the reRankQuery parameter is present and not empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684904 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 14:35:47 +00:00
Shawn Heisey a5492247f3 SOLR-7659: Rename and reorganize DirectoryFileStream.releaseCommitPointAndExtendReserve.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684808 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 03:40:25 +00:00
Gregory Chanan 0471353922 SOLR-7628: Investigate not using apacheds-all jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684796 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 23:29:03 +00:00
Chris M. Hostetter f346fc0f21 SOLR-7603: remove extra logging added to diagnose problem - failure hasn't reappeared since fix applied in r1682570
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684714 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 17:03:03 +00:00
Mark Robert Miller 3ad2bf92c4 SOLR-7458: Expose HDFS Block Locality Metrics via JMX
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684711 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 16:51:56 +00:00
Chris M. Hostetter 40f4e7de5e LUCENE-6529: Removed an optimization in UninvertingReader that was causing incorrect results for Numeric fields using precisionStep
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684704 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 16:23:00 +00:00
David Wayne Smiley 5014d99c21 SOLR-7655: Speed up DefaultSolrHighlighter's check for the existence of payloads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684665 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 12:54:36 +00:00
Noble Paul b80afc5e00 SOLR-7052: Added a testcase. not reproducible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684627 13f79535-47bb-0310-9956-ffa450edef68
2015-06-10 10:02:26 +00:00
Adrien Grand d1adfee99a LUCENE-6527: Queries now get a dummy Similarity when scores are not needed in order to not load unnecessary information like norms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684502 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 19:02:37 +00:00
Yonik Seeley 645eb35740 SOLR-7574: fix NPE due to missing body with json content type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684458 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 15:48:16 +00:00
Noble Paul 99c675eb8d reverting an accidental commit 1684395
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684410 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 12:58:20 +00:00
Noble Paul 958695884c reverting an accidental commit 1684395
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684409 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 12:50:46 +00:00
Noble Paul 016db179e4 SOLR-7636: Update from ZK before returning the status
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684395 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 12:05:36 +00:00
Anshum Gupta 0ba136c880 SOLR-7648: Expose remote IP and Host via the AuthorizationContext to be used by the authorization plugin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684299 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 00:29:27 +00:00
Erik Hatcher 867c75a5d9 Remove explicitly defined request handlers from example and test solrconfig's that are already defined implicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684080 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 22:31:26 +00:00
Erik Hatcher e332a5ce61 SOLR-7108: Change default query used by /admin/ping to not rely on other parameters such as query parser or default field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684071 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 20:03:31 +00:00
Shalin Shekhar Mangar c49d7b654e SOLR-7493: Initialize random correctly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683948 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:11:20 +00:00
Shalin Shekhar Mangar 08484fac91 SOLR-7493: Requests aren't distributed evenly if the collection isn't present locally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683946 13f79535-47bb-0310-9956-ffa450edef68
2015-06-06 20:03:32 +00:00
Robert Muir fe6c3dc939 LUCENE-6508: Simplify directory/lock API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683606 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 18:20:44 +00:00
Timothy Potter 44d4a8adb2 SOLR-4506: Clean-up old (unused) index directories in the background after initializing a new index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683601 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 17:36:43 +00:00
Yonik Seeley ae5a65e4b9 SOLR-7518: make facet module support shards.tolerant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683569 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 15:01:23 +00:00
Noble Paul 25a822bbb1 SOLR-7636: Update from ZK before returning the status
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683558 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 14:31:55 +00:00
Noble Paul 1f97771ec7 SOLR-7636: CLUSTERSTATUS API is executed at CollectionsHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683514 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 10:54:59 +00:00
Noble Paul ffc5f8d3e1 SOLR-7062 testcase to reproduce the bug. Looks like it is not reproducible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683466 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 06:06:55 +00:00
Yonik Seeley a73c2fe2fa SOLR-7630: tests - fix join test when docs are reordered in index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683433 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 21:47:57 +00:00
Shalin Shekhar Mangar 18c72d87b5 SOLR-7599: Remove invokeCollectionAPI method from base test class and use solrj classes throughout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683417 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 19:22:49 +00:00
Yonik Seeley 994ae6590c SOLR-7616: fix UniqueAgg.NumericAcc.resize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683357 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 15:03:29 +00:00
Yonik Seeley 1bf8cf7a7e SOLR-7614: make pivotRefinementCounter specific to each top level request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-03 00:29:56 +00:00
Timothy Potter 078ac707ae SOLR-7625: Ensure that the max value for seeding version buckets is updated after recovery even if the UpdateLog is not replayed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683174 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 20:15:15 +00:00
Ryan McKinley c726e72cfc Merged revision(s) 1683134 from lucene/dev/branches/branch_5x:
SOLR-7622: let DocTransformers request extra fields
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683162 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 19:16:00 +00:00
Ryan McKinley 4d39b4f69d Merged revision(s) 1683050 from lucene/dev/branches/branch_5x:
SOLR-7623: make private variables protected so you can actually override
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683051 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 06:27:01 +00:00
Ryan McKinley b7101bee60 Merged revision(s) 1683036 from lucene/dev/branches/branch_5x:
SOLR-7623: make the constructor public
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683037 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 03:58:41 +00:00
Ryan McKinley 8c5b480e71 Merged revision(s) 1683024 from lucene/dev/branches/branch_5x:
SOLR-7484: make it possible to override sendError and execute
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683025 13f79535-47bb-0310-9956-ffa450edef68
2015-06-02 00:36:41 +00:00
Tomas Eduardo Fernandez Lobbe 29972709bf SOLR-7406: Use slf4j logger instead of log4j in SimpleFacets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682675 13f79535-47bb-0310-9956-ffa450edef68
2015-05-31 04:59:40 +00:00
Chris M. Hostetter 405b29c886 SOLR-7603: more test tweaks to protect ourselves from unexpected log levels in tests like the one introduced by SOLR-7408
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682570 13f79535-47bb-0310-9956-ffa450edef68
2015-05-30 00:56:17 +00:00
Chris M. Hostetter 9cf98e784e SOLR-7603: more detail in asserts, and more asserts on the initial chain (before looking at the distributed version) to try and figure out WTF is going on here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682564 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 22:55:53 +00:00
Mark Robert Miller 6cd18fa645 SOLR-7118: Raise fail tolerance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682483 13f79535-47bb-0310-9956-ffa450edef68
2015-05-29 14:22:23 +00:00
Robert Muir 9cc7865346 LUCENE-6507: fix test bug to not double-obtain. testDoubleObtain already tests that
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682352 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 23:00:40 +00:00
Shalin Shekhar Mangar 8ea0d522ed SOLR-7599: Inline startCloudJetty method into ShardRoutingCustomTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682340 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 21:29:12 +00:00
Michael McCandless 225e4a5803 LUCENE-6507: don't let NativeFSLock.close release other locks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682327 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 20:36:20 +00:00
Anshum Gupta 8847842a1f SOLR-7602: Check if SolrCore object is already closed before trying to close it in case of an exception during Core creation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682323 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 20:27:55 +00:00
Michael McCandless 9a22532467 LUCENE-6505: NRT readers now reflect prior commit metadata
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682296 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 18:11:48 +00:00
Shalin Shekhar Mangar c6afa72f07 SOLR-7599: More clean up of duplicate methods, renamed some methods and variable names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682258 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 14:58:47 +00:00
Shalin Shekhar Mangar 8182169bb4 SOLR-7599: Removed some distribTearDown methods that were left over
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682181 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 09:28:18 +00:00
Shalin Shekhar Mangar bb0176fdd2 SOLR-7599: Rename ExternalCollectionsTest to CollectionStateFormat2Test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682174 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 08:49:54 +00:00
Shalin Shekhar Mangar 863f85bddf SOLR-6593: SOLR-7599: Re-enable DeleteLastCustomShardedReplicaTest on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682173 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 08:42:51 +00:00
Shalin Shekhar Mangar b74b925950 SOLR-7599: Remove cruft from SolrCloud tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682168 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 08:29:03 +00:00
Chris M. Hostetter b4d07d2637 SOLR-7603: more test verbosity to try and track this down in the future
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682137 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 23:36:16 +00:00
Mark Robert Miller 88640a507c SOLR-7361: Slow loading SolrCores should not hold up all other SolrCores that have finished loading from serving requests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682060 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 15:37:29 +00:00
Mark Robert Miller feb1f86d84 SOLR-7590: Finish and improve MDC context logging support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682020 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 13:33:32 +00:00
Timothy Potter 544bb51afe SOLR-7587: Move the call to seed version buckets to before buffering updates during core construction
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682016 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 13:29:32 +00:00
Anshum Gupta 79435ee7e1 SOLR-7183: Fix Locale blacklisting for Minikdc based tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681915 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 06:32:14 +00:00
Erick Erickson 55fd17e90d SOLR-6273: disable more failing tests now that we have logs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681904 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 04:36:50 +00:00
David Wayne Smiley b70192e95c SOLR-7594: Fix test bug on RptWithGeometryField's cache state
The bug was that I can't compare the segment count; I should compare cache keys

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681901 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 03:55:57 +00:00
Erick Erickson c7db078677 SOLR-6273: re-ignoring failed tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681893 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 00:10:19 +00:00
Erick Erickson f70464b15c SOLR-6273: Cross Data Center Replication: Fix at least one test, un-Ignore tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681839 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 20:15:23 +00:00
Shalin Shekhar Mangar a94d110aa4 SOLR-7595: Allow method chaining for all CollectionAdminRequests in Solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681808 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 18:33:33 +00:00
Anshum Gupta e461ab66f1 SOLR-7468: Ignoring the older test as the new one tests exactly the same thing but with less moving parts and bootstrapping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681792 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 16:44:54 +00:00
Anshum Gupta 108b9302b2 SOLR-7468: Added an alt. test, change for client and server to use different principals, and explicit addition of name.rules for test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681778 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 15:34:38 +00:00
Shalin Shekhar Mangar 49911c619b SOLR-7389: Expose znodeVersion property for each of the collections returned for the clusterstatus operation in the collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681776 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 15:24:35 +00:00
Anshum Gupta 9caddd385e SOLR-7468: Enabling debug logging for kerberos connections during tests and trying to fix # of jettys (shards)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681597 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 15:45:08 +00:00
Mark Robert Miller a545b66008 SOLR-7589: A few improvements to the ObjectReleaseTracker to make test fail debugging a little easier.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681585 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 12:42:41 +00:00
Timothy Potter b0a8ce42f5 SOLR-7587: First attempt at fixing the dead-lock; moved call to UpdateLog.onFirstSearcher to end of the SolrCore constructor as it only needs to run once per core initialization
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681486 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 16:43:03 +00:00
Shawn Heisey 88b5ea4935 SOLR-7585: Fix NoSuchElementException in LFUCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681449 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 13:20:04 +00:00
Anshum Gupta 5a96141d7f SOLR-7468: Close the cloud client created for test in a finally block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681413 13f79535-47bb-0310-9956-ffa450edef68
2015-05-24 05:28:43 +00:00
Erick Erickson 6d4f9b8b35 SOLR-6372: Cross Data Center Replication disabling noisy tests until we figure it out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681361 13f79535-47bb-0310-9956-ffa450edef68
2015-05-23 16:04:07 +00:00
Ramkumar Aiyengar 9afe4cb687 SOLR-7545: Replace some hardcoded occurrences of default URL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681305 13f79535-47bb-0310-9956-ffa450edef68
2015-05-23 09:59:34 +00:00
Chris M. Hostetter c97a92dcc3 SOLR-7335: Fix doc boosts to no longer be multiplied in each field value in multivalued fields that are not used in copyFields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681249 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 23:45:24 +00:00
Anshum Gupta 71c454caed SOLR-7468: Fix the Kerberos test to use a reconfigured client always.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681198 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 19:21:11 +00:00
Erick Erickson 375899fdbd SOLR-6273: Cross Data Center Replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681186 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:58:29 +00:00
Timothy Potter df514f0cd0 SOLR-7582: Allow auto-commit to be set with system properties in data_driven_schema_configs and enable auto soft-commits for the bin/solr -e cloud example using the Config API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681177 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:06:25 +00:00
Timothy Potter b267655b34 Revert changes committed under wrong JIRA #, should have been SOLR-7582, not 7583
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681175 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:02:10 +00:00
Timothy Potter 6b8eafe625 SOLR-7583: Allow auto-commit to be set with system properties in data_driven_schema_configs and enable auto soft-commits for the bin/solr -e cloud example using the Config API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681173 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 17:58:47 +00:00
Timothy Potter 11bf206e0d SOLR-6820: Increase the default number of buckets to 65536 instead of 256
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681169 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 17:44:57 +00:00
Noble Paul f9f2b12a57 SOLR-7531: updateHandler.autoCommit.openSearcher returned in the wrong hierarchy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681103 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 13:12:36 +00:00
Anshum Gupta c243dacfff SOLR-7468: Kerberos plugin for authentication framework. This will enable using Kerberos for authentication in Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681001 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 06:26:10 +00:00
Anshum Gupta 38876c2209 SOLR-7274: Stop forwarding Authorization, Host, and Accept headers for SPNego to work. Also fixed an exception forwarding from SDF and reconfigure SDF's httpClient after authentication has been initialized.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680931 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 17:21:44 +00:00
David Wayne Smiley 7dfc6f4cdc SOLR-5855: Re-use the document's term vectors in DefaultSolrHighlighter.
Also refactored DefaultSolrHighlighter's methods to be a little nicer.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680871 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:30:22 +00:00
Noble Paul e996532668 SOLR-7577: Add support for rules in CREATESHARD and ADDREPLICA
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680870 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:24:32 +00:00
David Wayne Smiley 961960f1c2 SOLR-7379: Spatial RptWithGeometrySpatialField (based on CompositeSpatialStrategy)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680862 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 13:04:33 +00:00
Yonik Seeley 5735b57b84 move FacetMerger public to make javadoc happy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680726 13f79535-47bb-0310-9956-ffa450edef68
2015-05-21 03:53:08 +00:00
Yonik Seeley ee50e94c01 SOLR-7578: pass merge context to facet mergers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680681 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 21:32:51 +00:00
Yonik Seeley dbce914d9f SOLR-7446: make FacetMerger abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680668 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 20:23:01 +00:00
Tomas Eduardo Fernandez Lobbe 4c3bbde8e9 SOLR-7463: Add missing test file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680665 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 19:45:17 +00:00
Tomas Eduardo Fernandez Lobbe 1f1dc2e27a SOLR-7463: Stop forcing MergePolicy's ''noCFSRatio'' based on the IWC ''useCompoundFile'' configuration. Use the MP's default if not specifically set
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680663 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 19:32:14 +00:00
Timothy Potter 1a93333d50 SOLR-7332: Initialize the highest value for all version buckets with the max value from the index or recent updates to avoid unnecessary lookups to the index to check for reordered updates when processing new documents.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680639 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 16:52:37 +00:00
Timothy Potter 645f15bae0 SOLR-6820: Make the number of version buckets used by the UpdateLog configurable as increasing beyond the default 256 has been shown to help with high volume indexing performance in SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680586 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 14:51:44 +00:00
Timothy Potter 144b4e8f12 SOLR-7333: Make the poll queue time configurable and use knowledge that a batch is being processed to poll efficiently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680436 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 01:03:23 +00:00
Anshum Gupta 8936a16554 SOLR-7274: Pluggable authentication module in Solr. This defines an interface and a mechanism to create, load, and use an Authentication plugin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680391 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 21:10:16 +00:00
Alan Woodward a0561676a0 LUCENE-6371: Add collection API to Spans, remove payload methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680205 13f79535-47bb-0310-9956-ffa450edef68
2015-05-19 09:02:38 +00:00
Gregory Chanan 88941936ca SOLR-7552: Support using ZkCredentialsProvider/ZkACLProvider in custom filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680120 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 23:11:39 +00:00
Noble Paul aecf45429c SOLR-5132: Added a new collection action MODIFYCOLLECTION
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680052 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 16:23:19 +00:00
Erik Hatcher 64274166b8 SOLR-7546: bin/post (and SimplePostTool in -Dauto=yes mode) now sends rather than skips files without a known content type, as application/octet-stream, provided it still is in the allowed filetypes setting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680047 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 15:51:44 +00:00
Noble Paul 315e20eee6 sync other replicas only in Cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680018 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 12:52:37 +00:00
Yonik Seeley e7833fb40b SOLR-7553: tests - fix QueryEqualityTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679897 13f79535-47bb-0310-9956-ffa450edef68
2015-05-17 20:57:23 +00:00
Yonik Seeley b1b8169c91 SOLR-7553: hll function for hyperloglog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679876 13f79535-47bb-0310-9956-ffa450edef68
2015-05-17 16:07:33 +00:00
Joel Bernstein e1e622b48f SOLR-7472: SortingResponseWriter does not log fl parameters that don't exist.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679618 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 18:35:04 +00:00
Timothy Potter 5e447065a2 SOLR-7503: Recovery after ZK session expiration should happen in parallel for all cores using the thread-pool managed by ZkContainer instead of a single thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679607 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 17:17:46 +00:00
Varun Thacker 73283d1455 SOLR-7541: Removed CollectionsHandler#createNodeIfNotExists. All calls made to this method now call ZkCmdExecutor#ensureExists as they were doing the same thing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679568 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 14:04:31 +00:00
Shalin Shekhar Mangar 7288912750 SOLR-7532: Removed occurrences of the unused 'commitIntervalLowerBound' property for updateHandler elements from Solr configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679522 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 09:58:44 +00:00
Anshum Gupta 47911f0b84 SOLR-7275: Setting requestType for context object in case of a /get request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679497 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 06:11:05 +00:00
Anshum Gupta d0251d9b10 SOLR-7547: Short circuit SolrDispatchFilter for static content request. Right now it creates a new HttpSolrCall object and tries to process it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679493 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 05:50:54 +00:00
Noble Paul fba2134157 SOLR-7544: CollectionsHandler refactored to be more modular
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679397 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 16:25:52 +00:00
Noble Paul bbc8484653 SOLR-7531: some more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679318 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 06:27:39 +00:00
Anshum Gupta acb40f6225 SOLR-7275: Authorization framework for Solr. It defines an interface and a mechanism to create, load and use an Authorization plugin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679316 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 06:20:04 +00:00
Chris M. Hostetter 3c6f6678b1 SOLR-6968: perf tweak: eliminate use of SPARSE storage option since it has some pathologically bad behavior for some set sizes (particularly when merging shard responses)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679241 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 16:54:46 +00:00
Steven Rowe 761df41537 SOLR-7542: Schema API: Can't remove single dynamic copy field directive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679225 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 15:19:57 +00:00
Noble Paul 54c6e5f835 SOLR-7531: added a test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679223 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 15:16:06 +00:00
Noble Paul 038c2b0cb7 SOLR-7531: config API shows a few keys merged together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679221 13f79535-47bb-0310-9956-ffa450edef68
2015-05-13 14:53:03 +00:00
Shawn Heisey b75b546110 SOLR-7243: Return more informative error from CloudSolrServer when available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679099 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 21:32:14 +00:00
Joel Bernstein e50f4d94c7 SOLR-7377: Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678743 13f79535-47bb-0310-9956-ffa450edef68
2015-05-11 12:37:18 +00:00
Yonik Seeley f41a65a457 SOLR-7522: single valued numeric field faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678535 13f79535-47bb-0310-9956-ffa450edef68
2015-05-10 03:13:36 +00:00
Yonik Seeley fb63b4c3db SOLR-7519: SlotAcc resize ability with Resizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678522 13f79535-47bb-0310-9956-ffa450edef68
2015-05-09 20:50:55 +00:00
Chris M. Hostetter d479fd7be1 SOLR-7461: stats.field now supports individual local params for 'countDistinct' and 'distinctValues', 'calcdistinct' is still supported as an alias for both options
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678422 13f79535-47bb-0310-9956-ffa450edef68
2015-05-08 18:44:03 +00:00
Anshum Gupta d42d7e68b5 SOLR-7500: Remove pathPrefix field that was accidentally left over while cleaning up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678269 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 22:57:11 +00:00
Noble Paul 105222b3a8 SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678250 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 18:31:35 +00:00
Chris M. Hostetter 06ac78ae55 SOLR-6968: New 'cardinality' option for stats.field, uses HyperLogLog to efficiently estimate the cardinality of a field w/bounded RAM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678245 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 17:58:58 +00:00
Chris M. Hostetter 6e14814eaa SOLR-4392: revert r1678195 which breaks forbidden-api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678242 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 17:44:44 +00:00
Noble Paul d8b66aa10c SOLR-6220: renamed tag names disk to freedisk, and the system property prefix to sysprop.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678222 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 14:41:35 +00:00
Noble Paul 32d8a07281 SOLR-7502: start script should not try to create config set for .system collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678208 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 13:53:57 +00:00
Noble Paul 3e20086499 SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678195 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 13:33:23 +00:00
Adrien Grand be399a96d5 LUCENE-6463: Share more logic between approximated queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678181 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 12:39:20 +00:00
Anshum Gupta 2cec2feec8 SOLR-7500: Remove pathPrefix from SolrDispatchFilter as Solr no longer runs as a part of a bigger webapp.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678082 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 19:57:47 +00:00
Anshum Gupta 1276be5967 SOLR-7484: Cleaning up redundant switch cases from the code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678071 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 19:30:07 +00:00
Timothy Potter 74ebcfd134 SOLR-6878: support adding symmetric synonym lists using the managed synonym API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677923 13f79535-47bb-0310-9956-ffa450edef68
2015-05-06 05:18:47 +00:00
Anshum Gupta 09f3cf8680 SOLR-7484: Refactor SolrDispatchFilter to extract all Solr specific implementation detail to HttpSolrCall and also extract methods from within the current SDF.doFilter(..) logic making things easier to manage. HttpSolrCall converts the processing to a 3-step process i.e. Construct, Init, and Call so the context of the request would be available after Init and before the actual call operation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677644 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 18:07:35 +00:00
Anshum Gupta ec1b05188f SOLR-6220: Fix javadocs for precommit to pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677642 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 17:52:55 +00:00
Noble Paul ed975f1577 SOLR-6220: use closeable in try block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677635 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 16:46:43 +00:00
Anshum Gupta 1ed601dfed SOLR-6220: Fixes forbidden method invocation String#getBytes() in RuleEngineTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677622 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 16:10:22 +00:00
Noble Paul 7a771c84a2 SOLR-6220: Rule Based Replica Assignment during collection creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677607 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 14:40:05 +00:00
Yonik Seeley cc371b4cdf SOLR-7494: fix unique() function for high cardinality fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677091 13f79535-47bb-0310-9956-ffa450edef68
2015-05-01 02:15:02 +00:00
Yonik Seeley 89b84f7f46 SOLR-7477: fix test to process empty buckets for distrib search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677011 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 15:12:31 +00:00
Yonik Seeley 7736e49b3e SOLR-7477: more tests for excludeTags
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676945 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 10:06:07 +00:00
Shalin Shekhar Mangar fd769b3b7f Reduce redundancy in assert and log more information to help in debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676936 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 09:26:56 +00:00
Yonik Seeley da36d92056 tests: fix intermittent failure in TestJsonFacets.testComplex
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676786 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 16:35:00 +00:00
Yonik Seeley 0d1c739cd8 SOLR-7477: tests - processEmpty buckets to try and get distrib counts to match
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676763 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 14:51:08 +00:00
Yonik Seeley ecc3a5a786 SOLR-7477: implement facet excludeTags
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676743 13f79535-47bb-0310-9956-ffa450edef68
2015-04-29 13:28:33 +00:00
Adrien Grand 701b7ddf3a LUCENE-6427: Added assertion about the presence of ghost bits in (Fixed|Long)BitSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676617 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 20:37:15 +00:00
David Wayne Smiley 736a9b6934 LUCENE-6445: Highlighter TokenSources simplification
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676540 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 14:11:54 +00:00
Mark Robert Miller 3b868b3897 SOLR-7359: Add additional testing for FSHDFSUtils#recoverFileLease.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676531 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 13:36:02 +00:00
Mark Robert Miller 4809642e63 SOLR-7437: Make HDFS transaction log replication factor configurable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676520 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 12:48:44 +00:00
Mark Robert Miller b70ecaa3fd SOLR-7478: UpdateLog#close shuts down it's executor with interrupts before running it's close logic, possibly preventing a clean close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676501 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 11:50:11 +00:00
Yonik Seeley 921b4aeeee SOLR-7480: private doAdd should be protected in AtomicUpdateDocumentMerger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676399 13f79535-47bb-0310-9956-ffa450edef68
2015-04-28 01:53:58 +00:00
Chris M. Hostetter 3c1130402a SOLR-7470: Fix sample data to eliminate file order dependency for successful indexing, also fixed SolrCloudExampleTest to help catch this in the future
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676337 13f79535-47bb-0310-9956-ffa450edef68
2015-04-27 17:09:26 +00:00
Mark Robert Miller b5532c68ab SOLR-7457: Make DirectoryFactory publishing MBeanInfo extensible.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 22:12:59 +00:00
Yonik Seeley 62ee80ad89 SOLR-7473: implement facet range mincount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676107 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 14:16:49 +00:00
Mark Robert Miller 3862c52b58 SOLR-7425: Improve MDC based logging format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676103 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 13:22:07 +00:00
Yonik Seeley 4ebb2a4b1d SOLR-7446: refactor range faceting to use slots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676077 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 01:14:47 +00:00
Ramkumar Aiyengar 0c7715812e SOLR-5213: Log when shard splitting unexpectedly leads to documents going to zero or multiple sub-shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676075 13f79535-47bb-0310-9956-ffa450edef68
2015-04-26 00:06:08 +00:00
Mark Robert Miller 40dda65fb2 SOLR-7391: Use a time based expiration cache for one off HDFS FileSystem instances.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676070 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 21:02:37 +00:00
Yonik Seeley 87fa97760e SOLR-7446: refactor range faceting to create range list first
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676066 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 20:35:03 +00:00
Mark Robert Miller 3aff74f937 SOLR-7118: Raise fail tolerance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1676062 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 20:01:21 +00:00
Tomas Eduardo Fernandez Lobbe 7e4c096642 SOLR-7471: Stop requiring docValues for interval faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675994 13f79535-47bb-0310-9956-ffa450edef68
2015-04-25 05:07:06 +00:00
Mark Robert Miller ed9e1fc1b5 SOLR-7311: Add some infrastructure and tests to make sure Solr works well in the face of Name Node high availability and failover.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675883 13f79535-47bb-0310-9956-ffa450edef68
2015-04-24 15:08:11 +00:00
Yonik Seeley 558d85f892 SOLR-7387: fix distrib terms facet sorting buckets by min,max,avg,unique
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675707 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:35:09 +00:00
Tomas Eduardo Fernandez Lobbe 68ac99b511 SOLR-7406: Add facet.range.method parameter with options 'filter' and 'dv' for range faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675706 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:27:34 +00:00
Noble Paul 551562bed6 SOLR-7157: initParams must support tags other than appends, defaults and, invariants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675591 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:34:35 +00:00
Ramkumar Aiyengar 852e04e3d0 SOLR-7081: TestMiniSolrCloudCluster.testBasics tidies up after itself, adds collection create/delete/create test case.
TestMiniSolrCloudCluster.testBasics now re-creates the server it removed for test purposes,
thus restoring the original NUM_SERVERS count. TestMiniSolrCloudCluster.testBasics now also deletes
the collection it created for test purposes (this revision adds MiniSolrCloudCluster.deleteCollection
and AbstractDistribZkTestBase.waitForCollectionToDisappear methods).

Sometimes TestMiniSolrCloudCluster.testBasics runs its create-collection/search-collection/delete-collection
logic twice, thus creating a create/delete/create-collection test case.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675590 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 12:29:52 +00:00
David Wayne Smiley 9d1c2019a8 LUCENE-6422: New spatial PackedQuadPrefixTree. Thanks Nick!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675538 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 04:08:31 +00:00
Yonik Seeley dd68aaf7e0 tests: test date docvalues w/ json facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 19:19:52 +00:00
Yonik Seeley a02b9a08a1 SOLR-7417: implement unique() for numeric fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675427 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 17:22:27 +00:00
Noble Paul 8c5fcd1ff6 SOLR-7176: zkcli script can perfrom the CLUSTERPROP command without a running Solr cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675331 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:12:33 +00:00
Shai Erera 5afa59c004 SOLR-7408: Let SolrCore be the only thing which registers/unregisters a config directory listener
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675274 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 08:25:26 +00:00
Shalin Shekhar Mangar 3c1c7279dc SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675258 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 04:25:13 +00:00
Yonik Seeley f8025175d5 SOLR-7443: Implement range faceting over date fields in facet module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675246 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 02:23:09 +00:00
Anshum Gupta 2482af467d SOLR-7418: Check and raise a SolrException instead of an NPE when an invalid doc id is sent to the MLTQParser in Cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675230 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 00:09:33 +00:00
Adrien Grand c6821e1a19 LUCENE-6446: Simplified Explanation API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675109 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 12:55:41 +00:00
Shalin Shekhar Mangar 2aed77e893 SOLR-6665: Add AwaitsFix annotation to the new test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675067 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 09:04:17 +00:00
Shalin Shekhar Mangar 9eae452cfb SOLR-6665: ZkController.publishAndWaitForDownStates can return before all local cores are marked as 'down' if multiple replicas with the same core name exist in the cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675030 13f79535-47bb-0310-9956-ffa450edef68
2015-04-21 05:49:39 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Steven Rowe 0bc9c7821d SOLR-7419: document intentional overflow in SolrQueryTimeoutImpl thread local
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674866 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 14:25:52 +00:00
Shalin Shekhar Mangar da1cd63a22 SOLR-7421: RecoveryAfterSoftCommitTest fails frequently on Jenkins due to full index replication taking longer than 30 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674733 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 04:44:02 +00:00
Mark Robert Miller ea83cc6678 SOLR-7426: SolrConfig#getConfigOverlay does not clean up it's resources.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674666 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 18:44:21 +00:00
Yonik Seeley 3b94724907 SOLR-7422: "type" param for JSON Facet API for flatter structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674519 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:27:26 +00:00
Timothy Potter beea9c2733 SOLR-7421: Marking test as a BadApple for now until we can figure out what is causing replication to take so long for a small index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674512 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 14:11:26 +00:00
Shalin Shekhar Mangar e541bccd45 SOLR-7420: Overseer stats are not reset on loss of ZK connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674458 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 08:42:57 +00:00
Shalin Shekhar Mangar 8573f64b9c SOLR-6087: SolrIndexSearcher makes no DelegatingCollector.finish() call when IndexSearcher throws an expected exception. This closes #57.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674443 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 04:43:19 +00:00
Shalin Shekhar Mangar f258d2f9d4 SOLR-6886: Removed redundant size check and added missing calls to DelegatingCollection.finish inside Grouping code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674430 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 03:32:36 +00:00
Tomas Eduardo Fernandez Lobbe 61bdfdd635 SOLR-7412: Fixed range.facet.other parameter for distributed requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674182 13f79535-47bb-0310-9956-ffa450edef68
2015-04-17 01:35:30 +00:00
Yonik Seeley 4e73212034 SOLR-7411: fix threadsafety bug in SearchHandler introduced in SOLR-7380
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674163 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 22:47:11 +00:00
Adrien Grand f4c0546567 LUCENE-6425: Replaced Query.extractTerms with Weight.extractTerms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674091 13f79535-47bb-0310-9956-ffa450edef68
2015-04-16 15:14:35 +00:00
Shai Erera dee02e6151 SOLR-7401: fix copy/paste bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673888 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 17:33:48 +00:00
Shai Erera 86b191c550 SOLR-7401: fixed NPE when concurrently creating and deleting collections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 15:05:06 +00:00
Tommaso Teofili 06a1248a4d SOLR-7376 - adjusted RawValueTransformerFactoryimpl to use StorableField#stringValue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673731 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 11:29:02 +00:00
Tommaso Teofili 4187f7c507 SOLR-7376 - commented code using old IndexableField API, just using Object#toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673665 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 07:14:49 +00:00
Ryan McKinley 6e96326e20 Merged revision(s) 1673654 from lucene/dev/branches/branch_5x:
SOLR-7376: adding missing files
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673655 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 06:15:20 +00:00
Ryan McKinley 63edfb11c6 Merged revision(s) 1673647 from lucene/dev/branches/branch_5x:
SOLR-7376: Return raw XML or JSON
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673649 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 04:57:39 +00:00
Shalin Shekhar Mangar 382f9e45e0 SOLR-7381: MDC keys are now exposed in thread names automatically so that a thread dump can give hints on what the thread was doing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673469 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 17:03:38 +00:00
Varun Thacker 71fca8a60d SOLR-6637: improve CHANGES entry + fix wrong usage of path in snapshooter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673420 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 13:15:49 +00:00
Shalin Shekhar Mangar 293efe55c1 SOLR-7381: Set node name in MDC inside ZkController as soon as we discover it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673411 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 11:45:20 +00:00
Noble Paul bdefedfa42 Do not throw cached Exception, create new
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673364 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:34:29 +00:00
Noble Paul e666070542 Reduce logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673362 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:26:11 +00:00
Shalin Shekhar Mangar 53c80b10cf SOLR-7385: The clusterstatus API now returns the config set used to create a collection inside a 'configName' key
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673360 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:25:12 +00:00
Shalin Shekhar Mangar 0e54a26d18 SOLR-7372: Enable maxRamMB to be configured via the Config APIs on filterCache and queryResultCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673358 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 05:12:52 +00:00
David Wayne Smiley 99e12a9ea3 SOLR-6692: highlighter refactorings...
* extract method getDocPrefetchFieldNames
 * trim field names in getHighlightFields instead of later on
 * lazy-create FVH (could be expensive for wildcard queries)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673328 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 01:04:00 +00:00
David Wayne Smiley f295b3a890 SOLR-6692: Highlighter NPE bugfix when highlight nonexistent field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673281 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 21:11:40 +00:00
Shalin Shekhar Mangar dfba8c322b SOLR-7384: Disable the failing tests until the root cause is fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673262 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 19:04:55 +00:00
David Wayne Smiley 414b1ea098 SOLR-6692: When using hl.maxMultiValuedToMatch with hl.preserveMulti, only count matched snippets.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673216 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:53:56 +00:00
David Wayne Smiley f5071289e7 SOLR-6692: hl.maxAnalyzedChars should apply cumulatively on a multi-valued field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673200 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:08:07 +00:00
David Wayne Smiley c6482c1488 SOLR-6692: Don't round highlight fragment scores for ordering purposes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673185 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:48:57 +00:00
David Wayne Smiley 0a0dcefb95 SOLR-6692: Made standard highlighter more extensible
Private methods are now protected, removed bad constructor, and refactored out getFieldValues() and getResponseForFragments() for both clarity and sub-class extension utility.  Some refactoring of doHighlightingByHighlighter to clarify logic.  These changes should have ZERO effect on highlights.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673183 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:35:35 +00:00
Shalin Shekhar Mangar 4a4d96600a SOLR-7384: Fix spurious failures in FullSolrCloudDistribCmdsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673176 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 13:05:34 +00:00
Noble Paul 185f8ea2c6 SOLR-7110: Optimize JavaBinCodec to minimize string Object creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673149 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 10:32:04 +00:00
Shalin Shekhar Mangar 2c9ae41b78 SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Noble Paul 9ba13dea31 SOLR-7380: SearchHandler should not try to load runtime components in inform()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673007 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 13:24:23 +00:00
Shalin Shekhar Mangar b3660ae4ed SOLR-7362: Added @BadApple annotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672991 13f79535-47bb-0310-9956-ffa450edef68
2015-04-12 08:41:31 +00:00
Shalin Shekhar Mangar 1e21a487d1 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672828 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 05:14:40 +00:00
Shalin Shekhar Mangar a382e6f61f SOLR-7372: Limit memory consumed by LRUCache with a new 'maxRamMB' config parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672811 13f79535-47bb-0310-9956-ffa450edef68
2015-04-11 04:23:31 +00:00
Michael McCandless 249d0d25fe LUCENE-5989: allow passing BytesRef to StringField to make it easier to index arbitrary binary tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672781 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 22:24:46 +00:00