Commit Graph

4884 Commits

Author SHA1 Message Date
Alan Woodward bae66f7cca SOLR-9305, SOLR-9390: Don't use directToLeaders updates in partition tests (see SOLR-9512) 2016-09-21 10:58:12 +01:00
Noble Paul 7a1e6efa96 SOLR-9524: SolrIndexSearcher.getIndexFingerprint uses dubious synchronization 2016-09-21 11:31:25 +05:30
Noble Paul 1a3bacfc0f SOLR-9502: ResponseWriters should natively support MapSerializable 2016-09-19 17:48:24 +05:30
Noble Paul 924e2da5e3 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-09-17 13:02:32 +05:30
Noble Paul 68d9d97510 SOLR-9523: Refactor CoreAdminOperation into smaller classes 2016-09-17 13:02:09 +05:30
Alan Woodward 8352ff21cd SOLR-9507: Correctly set MDC values for CoreContainer threads 2016-09-16 13:33:51 +01:00
Shalin Shekhar Mangar 34b1f65c4d SOLR-9484: The modify collection API should wait for the modified properties to show up in the cluster state
(cherry picked from commit 70fd627)
2016-09-15 11:05:31 +05:30
Noble Paul 82af82c50f Extract out the ExclusiveSliceProperty as a top level class 2016-09-14 12:43:27 +05:30
Noble Paul da358bafd6 SOLR-9485:Indexfingerprint.fromObject() returns wrong values if object passed was itself of type IndexFingerprint 2016-09-13 17:21:12 +05:30
Varun Thacker 08453fb7f0 SOLR-9408: Fix TreeMergeOutputFormat to add timestamp metadata to commits 2016-09-13 10:51:50 +05:30
Shalin Shekhar Mangar 47a8550208 SOLR-9365: Reduce noise in solr logs during graceful shutdown
(cherry picked from commit 3fe1486)
2016-09-13 00:36:50 +05:30
Uwe Schindler 89f03655e3 LUCENE-7318: Fix backwards compatibility issues around StandardAnalyzer and its components, introduced with Lucene 6.2.0. The moved classes were restored in their original packages: LowercaseFilter and StopFilter, as well as several utility classes 2016-09-12 19:47:28 +02:00
Shalin Shekhar Mangar 1b03c94039 SOLR-9438: Shard split can be marked successful and sub-shard states switched to 'active' even when one or more sub-shards replicas do not recover due to the leader crashing or restarting between the time the replicas are created and before they can recover
(cherry picked from commit f177a66)
2016-09-12 17:08:40 +05:30
Alan Woodward 66a51b76b3 SOLR-9344: Allow multiple HttpClientConfigurers to be set on HttpClientUtil 2016-09-12 09:08:35 +01:00
David Smiley a029c8ede6 SOLR-9494: CollapseQParser's collectors should override needsScores(); can trigger exceptions
Also, field cscore was not needed.

