Commit Graph

5195 Commits

Author SHA1 Message Date
Munendra S N 7752964e19 SOLR-13180: fix classCastEx in JSON Request API 2019-09-28 11:12:18 +05:30
Yonik Seeley ae72f4f542
SOLR-13399: add SPLITSHARD splitByPrefix docs (#903)
* SOLR-13399: add SPLITSHARD splitByPrefix docs

* SOLR-13727: CHANGES entry for bug
2019-09-27 12:07:42 -04:00
Chris Hostetter ec9780c8aa SOLR-13747: New TestSSLTestConfig.testFailIfUserRunsTestsWithJVMThatHasKnownSSLBugs() to give people running tests more visibility if/when they use a known-buggy JVM causing most SSL tests to silently SKIP 2019-09-26 14:12:20 -07:00
David Smiley 0d0af505a0 SOLR-13784: EmbeddedSolrServer coreName optional 2019-09-25 11:33:28 -04:00
Munendra S N cd9f3a9a46 SOLR-13022: validate sort parameters in JSON facet after parsing
* This fixes NPE in case of non-existent aggregate functions in sort/prelim_sort
* validate sort direction
2019-09-25 10:39:55 +05:30
Andrew Hind d279fe8a80 LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871)
* SOLR-13752: MoreLikeThis MLT is biased for uncommon fields
2019-09-24 21:58:26 -07:00
Gus Heck d75f027912 SOLR-11492 - clean up /solr/cloud-dev and add a well documented script. 2019-09-21 08:39:48 -04:00
Munendra S N 43ee86a3d0 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 11:46:11 +05:30
Munendra S N 59fe7b7d9f 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:03:51 +05:30
Munendra S N c22379253c 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 10:58:31 +05:30
Jason Gerlowski e66741aecf
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:50:52 -04:00
Dawid Weiss 2a1d5eea42 SOLR-13779: Use the safe fork of simple-xml for clustering contrib 2019-09-19 12:24:26 +02:00
Jan Høydahl dd729549b5
SOLR-13734 JWTAuthPlugin to support multiple issuers (#860) 2019-09-19 09:50:20 +02:00
Houston Putman c7f8487328 SOLR-13773: Prometheus Exporter GC and Heap options (#887)
* SOLR-13773: Prometheus Exporter GC and Heap options

* Adding info to the ref-guide.
2019-09-18 13:31:53 -07:00
Andrzej Bialecki 6a8cfddf30 SOLR-13763: Improve the tracking of "freedisk" in autoscaling simulations. 2019-09-18 19:18:47 +02:00
Jan Høydahl b617769614
SOLR-13767: Upgrade jackson to 2.9.9 (#886) 2019-09-17 01:13:23 +02:00
Andrzej Bialecki e04917dc9f SOLR-9658: Max idle time support for SolrCache implementations. 2019-09-16 16:50:07 +02:00
Jan Høydahl 31735eeb40 SOLR-13238: BlobHandler generates non-padded md5 2019-09-14 22:23:17 +02:00
Thomas Wöckinger e788024b84 SOLR-13739: Optimized large managed schema modifications
Internal O(n^2) problem.
Fixes #855
2019-09-13 12:35:27 -04:00
Jan Høydahl 4599f6e9ee SOLR-13713: JWTAuthPlugin to support multiple JWKS endpoints 2019-09-10 13:01:47 +02:00
Andrzej Bialecki 6f22bf0964 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 12:09:09 +02:00
Christine Poerschke 6574ae63d4 SOLR-13240: Fixed UTILIZENODE action resulting in IllegalArgumentException.
(Hendrik Haddorp, Richard Goodman, Tim Owen, shalin, noble, Christine Poerschke)
2019-09-06 12:36:33 +01:00
David Smiley c8203e4787 SOLR-13728: fail partial updates to child docs when not supported. 2019-09-05 23:16:55 -04:00
Chris Hostetter d1a4d13525 CHANGES fixup: SOLR-13709 -> SOLR-13717 2019-09-03 11:23:08 -07:00
Chris Hostetter 83cd54f801 SOLR-13709: Fixed distributed grouping when multiple 'fl' params are specified 2019-09-03 11:01:58 -07:00
Tomoko Uchida 66d7dffc79 SOLR-13691: Add example field type configurations using name attributes to Ref Guide 2019-09-01 01:32:10 +09:00
Tomoko Uchida 77c1ed7d16 SOLR-13690: Migrate field type configurations in default/example schema files to look up factories by 'name' 2019-08-31 23:06:32 +09:00
Jan Høydahl 52be32d4ad SOLR-13122: Ability to query aliases in Solr Admin UI 2019-08-30 14:16:58 +02:00
Mikhail Khludnev 6dea678439 SOLR-13720: BlockJoinParentQParser.getCachedFilter made public 2019-08-29 17:37:48 +03:00
Marcus b37d92bfee SOLR-13649 change the default behavior of the basic authentication plugin. (#805)
SOLR-13649: Property 'blockUnknown' of BasicAuthPlugin and JWTAuthPlugin now defaults to 'true'. This change is backward incompatible. To achieve the previous default behavior, explicitly set 'blockUnknown':'false' in security.json
2019-08-29 10:57:50 +05:30
Ishan Chattopadhyaya a8d5bd34bf 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:04:08 +05:30
Tomas Fernandez Lobbe 7b589ad769 SOLR-13542: Move CHANGES entry to 8.3. Added contributor 2019-08-27 15:15:43 -07:00
Tomas Fernandez Lobbe 00f4bbe6fc
Merge pull request #717 from KoenDG/SOLR-13542
SOLR-13542: Code cleanup - Avoid using stream filter count where possible
2019-08-27 11:37:39 -07:00
noble 764747e8b2 SOLR-13710: Persist package jars locally & expose them over http at /api/node/blob 2019-08-27 14:08:17 +10:00
KoenDG e2a285b6df Code changes and CHANGES.txt editted.
The majority of the code seems to already be using anyMatch and noneMatch logic, these few remaining instances were using count() and comparing the result to 0.
This changes everything to anyMatch and noneMatch, which is also potentially more performant.

Extra newline.
2019-08-26 22:16:20 +02:00
noble 0ad8c1f302 SOLR-13699 - maxChars no longer working on CopyField with javabin 2019-08-26 09:00:54 +10:00
David Smiley f335ac9bbc SOLR-11601: Improve geodist error message when using with LLPSF. 2019-08-24 00:18:48 +02:00
Tomas Fernandez Lobbe 180f6d2ec9 SOLR-13655: Added CHANGES entry 2019-08-23 14:34:23 -07:00
Jan Høydahl 0aa3654802
SOLR-13702: Some components register twice their metric names (#834) 2019-08-23 15:23:58 +02:00
noble 1cbc5eaf51 SOLR-13707: API to expose the currently used package name, details for each plugin 2019-08-22 16:29:20 +10:00
Tomas Fernandez Lobbe 8f4103dd4b 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:31:12 -07:00
Munendra S N 540de65e14 SOLR-13704: correct error codes for client errors in expand component 2019-08-20 09:44:05 +05:30
noble aa4ba2f797 SOLR-13650: CHANGES.txt 2019-08-20 11:52:41 +10:00
Munendra S N 0654c2496d 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 20:46:04 +05:30
noble 6c94f659d2 SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them 2019-08-19 19:51:26 +10:00
Chris Hostetter f5856ef404 SOLR-13701: Fixed JWTAuthPlugin to update metrics prior to continuing w/other filters or returning error 2019-08-18 12:20:51 -07:00
Chris Hostetter 251259d5ab SOLR-13700: Fixed a race condition when initializing metrics for new security plugins on security.json change 2019-08-18 12:18:54 -07:00
Andrzej Bialecki 7c2d45d53e SOLR-13694: IndexSizeEstimator NullPointerException. 2019-08-14 17:57:13 +02:00
Andrzej Bialecki a4ff429ab0 SOLR-13693: Use strongly-typed setters for cache parameters. 2019-08-14 15:58:39 +02:00
Megan Carey 768ca7c5a7 SOLR-13399: Adding splitByPrefix param to IndexSizeTrigger; some splitByPrefix test and code cleanup 2019-08-12 15:59:45 -04:00
Jan Høydahl d468d71c03 SOLR-13647: Default solr.in.sh contains incorrect default value 2019-08-12 13:56:35 +02:00
Erick Erickson f6f1b4244c SOLR-13568: Precommit fail Java var until 9x. Fail var... 2019-08-11 11:49:54 -04:00
Jason Gerlowski 52f1108a0e SOLR-13573: Add SolrRangeQuery getters for bounds 2019-08-11 09:02:38 -04:00
Tomoko Uchida 9b986d268f SOLR-13593: Allow to look up analyzer components by their SPI names in field type configuration. 2019-08-11 16:35:25 +09:00
Munendra S N 9546d8612c SOLR-13680: use try-with-resource to close closeable resources
closes #822
2019-08-10 13:51:11 +05:30
noble 1c9e0b8644 SOLR-13682: command line option to export documents to a file 2019-08-10 17:49:57 +10:00
Shalin Shekhar Mangar e59f41b671 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.
2019-08-09 08:28:52 +05:30
Jason Gerlowski 2eb493d170 SOLR-13622: Rename FilesStream -> CatStream
Also fixes an 'cat' OS-dependent bug in StreamExpressionTest.
2019-08-08 08:38:21 -04:00
Shalin Shekhar Mangar ed137dbe28 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.
2019-08-08 15:14:55 +05:30
Jan Høydahl 64884be044
SOLR-13672: Zk Status page now parses response from Zookeeper 3.5.5 correctly (#818)
* SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly
2019-08-07 09:10:37 +02:00
yonik 19ddcfd282 SOLR-13399: ability to use id field for compositeId histogram 2019-08-06 14:10:20 -04:00
Jan Høydahl 108381766a CHANGES 2019-08-06 15:16:29 +02:00
Jan Høydahl 5ff709d4bd Merge remote-tracking branch 'origin/master' into solr13672-zk
# Conflicts:
#	solr/CHANGES.txt
2019-08-06 15:14:55 +02:00
Bruno Roustant d97912529d SOLR-11866: QueryElevationComponent match="subset" feature
Closes #780
2019-08-05 11:23:47 +02:00
Munendra S N 6fc042dd6d SOLR-13679: move changes entry to bug fix section 2019-08-05 10:40:22 +05:30
Munendra S N 84a62a5d87 SOLR-13679:Fix default style of [explain] registered in solrconfig.xml 2019-08-05 10:04:15 +05:30
Boris Pasko 901f381c61
SOLR-6305: Replication from filesysem defaults, not from server defaults
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-08-02 18:43:26 -04:00
Jan Høydahl 1123afae94 SOLR-13672: Cloud -> Zk Status page now parses response from Zookeeper 3.5.5 correctly 2019-08-02 13:01:20 +02:00
Chris Hostetter ab470a6564 SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore() 2019-08-01 09:15:18 -07:00
noble daab5b11b2 SOLR-13659: Refactor CacheConfig to lazily load the the implementation class 2019-07-31 18:46:22 +10:00
Chris Hostetter 6dea203d11 SOLR-13660: Fixed AbstractFullDistribZkTestBase.waitForActiveReplicaCount() to ensure replicas are active. 2019-07-30 10:14:38 -07:00
Munendra S N cb94eeb491 SOLR-11266: remove content-type override from _default configSet 2019-07-30 10:06:56 +05:30
Munendra S N 9f74cb10d3 SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res 2019-07-29 09:48:31 +05:30
Jason Gerlowski cab83772c9 SOLR-13629: Cleanup whitespace in analytics contrib 2019-07-28 15:36:21 -04:00
Jason Gerlowski dc8e9afff9 SOLR-13622: Add fileStream stream-source 2019-07-25 09:13:00 -04:00
Andrzej Bialecki d92159b896 SOLR-13558: Allow dynamic resizing of SolrCache-s. 2019-07-23 12:21:21 +02:00
Mikhail Khludnev c173c2e863 SOLR-11556: fixing multiple backup repository support. 2019-07-21 13:04:48 +03:00
Munendra S N b5a190b576 SOLR-10377: add debug.explain.structured to Admin UI
* This param would be displayed only if debugQuery is selected
2019-07-20 10:41:57 +05:30
Munendra S N 96d400f511 SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:10:32 +05:30
noble 69779d0a63 SOLR-13565: Node level runtime libs loaded from remote urls
SOLR-13553: Node level custom RequestHandlers
2019-07-20 14:33:31 +10:00
yonik c5cabf1e03 SOLR-13399: SPLITSHARD splitByPrefix for compositeId 2019-07-19 11:35:01 -04:00
Gus Heck b619bcd1fa SOLR-13375 - CHANGES.txt - Probably should be in a new features section 2019-07-19 11:06:01 -04:00
Gus Heck 785b658427 SOLR-13375 - CHANGES.txt entry 2019-07-19 10:11:22 -04:00
Christine Poerschke 5e3947091a SOLR-13585: Factor out SearchGroupsResultTransformer.[de]serializeOneSearchGroup methods. (Christine Poerschke, Diego Ceccarelli) 2019-07-18 14:23:32 +01:00
Munendra S N 1fc416404c SOLR-13206: Fix AIOOBE when group.facet is specified with group.query
group.facet is supported only for group.field. When group.facet is
used with group.query, then return proper error code
2019-07-18 11:08:17 +05:30
Munendra S N 1ecd02deb5 SOLR-12368: inplace update for field that doesn't yet exist in any doc
If the field is non-stored, non-indexed and docvalue enabled numeric field
then inplace update can be done. previously, lucene didn't support
docvalue update for field that is not yet present in indexWriter but
LUCENE-8316 added support for this.
This adds support to update field which satisfies inplace conditions
but which doesn't yet exist in any docs
2019-07-17 21:45:15 +05:30
Erik Hatcher 96dc45b649 Add changes blurb 2019-07-17 12:03:16 -04:00
iverase 41ae03a9a0 LUCENE-8923: Add Lucene-8.3 entry in CHANGES.txt 2019-07-17 13:53:21 +02:00
Ishan Chattopadhyaya 26ede632e6 SOLR-13619: Kerberos plugin to forward original user principal 2019-07-15 15:10:07 +05:30
Ishan Chattopadhyaya 7e0af71c1e SOLR-13472: Forwarded requests should skip authorization on receiving nodes 2019-07-15 14:43:41 +05:30
Tomoko Uchida 1a53d86882 Update solr/CHANGES.txt for SOLR-13588 and SOLR-13602. 2019-07-14 14:50:04 +09:00
David Smiley aab166d830 CHANGES.txt: separate improvements to dedicated section 2019-07-11 23:11:20 -04:00
Chris Hostetter f85a78c441 SOLR-13532: Fix http timeout and error logging bugs in RecoveryStrategy 2019-07-11 14:04:46 -07:00
David Smiley b17740b4b5 CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:37:37 -04:00
David Smiley 9c684bbdfa CHANGES.txt: separate improvements to dedicated section 2019-07-10 22:35:08 -04:00
Noble Paul 404cf4947d
SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly 2019-07-05 14:47:31 +10:00
Anshum Gupta b7090d9c25
SOLR-13507: Remove support for addr parameter from the /solr/admin/zookeeper endpoint. (#759) 2019-07-03 10:50:01 -07:00
Munendra S N 96860eb181 SOLR-13596: remove deprecated groupSpec methods 2019-07-03 20:55:56 +05:30
Andrzej Bialecki 5897787291 SOLR-13003: Query Result Cache does not honour maxRamBytes parameter. 2019-07-03 17:03:43 +02:00
Munendra S N e3d247f288 SOLR-13603: remove deprecated groupSpec methods usage
This is precursor to removing deprecated methods
2019-07-03 19:33:08 +05:30