Commit Graph

5015 Commits

Author SHA1 Message Date
Alan Woodward f22b1da261 SOLR-9604,SOLR-9608: Ensure SSL connections are re-used
Fix ConnectionReuseTest. Add coverage for all SolrClients.
Remove explicit cacheKey for HttpRequestContext, make it singleton.
2016-10-09 08:06:09 +03:00
Kevin Risden 6aa28bd655 SOLR-8385: Narrow StreamFactory.withFunctionName clazz parameter to prevent misconfiguration 2016-10-07 08:24:02 -05:00
Adrien Grand fb088817eb LUCENE-7479: SimpleText should directly implement the new doc values APIs. 2016-10-07 10:59:11 +02:00
Kevin Risden 87bad09560 SOLR-9146: Parallel SQL engine should support >, >=, <, <=, <>, != syntax 2016-10-06 13:09:53 -05:00
markrmiller ce22c2697c SOLR-9470: Index replication interactions with IndexWriter can cause deadlock. 2016-10-06 11:31:30 -04:00
Alan Woodward 36b3b0884a Revert "SOLR-9604: Ensure SSL connections are re-used"
This reverts commit 0eb6b1c823, which was
causing test failures in ConnectionReuseTest - see SOLR-9608
2016-10-05 20:49:14 +01:00
yonik cae6b49a06 SOLR-9592: use correct leaf reader rather than top-level reader in SolrIndexReaderm.decorateDocValues 2016-10-05 15:10:29 -04:00
Mike McCandless 001a3ca55b LUCENE-7407: speed up iterating norms a bit by having default codec implement the iterator directly 2016-10-05 14:18:55 -04:00
Alan Woodward 0eb6b1c823 SOLR-9604: Ensure SSL connections are re-used 2016-10-05 15:36:16 +01:00
Alan Woodward d398617be8 SOLR-9132: RulesTest must tear down collections at the end of each test 2016-10-05 15:19:22 +01:00
Alan Woodward 58031fd449 SOLR-9563: Collection creation can fail if a node doesn't update its state quickly enough 2016-10-04 13:48:20 +01:00
Alan Woodward 3bcecd9e55 SOLR-9132: Mark MigrateRouteKey test as slow 2016-10-04 11:55:10 +01:00
Alan Woodward a9dab0f25a SOLR-9132: Migrate some more tests 2016-10-04 10:32:47 +01:00
Adrien Grand 32446e9205 LUCENE-7453: Create a Lucene70Codec. 2016-10-04 10:50:34 +02:00
Noble Paul 3a76ef1193 SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 00:19:20 +05:30
Alexandre Rafalovitch 6f6bb08782 SOLR-6677: queryConverter message is now at TRACE 2016-10-03 16:05:05 +07:00
Mikhail Khludnev cc4c780227 SOLR-9554: clear statics to fix the test failure 2016-10-03 10:19:20 +03:00
Mikhail Khludnev 67a9d3a44f SOLR-9554: adding a test for concurrent schema upgrade in cloud. 2016-10-02 18:24:33 +03:00
Alan Woodward fdd5d3cc79 Remove unused import 2016-10-01 08:54:02 +01:00
Shalin Shekhar Mangar 7a8ff69316 SOLR-5041: Add a test to make sure that a leader always recovers from log on startup 2016-09-30 20:00:01 +05:30
Christine Poerschke 08a5951adf Correct TransformerFactory.defaultFactories initialCapacity. (Diego Ceccarelli via Christine Poerschke) 2016-09-30 13:51:02 +01:00
Christine Poerschke dbc29c0adc SOLR-9574: Factor out AbstractReRankQuery from ReRankQParserPlugin's private ReRankQuery. 2016-09-30 13:47:27 +01:00
Christine Poerschke ff359248b3 In AddUpdateCommand remove one unused local and the getSchema.getUniqueKeyField method call that initialises it. 2016-09-30 13:47:27 +01:00
Christine Poerschke fe1b290e40 Removes some unused locals in solr/core request and response packages. 2016-09-30 13:47:27 +01:00
Alan Woodward ef747c8445 SOLR-9556: Exit failover thread on interrupt 2016-09-30 09:05:43 +01:00
Mikhail Khludnev 64b0c91df1 SOLR-9554: fix NullPointerException when cores move schema.xml to
managed-schema concurrently. No new test added yet.
2016-09-30 08:03:20 +03:00
Joel Bernstein 8f00bcb1a0 SOLR-9258: Fix precommit 2016-09-29 18:03:26 -04:00
Joel Bernstein 9cd6437d4b SOLR-9258: Optimizing, storing and deploying AI models with Streaming Expressions 2016-09-29 18:03:26 -04:00
mikemccand 7d13f3ecd2 SOLR-9582: reset lastDocID when switching to a new LeafReader 2016-09-29 21:24:13 +02:00
Noble Paul 063d624cdc SOLR-8146: refactored the replica rules classes so that they can be accessed from SolrJ 2016-09-29 19:39:33 +05:30
Shalin Shekhar Mangar ce24de5cd6 SOLR-9504: A replica with an empty index becomes the leader even when other more qualified replicas are in line 2016-09-29 17:08:22 +05:30
Noble Paul 8ce52cf2b1 SOLR-8995: use lambdas for CoreCloseListener 2016-09-29 11:38:00 +05:30
Noble Paul e8767daa7b SOLR-8995: use lambdas for CoreCloseListener 2016-09-29 11:33:22 +05:30
Noble Paul 5c5c0c93ae SOLR-9576: Make FieldAnalysisRequestHandler, DocumentAnalysisRequestHandler & DumpRequestHandler implicit 2016-09-28 20:04:04 +05:30
Noble Paul 7afa220e48 avoid unnecessary map creation 2016-09-28 11:35:42 +05:30
Noble Paul 09890f7f93 SOLR-9572: config API to show expanded useParams for request handlers inline 2016-09-28 11:30:03 +05:30
Steve Rowe 9f35a6b829 SOLR-9411: Better validation for Schema API add-field 2016-09-27 18:16:55 -04:00
Christine Poerschke a84d9a5d69 In ConfigSetProperties use unintentionally unused local (objectClass). 2016-09-27 12:18:22 +01:00
Christine Poerschke 85603b0eca Remove unused local (targetShard) in SliceMutator. 2016-09-27 12:18:22 +01:00
Christine Poerschke 1d2be1df7b SOLR-9567: Make ReRankQParserPlugin's private ReRankCollector a public class of its own. (Christine Poerschke) 2016-09-27 12:18:22 +01:00
Alan Woodward 59c1071346 SOLR-6677: More log noise reduction 2016-09-27 12:01:42 +01:00
Jan Høydahl 8046fe29e5 SOLR-9411: Better validation of dynamic field for Schema API 2016-09-27 12:17:38 +02:00
Jan Høydahl c1553c20f0 SOLR-9548: Print full solr-impl version for SNAPSHOT builds 2016-09-26 23:22:49 +02:00
Noble Paul 208e2bc66f SOLR-9557: optimize splitsmart 2016-09-26 22:57:09 +05:30
Christine Poerschke 7a6567e4a6 TestSmileRequest to import response.SmileWriterTest instead of (deprecated) request.SmileWriterTest predecessor. Then remove (three) deprecated/relocated tests. (Follow-ons from SOLR-9538 itself.) 2016-09-26 13:38:26 +01:00
Christine Poerschke a8f4ef02ed SOLR-9543: reduce code duplication in ReRankQParserPlugin.ReRankCollector.topDocs (part 2 of 2) 2016-09-26 13:38:26 +01:00
Alan Woodward be4233cb56 SOLR-9132: Cut over DeleteReplica tests
Also fixes some bugs in CollectionAdminRequest.DeleteReplica from SOLR-9319
2016-09-26 13:15:14 +01:00
Noble Paul 691472c0f0 SOLR-9557: Every implicit requesthandler now has a default 'useParams' attribute 2016-09-26 17:00:17 +05:30
Alan Woodward 6687244667 SOLR-9486: Fix race in AutoCommitTest 2016-09-26 10:31:10 +01:00
Alan Woodward 255bf895b3 SOLR-6677: Some more logging moves from INFO to DEBUG 2016-09-26 10:22:34 +01:00
Jan Høydahl 4c7a8c4b81 SOLR-9548: The beginning of solr.log now starts with a more informative welcome message 2016-09-26 11:02:20 +02:00
Christine Poerschke ef5da9705d SOLR-9551: Add JSONWriter constructor variant, JSONWriterTest.testConstantsUnchanged test. (Jonny Marks, Christine Poerschke) 2016-09-23 13:42:54 +01:00
Christine Poerschke a9eb64e427 SOLR-9543: reduce code duplication in ReRankQParserPlugin.ReRankCollector.topDocs (part 1 of 2) 2016-09-23 13:41:36 +01:00
Shalin Shekhar Mangar 3eb0f7c792 SOLR-6090: Remove unreachable printLayout usage in cloud tests 2016-09-23 18:07:33 +05:30
Mikhail Khludnev b50b9106f8 SOLR-9330: Fix AlreadyClosedException on admin/mbeans?stats=true 2016-09-23 07:48:19 +03:00
Jan Høydahl bede7aefa3 SOLR-9534: Fix test failures related to nullpointer when printing core name in logs. 2016-09-22 23:31:28 +02:00
Jan Høydahl 73c2edddf0 SOLR-9534: You can now set Solr's log level through environment variable SOLR_LOG_LEVEL and -q and -v options to bin/solr 2016-09-22 21:05:28 +02:00
Noble Paul 5183b67e94 Merge remote-tracking branch 'origin/master' 2016-09-22 23:31:42 +05:30
Noble Paul 5acbcac274 SOLR-9542: Kerberos delegation tokens requires Jackson library 2016-09-22 23:30:02 +05:30
Dennis Gove 6365920a0e SOLR-8487: Adds CommitStream to support sending commits to a collection being updated 2016-09-22 13:07:01 -04:00
Jan Høydahl f391d57075 SOLR-6677: Reduced logging during Solr startup, moved more logs to DEBUG level 2016-09-22 17:04:01 +02:00
Alan Woodward c55a14e198 SOLR-9544: Give ObjectReleaseTracker more time for async closing objects 2016-09-22 14:02:06 +01:00
Alan Woodward a41dd86e3c SOLR-9305, SOLR-9390: *really* dont' use directToLeaders 2016-09-22 13:21:36 +01:00
Joel 75e69c5198 SOLR-9549: Fix bug in advancing docValues 2016-09-22 08:05:47 -04:00
Jan Høydahl eabb05f7fd SOLR-8186: Added robustness to the dynamic log muting logic 2016-09-22 13:37:13 +02:00
Noble Paul a9f82a1b45 SOLR-8995: precommit errors 2016-09-22 16:43:01 +05:30
Noble Paul 262a3ac5c5 SOLR-8995: Use lamdas in URPs 2016-09-22 15:32:24 +05:30
Noble Paul 80336a278a SOLR-8995: Use lamdas in URPs 2016-09-22 15:31:39 +05:30
Alan Woodward a002aa5248 SOLR-5563: Quieten down SolrCloud logging 2016-09-22 09:42:38 +01:00
Dawid Weiss 9e09045a4c SOLR-8186: suppress log4j access warnings. 2016-09-22 09:51:11 +02:00
Jan Høydahl 2ef34e9e24 SOLR-8186: Solr start scripts, only log to console when running in foreground 2016-09-22 01:18:27 +02:00
Noble Paul 15cee3141c SOLR-9446: Leader failure after creating a freshly replicated index can send nodes into recovery even if index was not changed 2016-09-21 23:55:59 +05:30
Mike McCandless f7aa200d40 LUCENE-7407: switch doc values usage to an iterator API, based on DocIdSetIterator, instead of random acces, freeing codecs for future improvements 2016-09-21 09:41:41 -04:00
Christine Poerschke 93bc88d966 SOLR-9538: Relocate (BinaryResponse|JSON|Smile)Writer tests to org.apache.solr.response which is the package of the classes they test. (Jonny Marks via Christine Poerschke) 2016-09-21 11:50:35 +01:00
Alan Woodward d326adc8bf SOLR-9305, SOLR-9390: Don't use directToLeaders updates in partition tests (see SOLR-9512) 2016-09-21 10:57:59 +01:00
Noble Paul afc57347b4 SOLR-9524: SolrIndexSearcher.getIndexFingerprint uses dubious synchronization 2016-09-21 11:29:53 +05:30
Noble Paul 1e18c12c19 SOLR-9502: ResponseWriters should natively support MapSerializable 2016-09-19 17:45:17 +05:30
Noble Paul 286b35b020 SOLR-9523: Refactor CoreAdminOperation into smaller classes 2016-09-17 13:04:31 +05:30
Alan Woodward 5610fd9df2 SOLR-9507: Correctly set MDC values for CoreContainer threads 2016-09-16 13:33:07 +01:00
Shalin Shekhar Mangar 70fd627ca7 SOLR-9484: The modify collection API should wait for the modified properties to show up in the cluster state 2016-09-15 11:04:48 +05:30
Noble Paul 5b770b56d0 Extract out the ExclusiveSliceProperty as a top level class 2016-09-14 12:44:34 +05:30
Noble Paul 652065e14e Merge remote-tracking branch 'origin/master' 2016-09-13 17:19:33 +05:30
Noble Paul 73d4b73042 SOLR-9485:Indexfingerprint.fromObject() returns wrong values if object passed was itself of type IndexFingerprint 2016-09-13 17:19:12 +05:30
Varun Thacker ef3057e43b SOLR-9408: Fix TreeMergeOutputFormat to add timestamp metadata to commits 2016-09-13 10:49:27 +05:30
Shalin Shekhar Mangar 3fe1486683 SOLR-9365: Reduce noise in solr logs during graceful shutdown 2016-09-13 00:36:12 +05:30
Uwe Schindler b39fcc1202 LUCENE-7318: Forward port some changes (add StopFilter and LowercaseFilter at their original location) 2016-09-12 20:11:30 +02:00
Shalin Shekhar Mangar f177a660f5 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 2016-09-12 17:00:46 +05:30
David Smiley d2fcc3dd71 SOLR-9494: CollapseQParser's collectors should override needsScores(); can trigger exceptions
Also, field cscore was not needed.
2016-09-11 14:29:26 -04:00
Chris Hostetter 60ce8d7c54 SOLR-9490: Fixed bugs in BoolField that caused it to erroneously return "false" for all docs depending on usage 2016-09-09 11:45:09 -07:00
Alan Woodward 003a346d50 SOLR-9344: Don't reuse port in BasicAuthIntegrationTest 2016-09-09 09:02:49 +01:00
Shalin Shekhar Mangar 0c5c0df6bc SOLR-9488: Shard split can fail to write commit data on shutdown/restart causing replicas to recover without replicating the index 2016-09-07 21:06:50 +05:30
Alan Woodward ce84a8df12 Improve error message to help debug test failures 2016-09-07 11:10:28 +01:00
Alan Woodward ea85acd7c5 SOLR-8181: Remove flaky and redundant TestArbitraryIndexDir 2016-09-07 09:19:09 +01:00
Alan Woodward d0d893e104 SOLR-9344: Move BasicAuthIntegrationTest to SolrCloudTestCase 2016-09-07 08:31:08 +01:00
Alan Woodward a79a8edbb4 SOLR-9469: Allow JettySolrRunner to restart using a different port 2016-09-06 13:33:36 +01:00
Alan Woodward 6390e22e74 SOLR-8961: Add a test-the-tests module for solr-test-framework 2016-09-06 13:33:36 +01:00
Noble Paul 1a61fb6858 SOLR-9127: Excel workbook (.xlsx) response writer. use 'wt=xlsx' 2016-09-06 13:22:18 +05:30
Mikhail Khludnev 9ac5c1cf14 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:54:50 +03:00
Uwe Schindler e026ac4fe5 SOLR-9460: Fully fix test setup 2016-09-03 20:30:30 +02:00
Uwe Schindler 62f8b8d02a SOLR-9460: Disable test that does not work with Windows 2016-09-03 10:48:01 +02:00