Commit Graph

13737 Commits

Author SHA1 Message Date
Andrzej Bialecki fed199df7b SOLR-13563: SPLITSHARD using LINK method fails on disk usage checks. 2019-12-10 14:21:37 +01:00
Christine Poerschke b97afd79ca Fix 5 javac warnings: 'yield' may become a restricted identifier in a future release. 2019-12-10 12:32:34 +00:00
Alessandro Benedetti e84a23529e SOLR-14029: Solr Ref Guide: clarify requestDispatcher handleSelect=true 2019-12-09 23:28:45 -05:00
Thomas Wöckinger e250f3e82c SOLR-13966: LatLonPointSpatialField fix for RealTimeGetComponent
used in atomic/partial updates.
Closes #1035
2019-12-09 22:51:18 -05:00
Kevin Risden 12825f3642
SOLR-14039: SOLR-13987 broke multiple node /select handler due to jetty.xml whitespace
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-09 19:29:37 -05:00
Chris Hostetter 485e140e93 SOLR-14032: some misc ref-guide improvements related to clarifying the pros/cons of the diff ways to 'boost' documents by func/query 2019-12-09 15:34:42 -07:00
Houston Putman 1c78d2c637
SOLR-12217: Support shards.preference in SolrJ for individual shard requests (#984) 2019-12-09 17:11:58 -05:00
Joel Bernstein 1eaa5b5ac2 SOLR-13957: Add sensible defaults for the facet, random, facet2D, timeseries, stats and update Streaming Expressions 2019-12-09 16:04:03 -05:00
Christine Poerschke df933f8104 SOLR-14030: fix 2 javac warnings: [dep-ann] deprecated item is not annotated with @Deprecated 2019-12-09 14:13:52 +00:00
Andrzej Bialecki 86cab79730 SOLR-13979: Expose separate metrics for distributed and non-distributed requests. 2019-12-09 13:46:33 +01:00
Jan Høydahl 0d78535dcf SOLR-13977: Move changes entry to 8.4 2019-12-09 10:27:53 +01:00
Munendra S N df508ffe01 SOLR-11706: fix for multivalued trie date in min/max and more tests
* selecting single value for multivalued trie date field is not
  supported.
* add additional tests for variance, unique, hll aggregations
2019-12-08 10:49:37 +05:30
Michael Gibney 8e9876f516 SOLR-7798: robust support for expand when used w/o collapsing (#325)
There are applications of ExpandComponent that intentionally do not
involve prior collapsing of results on the expand field, which can lead
to an NPE in expand component when expand.field (for matched docs) has
fewer unique values than the number of matched docs.

This commit refines the approach taken in SOLR-13877, which addressed
the same underlying issue.
2019-12-08 09:59:33 +05:30
ngomx 07e4d86207
SOLR-13818: Upgrade jackson to 2.10.0
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-07 19:09:18 -05:00
Kevin Risden f9e15839bf
SOLR-13987: Admin UI should not rely on javascript eval()
* Removes `'unsafe-eval'` from CSP `script-src`
* Enables Angular CSP mode
* Removes `eval()` JSON parsing in `cloud.js`
* Removes `jstree` themes error

Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-07 16:40:04 -05:00
Kevin Risden 7c8635d600
SOLR-14028: Fix test permissions for TestSolrCLIRunExample
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-07 16:32:11 -05:00
Munendra S N a1e51cd777 SOLR-11706: minor refactors
* rename stdDev, variance methods to reflect the functionality
* add util functions to compute corrected stdDev and variance
* use DocValuesIterator#advanceExact to check if values exists for the doc
2019-12-07 11:16:25 +05:30
Erick Erickson 7d5d44a3c4 SOLR-13988: Harden CreateCollectionCleanupTest. Incorporate Dawid Weiss' suggestion for windows 2019-12-06 19:10:27 -05:00
Mike 155ab116a2
Revert "SOLR-13990: Switch out woodstox-core-asl with aalto-xml and upgrade woodstox stax-2 API (#1050)" (#1063)
This reverts commit 2387bb9d60.
2019-12-06 17:08:40 -06:00
Jason Gerlowski 62e0222aef SOLR-13087: Remove 'whoami' usage in bin/solr
whoami displays a warning if the effective-uid is not in /etc/password.
This can happen in certain situations when running in a docker
container.  This replaces the 'whoami' usage with a safer check.
2019-12-06 15:31:37 -05:00
Dawid Weiss a7444f7af4 LUCENE-9077: Add support for running under gradle test runner. 2019-12-06 19:00:50 +01:00
Erick Erickson 106b9d6866 SOLR-13988: Harden CreateCollectionCleanupTest 2019-12-06 11:59:53 -05:00
Jan Høydahl 7417fa1cf3
SOLR-13954: Embedded ZooKeeper in Solr now does not try to load JettyAdminServer (#1059) 2019-12-06 11:03:23 +01:00
Robert Muir 33ca971d2b SOLR-14020: move hadoop hacks out of lucene TestSecurityManager into a solr one 2019-12-05 14:53:23 -05:00
Andrzej Bialecki d2b01ef28f SOLR-13831: Context property _loop_iter_ should be a string in order to support
variable expansion.
2019-12-05 18:27:12 +01:00
Anshum Gupta 2387bb9d60
SOLR-13990: Switch out woodstox-core-asl with aalto-xml and upgrade woodstox stax-2 API (#1050) 2019-12-05 18:37:53 +05:30
Robert Muir e77027dd8c SOLR-13993: sandbox velocity template render (if security manager is enabled)
The solr permissions are weak sauce due to the huge number of features, third-party dependencies, etc.

Hence they have access to do many things. For "scripting" such as velocity we have to look at a more aggressive stance:

Step 1: Can we wrap a sandbox around the whole goddamn thing and call it a day?
Step 2: Let's separate the "engine" from "untrusted code" and only be an asshole to the latter.
Step 3: Java's security is shit, Lets contain that classloader and whitelist access.
2019-12-05 01:06:38 -05:00
Munendra S N 12e8cca644 SOLR-11706: add support for aggregation on multivalued fields
* min, max, sum, sumsq, avg, stddev, variance, percentile aggregations
  in JSON facets now supports multivalued fields
2019-12-05 10:48:22 +05:30
Robert Muir c4126ef858 SOLR-14015: remove blanket filesystem read access from solr-tests.policy
Restrict this to only minimal paths like lucene. It is the defense for directory traversal attacks.
It will also help find bad bugs where things are reading filesystem in the wrong locations.
2019-12-04 23:16:19 -05:00
Andrzej Bialecki f71c2c8e92 SOLR-13981: Remove unused DistributedQueue interface. (Andras Salamon) 2019-12-04 11:23:49 +01:00
Robert Muir becc16fb28 SOLR-14002: fix another static leak in test 2019-12-03 22:43:11 -05:00
Robert Muir 165529767b SOLR-14000: clean up more static field leaks in tests
On windows, these objects can't be inspected due to security restrictions. So the test runner fails the tests since it does not know how big the leak is.
2019-12-03 18:51:00 -05:00
Jeff 16f793915e SOLR-13926: javadocs on CompositeIdRouter
Closes #1009
2019-12-03 17:43:01 -05:00
Anshum Gupta 09df6647ac
SOLR-13998: Add thread safety annotations to classes (#1053) 2019-12-04 01:19:56 +05:30
Dawid Weiss 0f61aa9516 Forbidden APIs: add missing root locale. 2019-12-03 13:07:23 +01:00
Dawid Weiss 6f0842eaa5 Use toLowerCase with an explicit locale in CheckLinksAndAnchors. 2019-12-03 13:01:43 +01:00
Robert Muir 9e5d11be8a fix static leaks, null stuff out in afterclass 2019-12-03 06:28:19 -05:00
Robert Muir c8c9c10023 SOLR-13982: set security-related http response headers by default
Unfortunately, as a first start this is very weak protection against
e.g. XSS.  This is because some 'unsafe-xxx' rules must be present due
to the insecurity of angular JS: Until SOLR-13987 is fixed, XSS & co are
still easy.
2019-12-03 06:12:33 -05:00
noble a51c7b89f2 SOLR-13995: Move ZkShardTerms.Terms to SolrJ 2019-12-03 15:16:34 +11:00
Noble Paul d8f9f47ca0
SOLR-13992: Refactor code to have collection, shard name in Replica,Slice (#1051)
* SOLR-13992: Refactor code to have collection name shard name in Replica,Slice
2019-12-03 13:10:19 +11:00
Cassandra Targett de1c9fb9e8 SOLR-13885: various Ref Guide typos. This closes #990 2019-12-02 13:33:45 -06:00
Shalin Shekhar Mangar 5a697344ed SOLR-13805: NPE when calling /solr/admin/info/health on standalone solr 2019-11-30 10:04:00 +05:30
Jan Høydahl 936f4b6ee9 SOLR-13977: solr create -c not working under Windows 10 2019-11-29 01:22:06 +01:00
Jan Høydahl 48010ffc9f Add 8.3.1 CHANGES entry for SOLR-13465, SOLR-13941 and SOLR-13905 2019-11-28 20:56:57 +01:00
David Smiley 6a72b81ed3 SOLR-13971: Revert changes to the default configset.
* clarified these are Java system properties
* trivial dead code change; Boolean.getBoolean returns a primitive
2019-11-28 10:45:58 -05:00
Bruno Roustant b4cc3c6ad2
SOLR-13968: Support postingsFormat and docValuesFormat in schema fields.
Closes #1039
2019-11-28 16:13:10 +01:00
Ishan Chattopadhyaya 212593d362 SOLR-13971: Renamed the velocity template parameter names 2019-11-28 15:46:26 +05:30
Jan Høydahl 9f78482295
SOLR-13969: Clean up and document AuditEvent API (#1041) 2019-11-28 09:55:11 +01:00
Ishan Chattopadhyaya 50e8cea918 SOLR-13971: Removing velocity from _default and disabling custom template support by default 2019-11-28 07:52:43 +05:30
Andrzej Bialecki 47a908a0b9 Fix the list of common handler metrics. 2019-11-27 15:59:53 +01:00
Jonathan Pool a5ab17db82 Correct inconsistency on plugin support (#272) 2019-11-27 08:55:52 +01:00
Eduardo Leggiero 70c5942f3d Removed extra whitespace (#292) 2019-11-27 08:50:12 +01:00
noble 6c7a095f33 SOLR-13963: JavaBinCodec has concurrent modification of CharArr resulting in corrupt internode updates 2019-11-26 08:12:23 +11:00
Dawid Weiss 063c82ebd6 SOLR-13952: reverting Erick's commit (with permission). 2019-11-25 17:56:20 +01:00
Thomas Wöckinger b5fd6d7b22 SOLR-13961: Allow null/empty for removal of child doc in atomic update
Closes #1030
2019-11-25 09:57:07 -05:00
Erick Erickson f1cf3db588 SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately, forgot CHANGES.txt 2019-11-24 13:31:45 -05:00
Erick Erickson 4b34d726ab SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately 2019-11-24 13:24:40 -05:00
Jan Høydahl 592ea19eff SOLR-12193: reverting one line back to trace 2019-11-24 00:06:07 +01:00
Jan Høydahl d809bc27f1 SOLR-12193: Move some log messages to TRACE level, remove some dead code 2019-11-23 23:57:59 +01:00
Jan Høydahl 312431b182
SOLR-13465 CoreContainer.auditloggerPlugin should be volatile (#672) 2019-11-23 01:21:47 +01:00
Jan Høydahl e45c5ce9b9
SOLR-13905 Make findRequestType in AuditEvent more robust (#1014) 2019-11-22 23:34:20 +01:00
Eric Pugh 537862d5bb Document how to load your own streaming plugins (#1025) 2019-11-22 11:16:57 -08:00
Tomas Fernandez Lobbe 37512dad48 SOLR-13950: Add attribution 2019-11-22 11:06:45 -08:00
Andy Vuong 4910c0f558 SOLR-13950: Fix getLeaderRetry swallowing interrupt in ZkStateReader (#1023)
Let InterruptedException bubble up
2019-11-22 11:04:45 -08:00
Munendra S N 2740d90dee SOLR-13912: add support for countvals aggregation in JSON facet module
* This aggregation is equivalent to StatsComponent's count
2019-11-22 18:16:20 +05:30
Chris Hostetter 8f30f6436c SOLR-13946: Fix SpellCheckCollatorTest.testEstimatedHitCounts lower/upper bounds to match computable values based on random merge policies 2019-11-21 11:46:35 -07:00
noble f98555854c SOLR-13822: Bug fixs and tests for URP loading 2019-11-21 11:25:16 +11:00
Tomas Fernandez Lobbe 400514026e SOLR-13907: Cloud view tree - fixed placement 2019-11-20 10:56:18 -08:00
Jan Høydahl f00bcd5609
SOLR-13941: Configure JettySolrRunner same as in web.xml (#1018) 2019-11-20 10:20:54 +01:00
Cassandra Targett d1ffb38286 SOLR-13782: add CHANGES entry 2019-11-19 15:57:08 -06:00
Cassandra Targett b5bf906caf
SOLR-13782: Remove PDF Ref Guide build (#999)
closes #999
2019-11-19 14:54:30 -07:00
noble a593d3050c Revert "SOLR-13942: /api/cluster/zk/* to fetch raw ZK data"
This reverts commit 935a2987f8.

this was accidentally pushed to master.
2019-11-20 06:08:06 +11:00
noble 935a2987f8 SOLR-13942: /api/cluster/zk/* to fetch raw ZK data 2019-11-19 18:05:18 +11:00
Chris Hostetter 59465c20c4 SOLR-13943: AwaitsFix TimeRoutedAliasUpdateProcessorTest.testDateMathInStart 2019-11-18 16:32:21 -07:00
Mikhail Khludnev 51b1c5a023 LUCENE-9036: ExitableDirectoryReader checks timeout on DocValues access. 2019-11-18 23:34:43 +03:00
Chris Hostetter 1411aaee94 HdfsRecoveryZkTest & HdfsNNFailoverTest: Remove @BadApple anotation
These tests were originally anotated @BadApple in early 2018 as pat of SOLR-12028.

Neither test has failed since 2018-12-28.

Since we no longer have logs from those older jenkins builds, it's hard to be certain how/why this
test was failing, or why exactly it stopped failing – but it's possible the underlying issues were
addressed by general hardening of SolrCloud and the associated base test classes around the same time.
2019-11-18 12:22:12 -07:00
Adrien Grand 7755cdf03f
LUCENE-9027: Use SIMD instructions to decode postings. (#973) 2019-11-18 19:08:32 +01:00
Chris Hostetter f9076d85cf SOLR-13924: AwaitsFix: MoveReplicaHDFSTest 2019-11-18 09:58:00 -07:00
Ishan Chattopadhyaya 0857bb60d3 SOLR-13662, SOLR-13822: Fixing bug with refresh API, un-ignoring the test and new reference guide on Package Management 2019-11-18 04:00:00 +05:30
Ishan Chattopadhyaya 5200ee0ef9 SOLR-13662: Ignoring the PackageManagerCLITest until further investigation of failures 2019-11-17 06:06:02 +05:30
Munendra S N 0602956a44 SOLR-13911: add support for missing aggregation in JSON facet module
* This missing aggregation is equivalent to StatsComponent's missing
2019-11-16 12:12:11 +05:30
Chris Hostetter 3fb39b2960 TestDistributedStatsComponentCardinality: Remove @BadApple anotation
This test was originally anotated @BadApple ~2018-10-14 as pat of SOLR-12028.

So far in 2019, it has failed in 62 jenkins-BadApple builds, but all prior to 2019-06-14.

Since we no longer have logs from those older jenkins builds, it's hard to be certain how/why
this test was failing, or why exactly it *stopped* failing -- but a likely suspect is that
the root cause of the problem may have been fixed as part of the Jetty upgrade in SOLR-13541.
2019-11-15 22:25:39 -07:00
Andrzej Bialecki 66e78ba7c5 SOLR-13898: Allow inexact double comparison. Close resources. 2019-11-15 20:38:20 +01:00
Chris Hostetter 805305c410 SOLR-13909: ReplicationHandler testing: Replace the completely broken CheckBackupStatus with a new BackupStatusChecker helper class 2019-11-15 10:17:26 -07:00
Tomas Fernandez Lobbe 4931c0989d SOLR-13860: Ignore testKillTlogReplica 2019-11-14 15:16:35 -08:00
Ishan Chattopadhyaya e59563f189 SOLR-13662: Renaming the test jars to .tmp to avoid precommit failures. Adding timeout for test failure fix. 2019-11-15 00:55:44 +02:00
Andrzej Bialecki b4fe911cc8 SOLR-13817: Remove legacy SolrCache implementations. 2019-11-14 21:21:44 +01:00
Ishan Chattopadhyaya d9f41f8a5a SOLR-13662: Package manager (CLI) 2019-11-14 18:21:35 +05:30
Andrzej Bialecki 32c3255b93 SOLR-13898: fix a typo. 2019-11-13 18:10:49 +01:00
Istvan Farkas 21a54c4bc7
SOLR-13921: Processing UpdateRequest with delegation token throws NullPointerException
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-11-13 11:11:45 -05:00
Chris Hostetter 30e55e2b6e SOLR-13872: Fixed Backup failures due to race conditions in saving/reserving commit points 2019-11-13 08:58:52 -07:00
Andrzej Bialecki 0c3233877b SOLR-13898: Non-atomic use of SolrCache get / put. 2019-11-13 14:43:09 +01:00
noble 59cc299c7e SOLR-13821: Return the size of the file 2019-11-13 18:58:34 +11:00
noble 550c7296b6 SOLR-13822: Added a testcase and a bug fix 2019-11-13 17:42:37 +11:00
noble 11fd8d630a SOLR-13841: Added 'JsonProperty' to forbidden APIs 2019-11-13 15:51:49 +11:00
Chris Hostetter 5df9a51cbf Fix SOLR-13869 typo in CHANGES.txt 2019-11-12 14:04:35 -07:00
Chris Hostetter 3a5d67b87b SOLR-13869: remove deprecated SolrTestCaseJ4.getNextAvailablePort() from master 2019-11-12 14:03:39 -07:00
Chris Hostetter 603be023fe SOLR-13864: SolrTestCaseJ4.getNextAvailablePort() has been deprecated 2019-11-12 13:41:46 -07:00
Chris Hostetter 367fe2f341 SOLR-13870: SolrJmxReporterTest no longer depends on (buggy) getNextAvailablePort() 2019-11-12 09:42:05 -07:00
noble 8847711212 SOLR-13822: more ref guide 2019-11-12 18:02:40 +11:00
Noble Paul 40661489cd
SOLR-13822: Ref guide and error handling
SOLR-13822: Ref guide and error handling for package loader, package store
2019-11-12 16:45:04 +11:00
noble 7a207a9353 SOLR-13822: Missing package-info files 2019-11-08 14:46:53 +11:00
Houston Putman 5c7215fabf SOLR-13844: Fixing tests related to ShardTerms recovery removal (#995) 2019-11-06 17:24:55 +00:00
noble c37d011974 missing JIRA number 2019-11-06 20:27:10 +11:00
Joel Bernstein 4f849e7a49 SOLR-13864: MathExpressionTest non-reproducible failures due to assertions of non-absolutes and randomization beyond test seed 2019-11-05 15:15:19 -05:00
Andrzej Bialecki 4f16d87c7e SOLR-13858: Combine two almost identical entries into one. 2019-11-05 19:02:35 +01:00
Joel Bernstein 746a3a9c88 SOLR-10786: Update CHANGES.txt 2019-11-05 09:16:27 -05:00
Andrzej Bialecki 720fb94113 SOLR-13882: Collections API COLSTATUS does not check live_nodes when reporting replica's status. 2019-11-05 14:06:05 +01:00
Andrzej Bialecki e58a90f18d SOLR-13858: Clean up SolrInfoBean / SolrMetricProducer API. 2019-11-04 15:31:43 +01:00
Jason Gerlowski de28c67627 SOLR-13762: Allow BinaryField use with non-binary wt's.
Closes #883
2019-11-04 08:43:04 -05:00
Noble Paul b5f5b0f2bc
SOLR-13841: removed jackson dependencies from SolrJ and provided a mapping to our annotation (#992)
Provide mappings for jackson annotation @JsonProperty to use Jackson deserializer
2019-11-04 16:38:21 +11:00
Joel Bernstein c908ea2e5a SOLR-10786: Add DBSCAN clustering Streaming Evaluator 2019-11-02 14:27:42 -04:00
Tomas Fernandez Lobbe 5c6a299eff SOLR-13207: Fix tests 2019-11-01 15:53:38 -07:00
Chris Hennick b17d630e50 SOLR-13207: Handle query errors in calculateMinShouldMatch (#978)
Traps error that arises when the < operator is used at the end of a query field.
Also handles NumberFormatException when the operand isn't a number.
2019-11-01 10:40:56 -07:00
David Smiley 124d38a597 SOLR-13830: Correct ref guide on [child] response structure. 2019-11-01 11:15:25 -04:00
Houston Putman 6e1ecd1218 SOLR-13844: Remove replica recovery terms with the replica term (#951) 2019-11-01 14:34:53 +00:00
noble 53b002f59d SOLR-13822: FIle leakes fixed 2019-11-01 16:33:20 +11:00
noble 22b681755c SOLR-13822: Disbaled on windows till further investigation 2019-10-30 08:27:23 +11:00
Munendra S N 24134cf9b1 SOLR-13823: fix ClassCastEx in group.query when score is requested
* This makes sures score computed for standalone and distributed
  is same for group.query. This is done by using mainQuery to compute
  scores
2019-10-29 13:56:03 +05:30
Munendra S N 0a4f6c566e SOLR-13877: fix NPE in expand component
* This could happen when expand component is not used with collapse
  and matched docs have fewer unique values
2019-10-29 13:56:03 +05:30
Munendra S N b82b7725e1 SOLR-13783: fix failing tests due to NamedList.toString() change 2019-10-29 13:35:31 +05:30
Munendra S N bd0091d94e update documentation for q.op and df
* defaultSearchField and defaultOperator are removed from schema.
  update the documentation to reflect this change
2019-10-29 10:51:31 +05:30
Tomas Fernandez Lobbe c7c0bdf2df SOLR-13783: Move CHANGES entry 2019-10-28 17:10:24 -07:00
Chris Hennick 74333c3af2 SOLR-13783: Add space after comma in NamedList.toString() (#979) 2019-10-28 17:09:08 -07:00
Tomas Fernandez Lobbe ee82e4567f SOLR-13865: Add missing package docs 2019-10-28 16:25:26 -07:00
Houston Putman fa27e476f7 SOLR-13865: Migrate replica routing code to SolrJ (#974)
* [SOLR-13865] Migrate replica routing code to  solrJ

* Added a CommonTestInjection class.

* Fixing imports.

* Reverted extraneous streaming changes.

* Fix precommit errors.

* Changing name of the RLTManager.

* Splitting up existing tests.

* Updated documentation.

* Added solr/CHANGES.txt entry
2019-10-28 15:49:21 -07:00
noble 3af4e6adc6 SOLR-13822: Adressing Windows test failures 2019-10-29 06:12:52 +11:00
noble e5a5ceb6d8 a simple perf test to check serialization/deserialization perf 2019-10-28 17:17:26 +11:00
Chris Hostetter b17a4cb5a9 SOLR-13822: AwaitsFix this test until the file leaks are addressed 2019-10-25 14:44:25 -07:00
Tobias Ibounig ce3857cb27 Add temporal unit to warmupTime param in ref guide (#975) 2019-10-25 15:01:16 -05:00
Cassandra Targett d91152e113 SOLR-13847: Fix docs for Metrics Trigger 2019-10-25 13:56:53 -05:00
Tomas Fernandez Lobbe 3524494025 SOLR-13866: Remove entry from CHANGES.txt
The fix made it in time to 8.3 so it was never released, no need for a CHANGES entry
2019-10-24 11:50:21 -07:00
Munendra S N 3ef54e4516 SOLR-12393:fix score not returned if expanded docs sorted by non-score 2019-10-24 19:41:14 +05:30
Munendra S N f71e4b210d SOLR-13403: test terms component with point fields on empty index 2019-10-24 10:06:16 +05:30
Tomas Fernandez Lobbe dc9dbd266b
SOLR-13866: Override getSolrMetricsContext in DirectUpdateHandler2 (#971) 2019-10-23 16:13:26 -07:00
Noble Paul 98f08d39aa
SOLR-13822: Isolated Classloading from packages (#957)
SOLR-13822: A Package management system with the following features. A packages.json in ZK to store
  the configuration, APIs to read/edit them and isolated classloaders to load the classes from
  those packages if the 'class' attribute is prefixed with `<package-name>:`
2019-10-24 08:55:11 +11:00
David Smiley 3ae8204248 SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969
2019-10-23 17:49:01 -04:00
Andrzej Bialecki c1174dc0d6 SOLR-13831: Support defining arbitrary autoscaling simulation scenarios. 2019-10-23 20:48:10 +02:00
Tomas Fernandez Lobbe 98cdac82a1
SOLR-13860: Enable back TestTlogReplica (#965)
* Wait for leader in testBasicLeaderElection

It can take some time (>4 seconds) to elect a new leader, and if the update is attempted immediately it'll fail. Need to either wait for the leader or retry the udpate in case of failure (which is what clients would do)

* Wait for leader to be active in testKillTlogReplica

* Add hack to prevent unrelated failure

* Reduce the time wait time for replica state change

* A more robust attempt to add replicas in the tests

* Wait for replication for 2 times the replication time
2019-10-23 10:46:36 -07:00
Andrzej Bialecki 1d7cd61575 SOLR-13854: Remove deprecated SolrMetricProducer.initializeMetrics API. 2019-10-22 21:23:48 +02:00
Munendra S N 597241a412 SOLR-13403: disable distrib test for point fields in terms 2019-10-22 10:40:38 +05:30
Mikhail Khludnev afdb80069c SOLR-13824: reject prematurely closed curly bracket in JSON. 2019-10-21 23:25:06 +03:00
epugh 2e6119e8fd tweak documentation to be clearer about uprefix 2019-10-20 23:50:42 -04:00
Munendra S N 80bca5040a SOLR-9802: fix grouping failure for date fields in solrcloud
Closes #221
2019-10-20 15:57:19 +05:30
Noble Paul 831f90fa36
SOLR-13841: Add jackson databind annotations to SolrJ classpath
SOLR-13841: Add jackson databind annotations to SolrJ classpath
2019-10-20 10:00:13 +11:00
Munendra S N cabc125eef SOLR-13403: fix NPE in terms for DatePointField
* This fixes NPE and adds support for DatePointField in terms
  component
2019-10-18 23:45:57 +05:30
Munendra S N 227a624f8a SOLR-12769: correct documentation for delete op in request params API 2019-10-18 21:13:35 +05:30
Munendra S N dce0c5953c SOLR-13827: fail on unknown operation in Request Parameters API 2019-10-18 21:08:33 +05:30
Andrzej Bialecki f07998fc23 SOLR-13677: All Metrics Gauges should be unregistered by components that registered them. 2019-10-18 17:15:04 +02:00
Shalin Shekhar Mangar 86a40c1cd5 SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas 2019-10-18 14:48:37 +05:30