(cherry picked from commit d2fcc3d)
2016-09-11 14:30:38 -04:00
Chris Hostetter d59715f14b SOLR-9490: Fixed bugs in BoolField that caused it to erroneously return "false" for all docs depending on usage
(cherry picked from commit 60ce8d7c54)
2016-09-09 11:58:02 -07:00
Alan Woodward a0dcf389b2 SOLR-9344: Don't reuse port in BasicAuthIntegrationTest 2016-09-09 09:03:37 +01:00
Shalin Shekhar Mangar 7370407d22 SOLR-9488: Shard split can fail to write commit data on shutdown/restart causing replicas to recover without replicating the index
(cherry picked from commit 0c5c0df)
2016-09-07 21:07:57 +05:30
Alan Woodward b4a22a72c3 SOLR-8181: Remove flaky and redundant TestArbitraryIndexDir 2016-09-07 09:19:21 +01:00
Alan Woodward 5b0bf4ab74 SOLR-9344: Move BasicAuthIntegrationTest to SolrCloudTestCase 2016-09-07 09:17:52 +01:00
Alan Woodward 54300e4a9b SOLR-9469: Allow JettySolrRunner to restart using a different port 2016-09-06 13:34:26 +01:00
Alan Woodward d8a2600cc6 SOLR-8961: Add a test-the-tests module for solr-test-framework 2016-09-06 13:34:19 +01:00
Noble Paul 932c436d07 SOLR-9127: Excel workbook (.xlsx) response writer. use 'wt=xlsx' 2016-09-06 13:23:29 +05:30
Mikhail Khludnev c61ee3346c FOLR-5725: test fix for miserable differnce between cloud and non-cloud
facets - when facet.limit=0&facet.missing=true the former responds with
missing counts, but later doesn't.
2016-09-03 23:55:55 +03:00
Mikhail Khludnev ba380500f9 SOLR-5725: facet.exists=true caps counts by 1 to make facet.method=enum
faster.
2016-09-03 08:12:36 +03:00
Noble Paul ced96c5fd5 SOLR-9381: Snitch for freedisk uses '/' instead of 'coreRootDirectory' 2016-09-02 18:00:39 +05:30
Uwe Schindler 8347944378 SOLR-9444: Fix path usage for cloud backup/restore
Merge branch 'SOLR-9444_fix' of https://github.com/hgadre/lucene-solr
This closes #74
2016-09-02 14:17:58 +02:00
Noble Paul 4b8f574418 SOLR-9319: DELETEREPLICA can accept a 'count' and remove appropriate replicas 2016-09-02 09:28:59 +05:30
Noble Paul e0e72e64f2 SOLR-9461: DELETENODE, REPLACENODE should pass down the 'async' param to subcommands 2016-09-01 18:05:40 +05:30
David Smiley 4c97712a60 SOLR-9142: rename FFPByHashNumeric to FFPByHashDV as it's not just for numerics anymore
(cherry picked from commit 6a4184c)
2016-08-31 17:17:15 -04:00
David Smiley 820ba9f868 SOLR-9142: json.facet: new method=dvhash which works on terms. Also:
(1) method=stream now requires you set sort=index asc to work
(2) faceting on numerics with prefix or mincount=0 will give you an error
(3) refactored similar findTopSlots into one common one in FacetFieldProcessor
(4) new DocSet.collectSortedDocSet utility
(cherry picked from commit 7b5df8a)
2016-08-31 17:16:01 -04:00
Shalin Shekhar Mangar 65c2cf3a0a SOLR-9447: Do not clone SolrInputDocument if update processor chain does not contain custom processors.
(cherry picked from commit 26262f4)
2016-08-31 01:20:25 +05:30
Shalin Shekhar Mangar 6bf9513b93 SOLR-9439: The delete shard API has been made more resilient against failures resulting from non-existent cores.
(cherry picked from commit 02b97a2)
2016-08-30 23:45:11 +05:30
Shalin Shekhar Mangar 937439a7a9 SOLR-9455: Deleting a sub-shard in recovery state can mark parent shard as inactive
(cherry picked from commit 2700b95)
2016-08-30 00:02:12 +05:30
markrmiller aaee4c8205 SOLR-9389: HDFS Transaction logs stay open for writes which leaks Xceivers. 2016-08-29 10:03:52 -04:00
Noble Paul b3526c568c SOLR-9188: blockUnknown property makes inter-node communication impossible 2016-08-29 18:38:56 +05:30
Shalin Shekhar Mangar 5a16f15260 SOLR-9374: Speed up Jmx MBean retrieval for FieldCache
(cherry picked from commit b1b933e)
2016-08-28 01:05:33 +05:30
Shalin Shekhar Mangar d4954dad23 SOLR-9445: Removed unused import
(cherry picked from commit 4f316bc)
2016-08-28 00:40:51 +05:30
Shalin Shekhar Mangar 7cf7bfdf0c SOLR-9445: Fix failures in TestLocalFSCloudBackupRestore due to changed code path which return SolrExceptions instead of SolrServerExceptions
(cherry picked from commit df9a642)
2016-08-28 00:40:45 +05:30
Shalin Shekhar Mangar 97b62160e9 SOLR-9439: Shard split clean up logic for older failed splits is faulty
(cherry picked from commit 7d2f42e)
2016-08-27 09:10:44 +05:30
Tomas Fernandez Lobbe 43d03430b9 SOLR-6744: Consider uniqueKey rename when handling shard responses in distributed search 2016-08-26 16:26:21 -07:00
Christine Poerschke cdc317131c SOLR-9436: remove no longer used acceptsDocsOutOfOrder methods (LUCENE-6179 removed out-of-order scoring) 2016-08-26 14:43:25 +01:00
Varun Thacker f6162f3f00 SOLR-7362: Fix TestReqParamsAPI test failures 2016-08-24 14:56:08 +05:30
jbernste f64262ed89 SOLR-9432: Fix-up precommit 2016-08-23 15:40:37 -04:00
jbernste 171f633616 SEARCH-9406: SolrSuggester should selectively register close hook 2016-08-23 15:38:49 -04:00
Noble Paul d9c4c5282a SOLR-9310: addressing the test failures in jenkins 2016-08-23 23:09:05 +05:30
yonik 5d29fd87f1 SOLR-9432: JSON Facet refactoring to support refinement 2016-08-23 12:55:32 -04:00
Noble Paul 5d65656086 SOLR-9310: unhandled exception during parallel indexing 2016-08-23 11:40:31 +05:30
Noble Paul f50ced3c59 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-08-23 00:06:24 +05:30
Noble Paul 0bdbbbfd52 SOLR-9310: fixing concurrency issue and taking care of negative versions 2016-08-22 23:19:23 +05:30
Christine Poerschke c2a8814df2 SOLR-9412: Add failOnMissingParams option to MacroExpander, add TestMacroExpander class. (Jon Dorando, Christine Poerschke) 2016-08-22 12:03:06 +01:00
Noble Paul 9722f006ba Merge remote-tracking branch 'origin/branch_6x' into branch_6x
Conflicts:
	solr/CHANGES.txt
