Commit Graph

2312 Commits

Author SHA1 Message Date
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
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
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
Shalin Shekhar Mangar e699256bbb SOLR-7381: Uncaught exceptions thrown by tasks in the pool are logged along with submitter's stack trace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674593 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 03:48:22 +00:00
Ramkumar Aiyengar 19e25c78b6 SOLR-7392: Fix SOLR_JAVA_MEM and SOLR_OPTS customizations in solr.in.sh being ignored
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674565 13f79535-47bb-0310-9956-ffa450edef68
2015-04-18 19:13:00 +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
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
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
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 a64266193a SOLR-7381: Usages of Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as ThreadPoolExecutor directly is now forbidden in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673372 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:50:52 +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
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
Timothy Potter c12f09faaf Align CHANGES.txt with 5.1.0 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673215 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 14:52:01 +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 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 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
Jan Høydahl de61fa6f3c SOLR-7369: AngularJS UI insufficient URLDecoding in cloud/tree view
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672637 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 12:59:03 +00:00
Shalin Shekhar Mangar 32c78bc382 SOLR-7371: Make DocSet implement Accountable to estimate memory usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672391 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:10:17 +00:00
Mark Robert Miller 64ed335455 SOLR-7370: FSHDFSUtils#recoverFileLease tries to recover the lease every one second after the first four second wait.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672379 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:56:26 +00:00
Steven Rowe 4c83c2200c SOLR-7366: fix regression in ManagedIndexSchema's handling of ResourceLoaderAware objects used by field types, causing example XML docs to not be indexable via bin/post; add a test indexing example docs that fails without the patch and succeeds with it
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672238 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 04:42:30 +00:00
Mark Robert Miller f3d352501a SOLR-7066: autoAddReplicas feature has bug when selecting replacement nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672201 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 21:49:21 +00:00
Shawn Heisey 7e9b7448d1 SOLR-7355: Switch from ConcurrentLinkedHashMap to Caffeine. Trunk-only change, as it requires java 8.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672133 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 18:23:19 +00:00
Varun Thacker fe0ab10d4e SOLR-7358: TestRestoreCore fails in Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671858 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:38:52 +00:00
Timothy Potter a0c4e5186e SOLR-7346: Stored XSS in Admin UI Schema-Browser page and Analysis page
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671580 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 16:49:47 +00:00
Timothy Potter e2bc6dc8ec SOLR-7338: A reloaded core will never register itself as active after a ZK session expiration, also fixes SOLR-6583
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671554 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 15:42:12 +00:00
Erick Erickson 1aaf420958 SOLR-7241: Add document tab support to AngularJS adminUI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671279 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 17:10:48 +00:00
Shai Erera 2d15d935f0 SOLR-7336: Add State enum to Replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671240 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 07:02:20 +00:00
Steven Rowe a4be57c1a1 SOLR-7290: Rename catchall _text field in data_driven_schema_configs to _text_
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671234 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 00:51:43 +00:00
Timothy Potter e8b0fe4193 SOLR-7334: Admin UI does not show Num Docs and Deleted Docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671147 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:03:34 +00:00
Shawn Heisey d5749d6ecc SOLR-6865: Upgrade HttpClient/Core/Mime to 4.4.1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671085 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 15:10:00 +00:00
Varun Thacker 79bf72708b SOLR-6637: Solr should have a way to restore a core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671022 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 09:46:54 +00:00
Timothy Potter f951625286 SOLR-7266: The IgnoreCommitOptimizeUpdateProcessor blocks commit requests from replicas needing to recover.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670678 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:29:42 +00:00
Varun Thacker 4cfac61c6e SOLR-7202: Move CHANGES entry under 5.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670586 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 09:27:45 +00:00
Shai Erera 1becb1c972 SOLR-7325: move CHANGES entry under 5.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670582 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 08:55:23 +00:00
Varun Thacker 335747875d SOLR-7324: Move CHANGES entry under 5.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670571 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 06:59:18 +00:00
Varun Thacker ddfb4d9d00 Fix QueryResponse to deal with the expanded section when using the XMLResponseParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670569 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 06:55:06 +00:00
Shai Erera 208d0c79eb SOLR-7325: Change Slice state into enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670566 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 05:42:47 +00:00
Noble Paul 72e8c75c29 SOLR-6924: The config API forcefully refreshes all replicas in the collection to ensure all are
updated

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 16:18:18 +00:00
Timothy Potter 3cd47b0e19 Add version 5.2.0 to trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670375 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 16:07:01 +00:00
Shawn Heisey 5f5814ce27 SOLR-7319: Revert previous patch, return to discussion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670370 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 15:54:05 +00:00