5218 Commits

Author SHA1 Message Date
Ishan Chattopadhyaya
a13b387fb5 SOLR-13945: SPLITSHARD can cause data loss due to rollback when final commit fails 2019-12-12 09:03:07 +05:30
Joel Bernstein
c4dce29582 SOLR-14060: Update CHANGES.txt 2019-12-11 21:00:13 -05:00
Mikhail Khludnev
f914d9aac7 SOLR-13904: Make Analytics component sensitive to timeAllowed. 2019-12-12 00:11:39 +03:00
Erik Hatcher
9dfee35b9f SOLR-14025: VelocityResponseWriter hardening 2019-12-11 12:38:58 -05:00
Joel Bernstein
9c5284fe0b SOLR-13957: Update CHANGES.txt 2019-12-11 12:03:29 -05:00
Joel Bernstein
a4f2c099ec SOLR-14043: Update CHANGES.txt 2019-12-11 11:58:34 -05:00
Jason Gerlowski
e81ebc0312 SOLR-13999: Add missing CHANGES.txt entry 2019-12-11 07:44:56 -05:00
Erick Erickson
dda88f73bb SOLR-13953: Prometheus exporter in SolrCloud mode limited to 100 nodes
(cherry picked from commit d189520935cab36ae4d86f3822b38348f464d960)
2019-12-10 20:26:04 -05:00
Andrzej Bialecki
7362a76e6e SOLR-13806: SolrJ QueryResponse._explainMap is incorrectly typed. 2019-12-10 20:44:46 +01:00
Andrzej Bialecki
c9a156e1d8 SOLR-13563: SPLITSHARD using LINK method fails on disk usage checks. 2019-12-10 14:22:04 +01:00
Houston Putman
53345cb1cd SOLR-12217: Support shards.preference in SolrJ for individual shard requests (#984) 2019-12-09 23:13:33 -05:00
Thomas Wöckinger
87aa11baf8 SOLR-13966: LatLonPointSpatialField fix for RealTimeGetComponent
used in atomic/partial updates.
Closes #1035

(cherry picked from commit e250f3e82cb1b07192a9f07326059b01fde2c62c)
2019-12-09 22:53:33 -05:00
ngomx
afa4eb92dc
SOLR-13818: Upgrade jackson to 2.10.0
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-09 11:52:26 -05:00
Andrzej Bialecki
349fe428c4 SOLR-13979: Expose separate metrics for distributed and non-distributed requests. 2019-12-09 13:51:35 +01:00
Jan Høydahl
9dd1b4accc SOLR-13977: Move changes entry to 8.4
(cherry picked from commit 0d78535dcfeab88edfd97b8d892b2e783aaf5504)
2019-12-09 10:28:38 +01:00
Michael Gibney
65a1804aeb 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 10:11:18 +05:30
Kevin Risden
7ad7bbe05c
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:52:19 -05:00
Jason Gerlowski
e44bcc05c4 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:32:38 -05:00
Jan Høydahl
912789bb93 SOLR-13954: Embedded ZooKeeper in Solr now does not try to load JettyAdminServer (#1059)
(cherry picked from commit 7417fa1cf3a7875b76419793a38080059f52b1fc)
2019-12-06 11:05:11 +01:00
Munendra S N
2d2f4b9521 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 11:01:50 +05:30
Anshum Gupta
b4375cc235
SOLR-13998: Add thread safety annotations to classes (#1053) (#1057) 2019-12-04 12:09:22 +05:30
Robert Muir
55b77358cf 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:18:11 -05:00
Noble Paul
80abab2935 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:12:23 +11:00
Cassandra Targett
0ebb62a9f2 SOLR-13885: various Ref Guide typos. This closes #990 2019-12-02 13:38:06 -06:00
Shalin Shekhar Mangar
ba95111d71 SOLR-13805: NPE when calling /solr/admin/info/health on standalone solr
(cherry picked from commit 5a697344ed1be537ef2acdd18aab653283593370)
2019-11-30 10:04:44 +05:30
Jan Høydahl
325e72c45f SOLR-13977: solr create -c not working under Windows 10
(cherry picked from commit 936f4b6ee9cd8c7f9a17800aadc8c5a91bdf74f6)
2019-11-29 13:07:50 +01:00
Bruno Roustant
1927e850c8
SOLR-13968: Support postingsFormat and docValuesFormat in schema fields.
Closes #1039
2019-11-28 17:17:23 +01:00
David Smiley
8b2d8d0947 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 11:07:51 -05:00
Ishan Chattopadhyaya
26b5506290 8.3.1 release: CHANGES got misaligned 2019-11-28 19:41:07 +05:30
Ishan Chattopadhyaya
bf2899fb00 SOLR-13971: Renamed the velocity template parameter names 2019-11-28 15:44:19 +05:30
Jan Høydahl
ee39b15b86 SOLR-13969: Clean up and document AuditEvent API (#1041)
(cherry picked from commit 9f78482295819ba10a383d3027c1d6313c6e2e7d)
2019-11-28 09:57:01 +01:00
Ishan Chattopadhyaya
05c5bcc8b3 SOLR-13971: Removing velocity from _default and disabling custom template support by default 2019-11-28 07:54:37 +05:30
noble
4ad3902137 SOLR-13963: JavaBinCodec has concurrent modification of CharArr resulting in corrupt internode updates 2019-11-26 08:22:48 +11:00
Thomas Wöckinger
5e24a010e0 SOLR-13961: Allow null/empty for removal of child doc in atomic update
Cherry pick: b5fd6d7b22002a06bdc626999a6a527ff6f46488
2019-11-25 10:46:48 -05:00
Jan Høydahl
5f11efb2d5 SOLR-12193: Move some log messages to TRACE level, remove some dead code
(cherry picked from commit d809bc27f1b5cd6d97e0bfe688c99d481bc42d39)
2019-11-24 00:03:36 +01:00
Jan Høydahl
3adb0903bf SOLR-13465 CoreContainer.auditloggerPlugin should be volatile (#672)
(cherry picked from commit 312431b1821a67c9ddb7e219b9203d6fd7bdd5df)
2019-11-23 01:29:31 +01:00
Jan Høydahl
29e172f6e2 SOLR-13905 Make findRequestType in AuditEvent more robust (#1014)
(cherry picked from commit e45c5ce9b9e70650f119976b8b2d91b3c760cb48)
2019-11-22 23:35:44 +01:00
Tomas Fernandez Lobbe
65888d0542 SOLR-13950: Add attribution 2019-11-22 11:07:30 -08:00
Andy Vuong
a25ecd7f30 SOLR-13950: Fix getLeaderRetry swallowing interrupt in ZkStateReader (#1023)
Let InterruptedException bubble up
2019-11-22 11:07:25 -08:00
Munendra S N
2ba55b7e3c SOLR-13912: add support for countvals aggregation in JSON facet module
* This aggregation is equivalent to StatsComponent's count
2019-11-22 18:38:49 +05:30
Tomas Fernandez Lobbe
4a3c15f118 SOLR-13907: Cloud view tree - fixed placement 2019-11-20 10:57:00 -08:00
Jan Høydahl
58d5680a90 SOLR-13941: Configure JettySolrRunner same as in web.xml (#1018)
(cherry picked from commit f00bcd560901ebed420c51e52fda788ae8654103)
2019-11-20 10:31:23 +01:00
Cassandra Targett
cebd6eddd2 SOLR-13782: add CHANGES entry 2019-11-19 15:57:38 -06:00
Munendra S N
5cce058631 SOLR-13911: add support for missing aggregation in JSON facet module
* This missing aggregation is equivalent to StatsComponent's missing
2019-11-16 12:13:16 +05:30
Andrzej Bialecki
6e655a99ce SOLR-13817: Deprecate legacy SolrCache implementations. 2019-11-14 21:22:18 +01:00
Ishan Chattopadhyaya
6edbda7429 SOLR-13662: Package manager (CLI) 2019-11-14 19:19:58 +05:30
Istvan Farkas
a1777b540b
SOLR-13921: Processing UpdateRequest with delegation token throws NullPointerException
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-11-13 13:03:41 -05:00
Andrzej Bialecki
3c06fbcad2 SOLR-13898: Non-atomic use of SolrCache get / put. 2019-11-13 18:10:12 +01:00
Chris Hostetter
8c12979fdd SOLR-13872: Fixed Backup failures due to race conditions in saving/reserving commit points
(cherry picked from commit 30e55e2b6efc55c04761b80c22a106f4a1115722)
2019-11-13 08:59:22 -07:00
Chris Hostetter
700aeeb58f Fix SOLR-13869 typo in CHANGES.txt
(cherry picked from commit 5df9a51cbfb51bcd1f2a723cef9f6d22accd72f1)
2019-11-12 14:04:53 -07:00