2016-08-22 14:04:59 +05:30
Noble Paul 2af7f5276a SOLR-9310: PeerSync fails on a node restart due to IndexFingerPrint mismatch 2016-08-22 14:03:21 +05:30
Noble Paul 2f73129eda SOLR-9310: PeerSync fails on a node restart due to IndexFingerPrint mismatch 2016-08-22 14:02:16 +05:30
Varun Thacker 141ccdefd0 SOLR-9428: Improve logging to log root cause 2016-08-22 01:09:50 +05:30
Mikhail Khludnev 082f36e012 SOLR-8644: Test asserts that block join facets work with parent level fq exclusions 2016-08-19 16:56:56 +03:00
Mikhail Khludnev 15bfeb6b0c SOLR-8643: made BlockJoinFacetComponent just a shortcut for BlockJoinDocSetFacetComponent, which supports pure disjunctions 2016-08-19 15:27:59 +03:00
Noble Paul 292644f9a5 SOLR-9421: Refactored out OverseerCollectionMessageHandler to smaller classes 2016-08-19 11:12:29 +05:30
Steve Rowe 43aed486a9 drop empty javadoc line 2016-08-18 10:04:09 -04:00
Noble Paul 20a6818f1b Merge remote-tracking branch 'origin/branch_6x' into branch_6x
Conflicts:
	solr/core/src/java/org/apache/solr/update/TransactionLog.java
2016-08-18 16:31:41 +05:30
Noble Paul 8b3822658d SOLR-8995: reverting the previous change due to compile error 2016-08-18 16:31:24 +05:30
Noble Paul 29494f3cce SOLR-8995: Use lambda in PeerSync ObjectResolver 2016-08-18 10:42:12 +05:30
David Smiley dd927dba2a SOLR-9404: Refactor move/renames in JSON FacetProcessor and FacetFieldProcessor.
(cherry picked from commit 7072458)
2016-08-15 23:36:28 -04:00
Christine Poerschke 545734e035 SOLR-9410: Make ReRankQParserPlugin's private ReRankWeight a public class of its own. 2016-08-15 11:33:36 +01:00
Varun Thacker 45f9b6b1ff SOLR-9092: In the deletereplica commandand add a live check before calling delete core 2016-08-13 18:01:44 +05:30
Varun Thacker 5fc35a65c3 SOLR-9320: Improve logging 2016-08-13 16:38:26 +05:30
Christine Poerschke 0252790962 SOLR-9331: Remove ReRankQuery's length constructor argument and member. 2016-08-11 09:51:35 +01:00
Noble Paul 8412af5513 SOLR-8995: Use lambdas for CacheRegenerator implementations 2016-08-11 12:48:21 +05:30
Noble Paul 519be6acf0 SOLR-9320: A REPLACENODE command to decommission an existing node with another new node and SOLR-9318 the DELETENODE command that deletes all replicas in a node 2016-08-11 12:24:06 +05:30
Noble Paul 74b470a7a9 SOLR-9397: Config API does not support adding caches 2016-08-10 20:23:22 +05:30
Chris Hostetter 8ad1a830fb SOLR-9367: Improved TestInjection's randomization logic to use LuceneTestCase.random()
(cherry picked from commit 84a8c098fc)
2016-08-09 14:48:37 -07:00
Christine Poerschke ae80f3ed03 SOLR-9385: remove unused import in SpellCheckComponent.java 2016-08-09 18:45:19 +01:00
Christine Poerschke fc9a010e58 SOLR-9385: Add QParser.getParser(String,SolrQueryRequest) variant. 2016-08-09 15:07:26 +01:00
Chris Hostetter e08d656a15 SOLR-9377: Fix jdocs and test to match expected behavior, workaround SOLR-9396
(cherry picked from commit 1164c17e0e)
2016-08-08 19:48:57 -07:00
David Smiley 91d7b53d9c SOLR-9350: JSON Facet and method=stream: cacheDf threshold now gates use of the filter cache
(cherry picked from commit b63bb51)
2016-08-08 10:38:05 -04:00
Christine Poerschke 812dc1d0b5 SOLR-9353: Factor out ReRankQParserPlugin.ReRankQueryRescorer private class. 2016-08-08 10:21:36 +01:00
Shalin Shekhar Mangar cc3f3e8a8b SOLR-6465: CDCR: fall back to whole-index replication when tlogs are insufficient
(cherry picked from commit 153c270045)
2016-08-08 11:22:50 +05:30
Varun Thacker 9c37aaabe4 SOLR-9242: fix windows path issue + load live cluster properties. This closes #62 2016-08-08 09:18:14 +05:30
Shalin Shekhar Mangar a2993363b5 SOLR-9392: Fixed CDCR Test failures which were due to leaked resources
(cherry picked from commit bfee229)
2016-08-08 07:47:08 +05:30
Chris Hostetter f5ae939bbd SOLR-9314: beef up TestRandomFlRTGCloud
(cherry picked from commit d07f2dd87d)
2016-08-04 09:48:29 -07:00
Noble Paul 74653e9dbf Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-08-04 12:23:24 +05:30
Noble Paul 750bb367d2 SOLR-9179: NPE in IndexSchema using IBM JDK 2016-08-04 12:22:16 +05:30
jbernste 728b4fbcdc SOLR-9252: Pre-commit fixes 2016-08-03 13:37:26 -04:00
jbernste e38d6d535c SOLR-9252: Feature selection and logistic regression on text
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-08-03 13:36:59 -04:00
Chris Hostetter 72750167a2 SOLR-9308: Fix distributed RTG to forward request params, fixes fq and non-default fl params
(cherry picked from commit b3505298a5)

