Commit Graph

4954 Commits

Author SHA1 Message Date
Alan Woodward df09867ccc SOLR-9634: Deprecate create/deleteCollection methods on MiniSolrCloudCluster 2016-10-18 12:32:42 +01:00
Alan Woodward d6dc1321a9 SOLR-9632: Add deleteAllCollections method to MiniSolrCloudCluster 2016-10-18 12:32:10 +01:00
Christine Poerschke 30c9f4311a SOLR-9627: Add QParser.getSortSpec, deprecate misleadingly named QParser.getSort (Judith Silverman, Christine Poerschke) 2016-10-17 18:04:40 -04:00
Hrishikesh Gadre 06ae3eb2ec SOLR-9642: Refactor the snapshot cleanup mechanism to rely on Lucene
The current snapshot cleanup mechanism is based on reference counting
the index files shared between multiple segments. Since this mechanism
completely skips the Lucene APIs, it is not portable (e.g. it doesn't
work on 4.10.x version).

This patch provides an alternate implementation which relies exclusively
on Lucene IndexWriter (+ IndexDeletionPolicy) for cleanup.

mend
2016-10-17 13:57:11 -04:00
Alan Woodward c9eb9e10e4 SOLR-9566: Don't put replicas into recovery when collections are created 2016-10-17 17:19:31 +01:00
Christine Poerschke e87072bc5a SOLR-6203: in QueryComponent rename groupSortStr to sortWithinGroupStr (so that name and meaning match) 2016-10-15 21:13:44 -04:00
Christine Poerschke c620fc2954 SOLR-9625: Add HelloWorldSolrCloudTestCase class (Christine Poerschke, Alan Woodward, Alexandre Rafalovitch) 2016-10-15 10:18:17 -04:00
Jan Høydahl bc5e06e34c SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties
(cherry picked from commit 33db4de)
2016-10-14 23:20:56 +02:00
Dennis Gove edde433594 SOLR-8487: Adds CommitStream to support sending commits to a collection being updated 2016-10-14 11:43:13 -04:00
Dennis Gove 5e6a8e7c75 SOLR-9103: Restore ability for users to add custom Streaming Expressions 2016-10-14 11:35:38 -04:00
Mikhail Khludnev 96e0c2ff48 SOLR-9639: CDCR Tests only fix. Wait until recovery is over before
remove the tmp_colletion.
2016-10-14 14:48:35 +03:00
Jan Høydahl df41706295 SOLR-9610: New AssertTool in SolrCLI for easier cross platform assertions from command line
(cherry picked from commit 6512d0c)
2016-10-12 09:22:53 +02:00
yonik 0375122c8e fix ununsed imports 2016-10-11 21:52:32 -04:00
yonik 5c3b12a407 fix package-before-license nit 2016-10-11 20:48:04 -04:00
yonik 690a78780d SOLR-9432: json facet refinement progress, test refinement info going to shards 2016-10-11 17:14:26 -04:00
Kevin Risden 98827c5cad SOLR-8969: Fix static cloud check 2016-10-11 15:28:00 -05:00
Kevin Risden 2e03aa97b2 SOLR-8969: Resolve NPE for SQLHandler when in non-cloud mode 2016-10-11 11:14:42 -05:00
Christine Poerschke ca625ea566 (part of) SOLR-6203: ResponseBuilder.setSortSpec arg name tweak. (Judith Silverman via Christine Poerschke) 2016-10-11 11:58:51 -04:00
Joel Bernstein 45f2dfe2ce Merge branch 'branch_6x' of https://git-wip-us.apache.org/repos/asf/lucene-solr into branch_6x 2016-10-10 15:24:43 -04:00
Joel Bernstein 5836f4032f SOLR-9337: Add fetch Streaming Expression 2016-10-10 14:25:05 -04:00
Kevin Risden 9ee5569469 SOLR-8385: Narrow StreamFactory.withFunctionName clazz parameter to prevent misconfiguration 2016-10-07 08:24:25 -05:00
Alan Woodward b58ccc3906 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-07 12:03:07 +03:00
Kevin Risden b1a5c5f92e SOLR-9146: Parallel SQL engine should support >, >=, <, <=, <>, != syntax 2016-10-06 13:11:44 -05:00
markrmiller 82440f307a SOLR-9470: Index replication interactions with IndexWriter can cause deadlock. 2016-10-06 11:47:31 -04:00
yonik 59d83f57e1 SOLR-9592: use correct leaf reader rather than top-level reader in SolrIndexReaderm.decorateDocValues 2016-10-05 15:15:32 -04:00
Alan Woodward 3d0f942502 SOLR-9132: RulesTest must tear down collections at the end of each test 2016-10-05 15:28:39 +01:00
Alan Woodward 1e3781500c SOLR-9563: Collection creation can fail if a node doesn't update its state quickly enough 2016-10-04 13:48:55 +01:00
Alan Woodward 23485c3377 SOLR-9132: Migrate some more tests 2016-10-04 11:13:58 +01:00
Noble Paul 50abf9571c SOLR-9520: Kerberos delegation support in SolrJ 2016-10-04 00:32:26 +05:30
Noble Paul 8e31e50138 SOLR-9520: Kerberos delegation support in SolrJ 2016-10-03 19:13:51 +05:30
Alexandre Rafalovitch ae7b685e41 SOLR-6677: queryConverter message is now at TRACE 2016-10-03 16:20:11 +07:00
Mikhail Khludnev 81a859b962 SOLR-9554: clear statics to fix the test failure 2016-10-03 10:24:27 +03:00
Mikhail Khludnev cc1841cbb7 SOLR-9554: adding a test for concurrent schema upgrade in cloud. 2016-10-02 21:33:01 +03:00
Christine Poerschke 01d5bf2eb1 Correct TransformerFactory.defaultFactories initialCapacity. (Diego Ceccarelli via Christine Poerschke) 2016-09-30 15:42:01 +01:00
Christine Poerschke 031de301c2 SOLR-9574: Factor out AbstractReRankQuery from ReRankQParserPlugin's private ReRankQuery. 2016-09-30 15:42:01 +01:00
Christine Poerschke e8ec99015f In AddUpdateCommand remove one unused local and the getSchema.getUniqueKeyField method call that initialises it. 2016-09-30 15:40:39 +01:00
Christine Poerschke 0c9b8ce758 Removes some unused locals in solr/core request and response packages. 2016-09-30 15:40:39 +01:00
Shalin Shekhar Mangar f8a4ccf97b SOLR-5041: Add a test to make sure that a leader always recovers from log on startup
(cherry picked from commit 7a8ff69)
2016-09-30 20:01:32 +05:30
Alan Woodward 1f0d75b802 SOLR-9556: Exit failover thread on interrupt 2016-09-30 09:06:10 +01:00
Mikhail Khludnev 1c614e1d4d SOLR-9554: fix NullPointerException when cores move schema.xml to
managed-schema concurrently. No new test is added yet.
2016-09-30 08:10:52 +03:00
Joel Bernstein 568b54687a SOLR-9258: Fix precommit 2016-09-29 18:58:44 -04:00
Joel Bernstein 9d1fb90784 SOLR-9258: Optimizing, storing and deploying AI models with Streaming Expressions 2016-09-29 18:58:44 -04:00
Noble Paul f12f5e355d Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-09-29 19:38:03 +05:30
Noble Paul 3ab22f6e3a SOLR-8146: refactored the replica rules classes so that they can be accessed from SolrJ 2016-09-29 19:37:35 +05:30
Shalin Shekhar Mangar effd224576 SOLR-9504: A replica with an empty index becomes the leader even when other more qualified replicas are in line
(cherry picked from commit ce24de5)
2016-09-29 17:22:46 +05:30
Noble Paul bdde6cb566 SOLR-8995: use lambdas for CoreCloseListener 2016-09-29 11:36:30 +05:30
Noble Paul c904fe7d81 SOLR-9576: Make FieldAnalysisRequestHandler, DocumentAnalysisRequestHandler & DumpRequestHandler implicit 2016-09-28 20:06:04 +05:30
Noble Paul 43334c146a avoid unnecessary map creation 2016-09-28 11:34:31 +05:30
Noble Paul b0d0f39b3a SOLR-9572: config API to show expanded useParams for request handlers inline 2016-09-28 11:31:13 +05:30
Steve Rowe 49c5a749c3 SOLR-9411: Better validation for Schema API add-field 2016-09-27 18:17:21 -04:00