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
Varun Thacker
3464197249
SOLR-6637: can't assume a local filesystem when dealing with paths
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672620 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 11:52:43 +00:00
Ryan McKinley
a2d29b8e12
Merged revision(s) 1672531 from lucene/dev/branches/branch_5x:
...
SOLR-7373: let AbstractSpatialFieldType set the context
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:38:22 +00:00
Ryan McKinley
6bed01b2ae
Merged revision(s) 1672518 from lucene/dev/branches/branch_5x:
...
SOLR-7164: update lucene field also
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672532 13f79535-47bb-0310-9956-ffa450edef68
2015-04-10 03:37:50 +00:00
Yonik Seeley
858718d17a
SOLR-7371: don't cache size for now and tolerate small alignment errors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672421 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 16:52:16 +00:00
Shalin Shekhar Mangar
c400bde439
SOLR-7371: Fix NPE when scores are null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672402 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 15:49:12 +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
Yonik Seeley
d46bed3c32
SOLR-7238: remove buggy SolrQueryRequest.forward
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672369 13f79535-47bb-0310-9956-ffa450edef68
2015-04-09 14:43:02 +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
Michael McCandless
c08d81cc39
LUCENE-6410: remove unused 'reuse' parameter to Terms.iterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672155 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 19:48:07 +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
Alan Woodward
3c0ff1de91
SOLR-1387: Move contains() method to SimpleFacets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672106 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:28:13 +00:00
Timothy Potter
6a5f9aa34e
SOLR-6944: Change to using BadApple annotation on ReplicationFactorTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672101 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 15:16:22 +00:00
Timothy Potter
a986e4099e
SOLR-6944: ReplicationFactorTest continues to fail in most every build
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671997 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 03:03:17 +00:00
Timothy Potter
35f0e80a02
SOLR-6944: see if NoHttpResponse exceptions are due to the socket timeout being set too low in the SocketProxy, change from 10 to 100 seconds
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671861 13f79535-47bb-0310-9956-ffa450edef68
2015-04-07 14:49:56 +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
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
Noble Paul
bb29c9cd2a
SOLR-7168: Close stream aftyer reading it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671481 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 04:51:58 +00:00
Yonik Seeley
56b7843b56
SOLR-7350: fix facet module docvalues support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671472 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 03:16:29 +00:00
Varun Thacker
f7d633a56e
SOLR-6637: Better error handling when retrieving checksums (Fixes Policeman Jenkins Failure #2134 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671400 13f79535-47bb-0310-9956-ffa450edef68
2015-04-05 14:59:02 +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
Ramkumar Aiyengar
796416d43c
Remove unnecessary svn:executable from some files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671175 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 21:56:33 +00:00
Robert Muir
363fc49258
merge trunk up to r1671137
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1671151 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 20:13:06 +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
Robert Muir
5ea36eb992
merge trunk up to r1670923
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670929 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 15:37:39 +00:00
Shalin Shekhar Mangar
658a131002
Log the file name for which checksum can't be read
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670818 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 05:29:22 +00:00
Shalin Shekhar Mangar
26c1920bfc
Fixed comment to match collection setup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670817 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 05:27:54 +00:00
Noble Paul
9baabd177c
SOLR-6615: Refactor code to use String constants
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 04:08:05 +00:00
Noble Paul
b9a883625b
SOLR-7337: ZkController.registerConfListenerForCore should add the dir name it can't find to the message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670808 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 02:00:41 +00:00
Robert Muir
6f70221d21
merge trunk up to r1670679
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670680 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:30:34 +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
Robert Muir
8ba1496a83
merge trunk up to r1670672
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670673 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 15:24:20 +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
Robert Muir
41ba046a93
LUCENE-6271: merge trunk changes up to r1670529
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670533 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 01:10:11 +00:00
Ryan McKinley
33fc7b5046
Merged revision(s) 1670525-1670526 from lucene/dev/branches/branch_5x:
...
SOLR-7331: revert unintentional change
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670527 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:37:43 +00:00
Ryan McKinley
183c5dd933
Merged revision(s) 1670522 from lucene/dev/branches/branch_5x:
...
SOLR-7329: show core in logging UI
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670523 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 00:24:35 +00:00
Varun Thacker
02b8907124
LUCENE-6378: Fix all RuntimeExceptions to throw the underlying root cause
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670453 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 19:54:37 +00:00
Ryan Ernst
0f23c7ef49
LUCENE-6271: fix more nocommits in postings tests and solr uses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670384 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 16:38:50 +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
Varun Thacker
b13658aa5d
SOLR-7324: IndexFetcher does not need to call isIndexStale if full copy is already needed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670359 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 15:04:09 +00:00
Ryan Ernst
05cf3fde0d
LUCENE-6271: sync up with trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene6271@1670257 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 05:22:40 +00:00
Gregory Chanan
21f4106873
SOLR-7272: Use OverseerCollectionProcessor.ROUTER and DocCollection.DOC_ROUTER consistently
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670178 13f79535-47bb-0310-9956-ffa450edef68
2015-03-30 19:07:41 +00:00
Varun Thacker
c7427a2fd1
SOLR-7202: Remove deprecated string action types in Overseer, OverseerCollectionProcessor - deletecollection, createcollection, reloadcollection, removecollection, removeshard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669748 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 11:47:17 +00:00
Noble Paul
1619ebd662
formatting fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669726 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 01:41:50 +00:00
Yonik Seeley
a4274dff9a
SOLR-7214: optimize multi-valued counts-only case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669712 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 00:02:40 +00:00
Noble Paul
e0ff3a6b0c
SOLR-7226: fixed the commented out testcase due to failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669634 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 17:50:14 +00:00
David Wayne Smiley
ef0209189e
SOLR-5911: term vector payload support
...
in schema & TermVectorComponent & LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669492 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 02:01:38 +00:00
Noble Paul
493d3fd2f0
SOLR-7226: adding an experimental warning and removing a check
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669491 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 01:39:08 +00:00
Alan Woodward
dada4c8943
SOLR-7307: Rename test file to make Eclipse happy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669427 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 20:24:24 +00:00
Yonik Seeley
e041664f2a
SOLR-7212: tests - fix package mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669424 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 19:59:40 +00:00
Yonik Seeley
a46dcb70e8
SOLR-7212: tests - fix package mismatch
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669423 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 19:57:00 +00:00
Shalin Shekhar Mangar
58953ff02c
SOLR-6673: Fix NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669374 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 17:33:04 +00:00
Noble Paul
ad913e4013
SOLR-7226: Make /query/* jmx/* , requestDispatcher/*, <listener> <initParams> properties in solrconfig.xml editable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669368 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 16:39:14 +00:00
Yonik Seeley
f2874dd9d3
SOLR-7212: Parameter substitution / macro expansion across entire request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669354 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 15:29:38 +00:00
Alan Woodward
377c53e668
SOLR-1387: Add facet.contains and facet.contains.ignoreCase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669335 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 12:22:50 +00:00
Alan Woodward
5048456a7a
SOLR-7307: Add constructors to EmbeddedSolrServer taking Path or NodeConfig
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669305 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 09:21:01 +00:00
Noble Paul
0656e8ac44
SOLR-6924: removing double listening of nodes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669245 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 00:33:49 +00:00
Shalin Shekhar Mangar
ed325dc91c
SOLR-6673: Log collection, shard, replica, core name for update and search requests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669236 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 21:42:41 +00:00
Noble Paul
f0ea6a662d
Formatting fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669204 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 18:43:13 +00:00
Noble Paul
a14e40d75d
SOLR-6924: conf node listening made more robust to take care of session expiry and reconnect
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669195 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 18:19:44 +00:00
Yonik Seeley
3a8d0c2f38
SOLR-7306: percentiles for new facet module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669189 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 18:02:26 +00:00
Shalin Shekhar Mangar
29c1de0fa8
SOLR-7305: BlendedInfixLookupFactory swallows root IOException when it occurs. This closes #137
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669180 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:41:51 +00:00
Steven Rowe
029b34be9e
SOLR-6141: fix TestBulkSchemaAPI (expected exception message changed)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669173 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:32:30 +00:00
Joel Bernstein
e233f14f82
SOLR-7082: Streaming Aggregation for SolrCloud
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669164 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:17:45 +00:00
Steven Rowe
9b255d6cc4
SOLR-6141: fix TestBulkSchemaConcurrent; fix field deletion to fail when a dynamic copy field directive has the field as its source; don't attempt to decrement a SchemaField's count in copyFieldTargetCounts if it's not present in the map.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669055 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 06:25:24 +00:00
Yonik Seeley
fd3c09a2fc
docs: change facet module name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669029 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 00:28:42 +00:00
Ramkumar Aiyengar
83c0c952b6
SOLR-7291: Test indexing on ZK disconnect with ChaosMonkey tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669026 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 00:03:33 +00:00
Noble Paul
f678ac5d9d
SOLR-6673: MDC based logging of collection, shard, replica, core
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668992 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 21:01:44 +00:00
Yonik Seeley
f1ab009e1f
SOLR-7254: invalid start/rows should throw 400 rather than 500 error code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668976 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 20:05:23 +00:00
Shalin Shekhar Mangar
ad482ef4a5
SOLR-7294: Migrate API fails with 'Invalid status request: notfoundretried 6times' message
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668956 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 19:04:40 +00:00
Varun Thacker
2cba11bfa6
SOLR-7248: In legacyCloud=false mode we should check if the core was hosted on the same node before registering it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668931 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 16:35:30 +00:00
Chris M. Hostetter
5ac2c238cf
SOLR-6350: StatsComponent now supports Percentiles
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668922 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 15:33:19 +00:00
Mark Robert Miller
57b47fed01
SOLR-7134: Replication can still cause index corruption.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668779 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 03:19:37 +00:00
Mark Robert Miller
84adc8604d
SOLR-7289: Tests should not ignore all leaking threads and instead just ignore the known leaking threads.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668771 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:16:13 +00:00
Mark Robert Miller
bb434bfad0
SOLR-6414: HTrace may be used by hdfs client.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668680 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 16:34:27 +00:00
Mark Robert Miller
0476534d96
SOLR-6414: Update to Hadoop 2.6.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668652 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 14:16:33 +00:00
Yonik Seeley
e893b4dd54
tests: clean up statics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668446 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 19:08:44 +00:00
Mark Robert Miller
28abd3f23d
SOLR-7092: Do a little better at clean up in new test code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668412 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 17:12:07 +00:00
Mark Robert Miller
4e01da3843
SOLR-7284: HdfsUpdateLog is using hdfs FileSystem.get without turning off the cache.
...
SOLR-7286: Using HDFS's FileSystem.newInstance does not guarantee a new instance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668411 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 17:09:40 +00:00
Mark Robert Miller
8edc462ec1
SOLR-7141: RecoveryStrategy: Raise time that we wait for any updates from the leader before they saw the recovery state to have finished.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668396 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 16:04:46 +00:00
Yonik Seeley
6fa33cf6f0
tests: clean up statics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668382 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 15:01:13 +00:00
Mark Robert Miller
8e6f93c6ff
SOLR-7285: ActionThrottle will not pause if getNanoTime first returns 0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668370 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 13:44:35 +00:00
Mark Robert Miller
0a8dfe05dc
SOLR-7092: Stop the HDFS lease recovery retries in HdfsTransactionLog on close and try to avoid lease recovery on closed files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668311 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 19:08:53 +00:00
Ramkumar Aiyengar
f15330c32d
SOLR-7245: Temporary ZK election or connection loss should not stall indexing due to LIR
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668274 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 14:13:17 +00:00
Ryan McKinley
54ba78e4de
Merged revision(s) 1668195 from lucene/dev/branches/branch_5x:
...
SOLR-7278: oh my... sorry
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668197 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 05:19:43 +00:00
Yonik Seeley
29053fd238
SOLR-7216: JSON request API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668168 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 22:18:03 +00:00
Ryan McKinley
e2feb7a2e5
Merged revision(s) 1668149 from lucene/dev/branches/branch_5x:
...
SOLR-7278: Make ValueSourceAugmenter easier to extend
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668151 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 21:14:40 +00:00
Shalin Shekhar Mangar
b2046cf20c
SOLR-7162: Remove unused SolrSortField interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668132 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 19:56:42 +00:00
Yonik Seeley
7294349918
change println of core descriptor to log
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668118 13f79535-47bb-0310-9956-ffa450edef68
2015-03-20 19:08:50 +00:00
Yonik Seeley
60f161fd9b
SOLR-7262: fix broken thread safety for request handler registry introduced by SOLR-7073
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667799 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 16:11:36 +00:00
Uwe Schindler
c568473f09
Merged revision(s) 1667784 from lucene/dev/branches/branch_5x:
...
Forward port this fix from the Java 9 bugfix, because the cast was actually wrong.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667794 13f79535-47bb-0310-9956-ffa450edef68
2015-03-19 15:35:53 +00:00
Steven Rowe
7cde848e37
SOLR-6141: fix schema update lock usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667579 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 15:54:47 +00:00
Yonik Seeley
695a0f0af0
SOLR-7217: autodetect POST body for curl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667457 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 05:56:13 +00:00
Yonik Seeley
bf00c1a0a7
SOLR-7259: fix thread safety of lazy loaded plugins
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667431 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 01:53:41 +00:00
Shalin Shekhar Mangar
8d64c08c1a
SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667414 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 21:52:05 +00:00
Noble Paul
fd8a588bc5
fix formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667347 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 16:13:16 +00:00
Noble Paul
4c4d8ee994
fixing formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667339 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 15:54:16 +00:00
Steven Rowe
ff83497b27
SOLR-6141: Schema API: Remove fields, dynamic fields, field types and copy fields; and replace fields, dynamic fields and field types
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667175 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 05:13:36 +00:00
Yonik Seeley
e18c94f1db
tests: clean up static fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667034 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 15:20:19 +00:00
Yonik Seeley
3dc5ed33c5
SOLR-7214: JSON Facet API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666856 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 04:40:23 +00:00
Yonik Seeley
b2698e5fcf
tests: fix request reuse and request close bugs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666834 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 20:06:22 +00:00
Yonik Seeley
f0cc3bfb00
tests: fix request reuse and request close bugs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666830 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 19:40:30 +00:00
Yonik Seeley
1da43c81b3
tests: fix invalid test that assumed reusable request where params would never change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666828 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 19:14:45 +00:00
Shalin Shekhar Mangar
5caf937f26
SOLR-7109: Indexing threads stuck during network partition can put leader into down state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666825 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 18:40:50 +00:00
Yonik Seeley
c7a69e7acc
SOLR-6770: reformat - fix bad indentation and funky formatting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666816 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 17:58:29 +00:00
Ramkumar Aiyengar
7e8f6b7fd1
SOLR-6275: Remove nanoTime speed test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666754 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 21:58:26 +00:00