Conflicts:
	solr/core/src/java/org/apache/solr/handler/component/RealTimeGetComponent.java
2016-08-02 12:32:09 -07:00
Gregory Chanan 6cfec0bd7a SOLR-9200: Add Delegation Token Support to Solr 2016-08-02 12:50:49 -04:00
Chris Hostetter c17605b4a9 SOLR-9363: tweak test to work around SOLR-9366 + SOLR-9367 since those issues are not key to what's being tested here
(cherry picked from commit 04321c401c)
2016-08-02 08:50:34 -07:00
David Smiley c434eff828 SOLR-9279: new function queries: gt, gte, lt, lte, eq
Lucene Queries module: new ComparisonBoolFunction base class
(cherry picked from commit d12b93e)
2016-07-28 22:49:18 -04:00
David Smiley 0f26f11f6c SOLR-9269: Snapshots (Solr core level)
(cherry picked from commit b7aa0b5)
2016-07-28 15:01:56 -04:00
Alan Woodward 90e9c76851 SOLR-9346: Always close ZkStateReader 2016-07-27 18:03:48 +01:00
Uwe Schindler 22d24969f5 LUCENE-7395, SOLR-9315: Fix PerFieldSimilarityWrapper to also delegate query norm and coordination factor using a default similarity added as ctor param 2016-07-27 10:06:52 +02:00
Varun Thacker 1244928262 SOLR-9242: Disabling TestLocalFSCloudBackupRestore on Windows till we fix it 2016-07-27 00:14:22 +05:30
Varun Thacker 7b6a16c30b SOLR-9335: Switch Solr cache/search/update stats counters to use LongAdder 2016-07-26 18:28:11 +05:30
Noble Paul 7d388c02b1 SOLR-9310: reverting the variable name change becaause it can break back-compat 2016-07-25 12:30:10 +05:30
Noble Paul 3740156adf SOLR-9310: The variable name is confusing. maxInHash is not a hash 2016-07-25 12:10:49 +05:30
Christine Poerschke 7a4f800388 SOLR-9323: remove unused import (SQLHandler) 2016-07-22 17:18:58 +01:00
Noble Paul d9bbd70ff1 SOLR-9323: Expose ClusterSate.getCollectionStates which returns unverified list of collection names 2016-07-22 13:57:47 +05:30
Noble Paul c627ddc16c SOLR-8995: Use lambdas in CoreAdminHandler 2016-07-21 20:27:11 +05:30
Noble Paul 0ec1c25097 SOLR-8995: Use lambda to simplify CollectionsHandler 2016-07-21 13:20:24 +05:30
Christine Poerschke a4970c8685 SOLR-9275: fix NPE in SolrCoreParser.init 2016-07-20 11:32:47 +01:00