5160 Commits

Author SHA1 Message Date
Munendra S N
230c6bf2cb SOLR-13272: add support for arbitrary ranges in JSON Range faceting
In some cases, the gap might need to be different for different ranges.
To support such cases, add support to specify arbitrary ranges.
2019-09-21 12:08:41 +05:30
Munendra S N
b7a4665925 SOLR-13725: allow negative values for limit in TermsFacetMap
* when limit is negative all the facet values are returned
* allow mincount=0 in TermsFacetMap.
2019-09-21 11:19:42 +05:30
Munendra S N
31aa08ad24 SOLR-13780: fix ClassCastException in NestableJsonFacet
* handle both int and long values for count. In case of single-shard or
  standalone, count is int whereas in multishard count would be long
2019-09-21 11:19:32 +05:30
Jason Gerlowski
393d1978c1 SOLR-13638: Add debug,trace RBAP logging (#894)
Increase log level to DEBUG or TRACE for
org.apache.solr.security.RuleBasedAuthorizationPlugin for
more helpful debugging output.
2019-09-20 14:52:15 -04:00
Dawid Weiss
8c308a940b SOLR-13779: Use the safe fork of simple-xml for clustering contrib 2019-09-19 12:25:12 +02:00
Jan Høydahl
a7865cdfdd SOLR-13734 JWTAuthPlugin to support multiple issuers (#860)
(cherry picked from commit dd729549b563f01e707bf6991675f80922981265)
2019-09-19 10:35:07 +02:00
Anshum Gupta
b9633e0f26
SOLR-13773: Prometheus Exporter GC and Heap options (#887) (#890)
* SOLR-13773: Prometheus Exporter GC and Heap options

* Adding info to the ref-guide.
2019-09-18 13:40:46 -07:00
Andrzej Bialecki
84bf86f999 SOLR-13763: Improve the tracking of "freedisk" in autoscaling simulations. 2019-09-18 19:19:34 +02:00
Jan Høydahl
fce0a5d45b SOLR-13767: Upgrade jackson to 2.9.9 (#886)
(cherry picked from commit b617769614a5dedf2bcbb317fcddc73711ac407f)
2019-09-17 01:17:44 +02:00
Andrzej Bialecki
2f701c6787 SOLR-9658: Max idle time support for SolrCache implementations. 2019-09-16 18:23:11 +02:00
Jan Høydahl
a5b5585822 SOLR-13238: BlobHandler generates non-padded md5
(cherry picked from commit 31735eeb402d7b00785bba484093b81107ffc2c9)
2019-09-14 22:26:59 +02:00
Thomas Wöckinger
f56aacd0a1 SOLR-13739: Optimized large managed schema modifications
Internal O(n^2) problem.
Fixes #855

(cherry picked from commit e788024b84b1402295d4fe6e0c8b818ae3772a52)
2019-09-13 12:36:44 -04:00
Jan Høydahl
4af601eb10 SOLR-13713: JWTAuthPlugin to support multiple JWKS endpoints
(cherry picked from commit 4599f6e9ee2a647c1d6861adfedb12e5cf74783d)
2019-09-10 13:04:21 +02:00
Andrzej Bialecki
37c224b9e0 SOLR-13742: Allow optional redaction of data saved by 'bin/solr autoscaling -save'.
Fix some unwanted side-effects in snapshots + add more robust unit tests.
2019-09-07 22:00:19 +02:00
Christine Poerschke
6b5759efaf SOLR-13240: Fixed UTILIZENODE action resulting in IllegalArgumentException.
(Hendrik Haddorp, Richard Goodman, Tim Owen, shalin, noble, Christine Poerschke)
2019-09-06 12:55:03 +01:00
David Smiley
3a20ebc3a6 SOLR-13728: fail partial updates to child docs when not supported.
(cherry picked from commit c8203e4787b8ad21e1270781ba4e09fd7f3acb00)
2019-09-05 23:18:15 -04:00
Chris Hostetter
96c9207f90 CHANGES fixup: SOLR-13709 -> SOLR-13717
(cherry picked from commit d1a4d1352538a0d967a12686ca903453d10c48c9)
2019-09-03 11:23:21 -07:00
Chris Hostetter
86e8c44be4 SOLR-13709: Fixed distributed grouping when multiple 'fl' params are specified
(cherry picked from commit 83cd54f80157916b364bb5ebde20a66cbd5d3d93)
2019-09-03 11:02:21 -07:00
Jan Høydahl
e8c2b6af2a SOLR-13122: Ability to query aliases in Solr Admin UI
(cherry picked from commit 52be32d4addbead8536dbde84ed8c80af4993b8b)
2019-08-30 14:38:53 +02:00
Mikhail Khludnev
c857c1da3d SOLR-13720: BlockJoinParentQParser.getCachedFilter made public 2019-08-29 17:39:59 +03:00
Ishan Chattopadhyaya
d606ffdea9 SOLR-13718: SPLITSHARD (async) with failures in underlying sub-operations can result in data loss
When SPLITSHARD is issued asynchronously, any exception in a sub-operation isn't propagated and the overall
  SPLITSHARD task proceeds as if there were no failures. This results in marking the active parent shard inactive
  and can result in two empty sub-shards, thus causing data loss.
2019-08-29 10:13:58 +05:30
Tomas Fernandez Lobbe
5aa9a02421 SOLR-13542: Move CHANGES entry to 8.3. Added contributor 2019-08-27 15:25:30 -07:00
noble
9d16380bce SOLR-13710: Persist package jars locally & expose them over http at /api/node/blob 2019-08-27 14:12:23 +10:00
noble
b7c9a9f4a1 SOLR-13699 - maxChars no longer working on CopyField with javabin 2019-08-26 09:02:09 +10:00
David Smiley
cac4d012e1 SOLR-11601: Improve geodist error message when using with LLPSF.
(cherry picked from commit f335ac9bbc52fef3468ca69890bf9ba95053f8b5)
2019-08-24 00:19:36 +02:00
Jan Høydahl
4c9691ef19 SOLR-13702: Some components register twice their metric names (#834)
(cherry picked from commit 0aa3654802fa8fd7da27c80619248b92b3ac6af5)
2019-08-23 16:22:32 +02:00
noble
e94a7b05fb SOLR-13707: API to expose the currently used package name, details for each plugin 2019-08-22 16:32:51 +10:00
Tomas Fernandez Lobbe
706059dded SOLR-13257: Support deterministic replica routing
Deterministic replica routing can help improve caching and allow a more consistent paging when sorting by score

This closes #677
2019-08-21 11:38:15 -07:00
Munendra S N
e584c9d140 SOLR-13704: correct error codes for client errors in expand component 2019-08-20 09:59:29 +05:30
noble
625e3f38b2 SOLR-13650: CHANGES.txt 2019-08-20 11:57:08 +10:00
Munendra S N
f749bd7bc4 SOLR-6328: return missing count for facet.missing=true even if limit=0
* facet.missing is independent of facet.limit. So, even for limit=0,
  missing counts should be return if facet.missing=true
2019-08-19 21:04:16 +05:30
noble
bad55fd51a SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them 2019-08-19 19:52:37 +10:00
Chris Hostetter
eb7e3b0114 SOLR-13701: Fixed JWTAuthPlugin to update metrics prior to continuing w/other filters or returning error
(cherry picked from commit f5856ef40479250abf496e684d88c54f27ee8e73)
2019-08-18 12:21:34 -07:00
Chris Hostetter
2ca46fb0a3 SOLR-13700: Fixed a race condition when initializing metrics for new security plugins on security.json change
(cherry picked from commit 251259d5abf94578b51da3efd05327da72667e7e)
2019-08-18 12:21:24 -07:00
Andrzej Bialecki
09bee6d57c SOLR-13694: IndexSizeEstimator NullPointerException. 2019-08-14 18:51:49 +02:00
Andrzej Bialecki
c48a3cd9dc SOLR-13693: Use strongly-typed setters for cache parameters. 2019-08-14 15:59:36 +02:00
Megan Carey
7fc5c0e07d SOLR-13399: Adding splitByPrefix param to IndexSizeTrigger; some splitByPrefix test and code cleanup 2019-08-12 16:03:51 -04:00
Jan Høydahl
5ecc6dfaf8 SOLR-13647: Default solr.in.sh contains incorrect default value
(cherry picked from commit d468d71c030dba77fb7e6bed295e5766248a5944)
2019-08-12 13:58:56 +02:00
Erick Erickson
5df5df9ec3 SOLR-13568: Precommit fail Java var until 9x. Fail var...
(cherry picked from commit f6f1b4244c40e5665b20a2a8ef9852c6dd827cb2)
2019-08-11 11:51:52 -04:00
Jason Gerlowski
a50927bac0 SOLR-13573: Add SolrRangeQuery getters for bounds 2019-08-11 09:04:14 -04:00
Munendra S N
4ac23230a4 SOLR-13680: use try-with-resource to close closeable resources
closes #822
2019-08-10 14:02:52 +05:30
noble
aec2eb0c9d SOLR-13682: command line option to export documents to a file 2019-08-10 17:44:52 +10:00
Shalin Shekhar Mangar
f4dc168301 SOLR-13141: CDCR bootstrap does not replicate index to the replicas of target cluster.
The leader node on the target cluster will now increment its term after bootstrap succeeds so that all replicas of this leader are forced to recover and fetch the latest index from the leader.

(cherry picked from commit e59f41b6712b4feb9b810b34108a43281c33e515)
2019-08-09 08:29:52 +05:30
Jason Gerlowski
299d92da5c SOLR-13622: Rename FilesStream -> CatStream
Also fixes an 'cat' OS-dependent bug in StreamExpressionTest.
2019-08-08 08:39:10 -04:00
Shalin Shekhar Mangar
de522052c8 SOLR-13674: NodeAddedTrigger does not support configuration of replica type hint.
A new replicaType property has been added to NodeAddTrigger so that new replicas of the given type are added when the preferredOp is addreplica. The default value of replicaType is `NRT`.

This closes #821.

(cherry picked from commit ed137dbe281cfb314af340673a7b646922a2e7d1)
2019-08-08 15:19:53 +05:30
Jan Høydahl
f853198f72 SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly
(Back ported from 8 commits on master branch)
2019-08-07 10:02:38 +02:00
yonik
d8f99a9986 SOLR-13399: ability to use id field for compositeId histogram 2019-08-06 14:11:12 -04:00
Bruno Roustant
445f4bf5c2 SOLR-11866: QueryElevationComponent match="subset" feature
Closes #780

(cherry picked from commit d97912529d5ec4e86a8b6def4103bc6f4fbfd24b)
2019-08-05 11:51:40 +02:00
Munendra S N
b4e49206ed SOLR-13679:Fix default style of [explain] registered in solrconfig.xml 2019-08-05 10:36:47 +05:30
Boris Pasko
858b97a144
SOLR-6305: Replication from filesysem defaults, not from server defaults
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-08-02 18:44:25 -04:00