Commit Graph

2506 Commits

Author SHA1 Message Date
Mike Drob fb98f30a61
SOLR-8392 type safety on SolrParam (#1556) 2020-06-11 14:21:54 -05:00
murblanc b4dcbfa3de
SOLR-12823: fix failures in CloudHttp2SolrClientTest CloudSolrClientTest TestCloudSolrClientConnections (#1565)
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-11 10:50:16 -05:00
Munendra S N 53040984f6 SOLR-14345: return correct err msg when non-binary resp parser is used
* This adds support to parse error properly in case of non-binary
  resp parser but the problem still exists for noopResponseParser
2020-06-10 19:11:52 +05:30
murblanc d4f7c90bab
SOLR-14347: fix cached session update to not depend on Zookeeper state (#1542)
SOLR-14347: fix cached session update to not depend on Zookeeper state
2020-06-10 21:13:55 +10:00
Mike Drob 2660139aa3 few more awaitsfix 2020-06-09 22:00:44 -05:00
Erick Erickson c8f48d4701 SOLR-14547: Fix or suppress warnings in solr/client/solrj/io/stream 2020-06-09 19:21:36 -04:00
Mike Drob 8ee6e6797b
SOLR-14548 Address warning: static member should be qualified by type… (#1555) 2020-06-09 15:33:37 -05:00
murblanc 1ab9b811c6
SOLR-12823: remove /clusterstate.json (#1528)
* SOLR-12823: remove /clusterstate.json

Remove all code dealing with Zookeeper's /clusterstate.json, remove Collection API's MIGRATESTATEVERSION, remove legacyCloud option.

Also fixes SOLR-11877 DocCollection.getStateFormat is buggy

Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-09 13:59:17 -05:00
Adrien Grand 684c2e6afe SOLR-14470: Fix precommit 2020-06-09 09:37:51 +02:00
Andrzej Bialecki 30924f23d6 SOLR-14470: Add streaming expressions to /export handler. 2020-06-08 16:03:07 +02:00
Erick Erickson 7bf59a16bd SOLR-14544: Fix or suppress warnings in solr/client/solrj/io/eval 2020-06-07 21:31:51 -04:00
Jan Høydahl f404a38fa6
SOLR-9679: Exception when removing zk node /security.json (#1403) 2020-06-08 01:11:56 +02:00
Erick Erickson 6d5b1ae7f4 SOLR-14536: Fix or suppress warnings in apache/solr/common 2020-06-06 09:30:17 -04:00
Gus Heck 4b496b364f SOLR-13169 Improve docs for MOVEREPLICA - correct existing parameter docs. 2020-06-05 17:47:11 -04:00
Erick Erickson 07a9b5d1b0 SOLR-14474: Fix remaining auxilliary class warnings in Solr 2020-05-27 12:06:29 -04:00
Tomas Fernandez Lobbe 3ca7628c43
SOLR-13289: Rename minExactHits to minExactCount (#1511) 2020-05-21 16:42:37 -07:00
David Smiley 2ac640f9d0
SOLR-14484: avoid putting null into MDC
Co-authored-by: Andras Salamon
2020-05-20 09:46:15 -04:00
Joel Bernstein a795047c6c SOLR-14476: Fix precommit 2020-05-19 09:10:23 -04:00
Joel Bernstein 16aad55369 SOLR-14476: Add percentiles and standard deviation aggregations to stats, facet and timeseries Streaming Expressions 2020-05-19 09:10:23 -04:00
David Smiley d3d0df9da1
SOLR-14472: Autoscale "cores": use metrics to count
Also counts all cores (lazy, transient), although currently impossible to use these in SolrCloud.
2020-05-18 17:41:29 -04:00
murblanc d2825282c9
SOLR-14473: Improve Overseer Javadoc (#1510)
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-05-18 15:21:16 -05:00
Uwe Schindler 06df50e759
LUCENE-9321: Port markdown task to Gradle (#1477) 2020-05-17 14:46:26 +02:00
Michael Gibney 54dca800a9
SOLR-14471: Fix last-place replica after shards.preference rules (#1507)
Properly apply base replica ordering to last-place shards.preference matches
2020-05-14 21:31:35 -07:00
Joel Bernstein f1db56afaf SOLR-14478: Allow the diff Stream Evaluator to operate on the rows of a matrix 2020-05-14 09:52:05 -04:00
Andrzej Bialecki dd4fa8f2f8 SOLR-14423: Additional fixes for object caching and incorrect test assumptions. 2020-05-13 19:37:12 +02:00
Samuel García Martínez adddab9d14
SOLR-14456: Fix Content-Type header forwarding on compressed requests (#1480)
Co-authored-by: Samuel García Martínez <samuelgma@inditex.com>
2020-05-12 17:50:07 -04:00
Andrzej Bialecki 4680e9245f SOLR-14423: Move static SolrClientCache from StreamHandler to CoreContainer for wider reuse and better life-cycle management. 2020-05-12 21:44:00 +02:00
Tomas Fernandez Lobbe d9f9d6dd47
SOLR-13289: Add Support for BlockMax WAND (#1456)
Add support for BlockMax WAND via a minExactHits parameter. Hits will be counted accurately at least until this value, and above that, the count will be an approximation. In distributed search requests, the count will be per shard, so potentially the count will be accurately counted until numShards * minExactHits. The response will include the value numFoundExact which can be true (The value in numFound is exact) or false (the value in numFound is an approximation).
2020-05-08 14:25:47 -07:00
Erick Erickson 9ae05e9b4f LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects 2020-04-30 19:50:31 -04:00
Erick Erickson 6e96d01efc LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects 2020-04-29 10:56:54 -04:00
Erick Erickson 960610a615 LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects 2020-04-27 20:45:57 -04:00
Mike Drob 950a34ce13 SOLR-14412 use parameterized logging 2020-04-22 12:11:53 -05:00
Andrzej Bialecki 5d60ff4613 SOLR-12845: Add a default autoscaling cluster policy. 2020-04-22 17:46:39 +02:00
Mike Drob 58f9c79c6d
SOLR-14412 zkRun+https (#1437)
SOLR-14412

Check for results after retries failed in SolrClientNodeStateProvider
Set urlScheme=https with zkRun
2020-04-20 12:55:43 -05:00
Jan Høydahl 03363f413f
SOLR-14371 Zk StatusHandler should know about dynamic zk config (#1392) 2020-04-17 16:30:27 +02:00
Markus Schuch 74ecc13816 SOLR-14387 add testcase for ids with separators to GetByIdTest and fix SolrClient to escape ids properly 2020-04-16 11:52:03 -05:00
Shalin Shekhar Mangar 3e0f7b1971 SOLR-9909: Actually delete SolrjNamedThreadFactory.java 2020-04-13 13:47:20 +05:30
Shalin Shekhar Mangar 13f19f6555 SOLR-9906: SolrjNamedThreadFactory is deprecated in favor of SolrNamedThreadFactory. DefaultSolrThreadFactory is removed from solr-core in favor of SolrNamedThreadFactory in solrj package and all solr-core classes now use SolrNamedThreadFactory 2020-04-13 08:16:35 +05:30
Erick Erickson 1ca7067a81 SOLR-12028: BadApple and AwaitsFix annotations usage, Unannotated tests that haven't failed in a while 2020-03-30 20:37:55 -04:00
Ishan Chattopadhyaya 782ded2d7a SOLR-14317: HttpClusterStateProvider throws exception when only one node down (Closes #1342) 2020-03-29 07:20:32 +05:30
Munendra S N 132228d450 SOLR-14344: remove deprecated HttpSolrClient's Remote*Exception
* All usages are replaced by BaseHttpSolrClient's Remote*Exception
2020-03-28 11:36:06 +05:30
Andy Throgmorton d1601f6fdf SOLR-14260: SolrJ pluggable ConnectionSocketFactory in HttpClientUtil
see SocketFactoryRegistryProvider
Fixes #1261
2020-03-26 22:15:50 -04:00
mariemat aad814ba63 SOLR-14340: Remove unnecessary configset verification checks
Improves CLUSTERSTATUS times for massive clusters.
Closes #1373
2020-03-24 15:34:20 -04:00
Andrzej Bialecki 68e4304453 SOLR-14347: Autoscaling placement wrong when concurrent replica placements are calculated. 2020-03-23 18:21:40 +01:00
Munendra S N 5630619dfd SOLR-14343: set initcapacity properly in NamedList
* This is when map or map.entry array is passed in constructor
2020-03-23 19:54:54 +05:30
Munendra S N e36733d01d SOLR-14350: fix test failure due to SOLR-14012 2020-03-19 22:43:29 +05:30
Aroop 9a8602c96e
SOLR-14316: Fix unchecked type warning in JavaBinCodec (#1344)
Fix an unchecked type conversion warning in JavaBinCodec's readMapEntry's equals() method
Add test

Co-authored-by: Aroop Ganguly <aroop_ganguly@apple.com>
2020-03-12 09:55:01 -07:00
David Smiley 732348ec7f SOLR-14197: SolrResourceLoader refactorings to reduce API
* Remove SRL.listConfigDir (unused)
* Remove SRL.getDataDir
* Remove SRL.getCoreName
* Remove SRL.getCoreProperties
 XmlConfigFile needs to be passed in the substitutableProperties
 IndexSchema needs to be passed in the substitutableProperties
 Remove redundant Properties from CoreContainer constructors
* Remove SRL.newAdminHandlerInstance (unused)
* Remove SRL.openSchema and openConfig
* Avoid SRL.getConfigDir
 Also harmonized similar initialization logic between DIH Tika processor & ExtractingRequestHandler.
* Ensure SRL.addToClassLoader and reloadLuceneSPI are called at most once
 Don't auto-load "lib" in constructor; wrong place for this logic.
* Avoid SRL.getInstancePath
 Added SolrCore.getInstancePath instead
 Use CoreContainer.getSolrHome instead
 NodeConfig should track solrHome separate from SolrResourceLoader
* Simplify some SolrCore constructors
* Move locateSolrHome to new SolrPaths
* Move "User Files" stuff to SolrPaths
2020-03-11 09:20:28 -04:00
Marc A. Morissette 051133c13f
SOLR-12550: ConcurrentUpdateSolrClient doesn't respect timeouts for commits and optimize (#417)
ConcurrentUpdateSolrClient now propagates its connection and read timeouts to the private HttpSolrClient used to commit and optimize.
2020-02-20 04:29:20 -08:00
Christine Poerschke 003303a9cc SOLR-13041: Add hashCode for autoscaling.Condition to accompany the already present equals.
(Zsolt Gyulavari via Christine Poerschke)
2020-02-18 14:47:44 +00:00