Commit Graph

4967 Commits

Author SHA1 Message Date
Andrzej Bialecki 02c4503f8c SOLR-13262: Add collection RENAME command and support using aliases in most collection admin commands. 2019-04-10 18:56:39 +02:00
Uwe Schindler eafe42f090 SOLR-13388: Fix FileExchangeRateProvider to be a public class, as it appears in schema.xml 2019-04-10 18:53:51 +02:00
Moshe 8527ec11af SOLR-12638: Partial/Atomic updates of nested docs.
and [child] now works in RTG.
2019-04-10 03:02:59 -04:00
Erick Erickson 7602f3c78e SOLR-12809: Document recommended Java/Solr combinations 2019-04-05 10:20:57 -07:00
Joel Bernstein 32fe892293 SOLR-13374: Update CHANGES.txt 2019-04-05 09:08:30 -04:00
Jan Høydahl 96ef35cd2c SOLR-13344: Admin UI inaccessible with RuleBasedAuthorizationPlugin 2019-04-04 16:07:23 +02:00
Jan Høydahl 361502da8a SOLR-12120: New AuditLoggerPlugin type allowing custom Audit logger plugins 2019-04-04 15:48:51 +02:00
Jason Gerlowski 9b44fba0d4 SOLR-13331: Fix AtomicUpdate 'remove' ops in SolrJ
The racent change introducing ByteArrayUtf8CharSequence altered the
NamedLists produced by atomic-update requests so that they include
instances of this class for requests coming in as javabin.  This is a
problem for 'remove' atomic-updates, which need to be able to compare
these ByteArrayUtf8CharSequence instances with existing field values
represented as Strings.  equals() would always return false, and
'remove' operations would have no effect.

This commit converts items as necessary to allow atomic-update
operations to work as expected.
2019-04-04 06:51:28 -04:00
Jason Gerlowski ec1d13a372 SOLR-13355: Add missing CHANGES.txt entry 2019-04-03 07:42:27 -04:00
erick 58376874aa SOLR-13363: Upgrade to ZooKeeper 3.4.14 2019-04-02 20:18:01 -07:00
Jason Gerlowski 2480b74887 SOLR-13362: Add 'includeIndexFieldFlags' in LukeRequest 2019-04-01 20:40:18 -04:00
Chris Hostetter 1071d09336 SOLR-13352: Remove risk of deadlock/threadleak when shutting down an Overseer(TriggerThread) 2019-04-01 10:34:51 -07:00
Kevin Risden a99cec0402
SOLR-13359: Make UpdateHandler support other prefixes (besides hdfs:/)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-31 10:45:57 -04:00
Kevin Risden 42f8203fc3
SOLR-11473: Make HDFSDirectoryFactory support other prefixes (besides hdfs:/)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-30 14:26:00 -04:00
erick b2941ff0da SOLR-13349:High CPU usage in Solr due to Java 8 bug 2019-03-28 15:49:54 -07:00
Kevin Risden 8d658a8cfb
SOLR-13353: Add SolrCli AuthTool test
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-28 14:08:07 -04:00
Kevin Risden 90d983cf7c
SOLR-13351: Workaround for VELOCITY-908
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-27 17:42:55 -04:00
Ishan Chattopadhyaya e7939d5907 SOLR-7414: CSVResponseWriter & XLSXResponseWriter return empty field when fl alias is combined with * selector 2019-03-27 14:38:36 +05:30
Kevin Risden 361d1e84ce
SOLR-13112: Upgrade jackson to 2.9.8
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 10:38:00 -04:00
Kevin Risden 11542aebce
Fix solr/CHANGES.txt
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 10:21:02 -04:00
Kevin Risden 4e230388ba
SOLR-13335: Upgrade to velocity 2.0 and velocity-tools 3.0
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 09:58:44 -04:00
Kevin Risden 0231c1ecb6
SOLR-13342: Remove dom4j from Solr
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 08:15:01 -04:00
Gus Heck dad414ca22 SOLR-13323 - remove unused csv related classes/tests 2019-03-24 20:01:46 -04:00
Gus Heck c60685f9e4 SOLR-13324 - Don't swallow/print exception in URLClassifyProcessor anymore 2019-03-24 19:07:26 -04:00
Shalin Shekhar Mangar bca22d58e2 SOLR-11126: Move change log entry under 8.0 2019-03-22 07:31:06 +05:30
Kevin Risden 6222abf448
SOLR-9079: Remove commons-lang as a dependency
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-20 19:37:19 -04:00
David Smiley 85a702cdff SOLR-13253: avoid using IndexSchema.getResourceLoader for non-schema things.
Furthermore it's reference to SolrConfig was removed.
2019-03-19 13:51:44 -04:00
Bar Rotstein 5b7866b085 SOLR-12955: Refactored DistributedUpdateProcessor to put SolrCloud specifics into a subclass
Closes #528
2019-03-19 13:26:31 -04:00
Andrzej Bialecki 6f2b7bf5c0 SOLR-11127: REINDEXCOLLECTION command for re-indexing of existing collections. 2019-03-19 13:42:59 +01:00
Kevin Risden 9fea3060b9
SOLR-8033: Remove debug if branch in HdfsTransactionLog
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-19 06:20:09 -04:00
Kevin Risden cf828163bd
SOLR-13330: Improve HDFS tests
Related JIRAs:
* SOLR-11010
* SOLR-11381
* SOLR-12040
* SOLR-13297

Changes:
* Consolidate hdfs configuration into HdfsTestUtil
* Ensure socketTimeout long enough for HDFS tests
* Ensure HdfsTestUtil.getClientConfiguration used in tests
* Replace deprecated HDFS calls
* Use try-with-resources to ensure closing of HDFS resources

Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-18 15:25:36 -04:00
Jan Høydahl 8f29d1eaad
SOLR-13244: Nodes view fails when a node is temporarily down 2019-03-15 13:30:02 +01:00
Moshe c2a6772f1e SOLR-13129: nested docs: add more/better documentation in Solr ref-guide 2019-03-14 09:11:24 -04:00
Gus Heck d8f2a02fdb SOLR-13131 Category Routed Aliases 2019-03-13 01:32:23 -04:00
Gus Heck 9edc557f45 SOLR-12891 MacroExpander will no longer will expand URL parameters by
default inside of the 'expr' parameter, add InjectionDefense class
for safer handling of untrusted data in streaming expressions and add
-DStreamingExpressionMacros system property to revert to legacy behavior
2019-03-12 10:46:30 -04:00
Kevin Risden 6777af074f
SOLR-13307: Ensure HDFS tests clear System properties they set (Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-11 11:13:37 -04:00
Mikhail Khludnev e353dcfe7d SOLR-13284: fallback to json instead of NPE and 500 code, when wt is omitted or wrong. 2019-03-10 23:10:38 +03:00
erick 9272c29539 SOLR-13268: Clean up any test failures resulting from defaulting to async logging 2019-03-10 11:05:00 -07:00
Andrzej Bialecki 27df824a4b SOLR-13292: Provide extended per-segment status of a collection. 2019-03-09 14:08:01 +01:00
Jan Høydahl 9eabaf46a2 SOLR-12121: Move CHANGES entry from Improvements to New Features section 2019-03-08 22:08:31 +01:00
Christine Poerschke 683aa3d3e9 SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke) 2019-03-07 20:17:31 +00:00
Erick Erickson 1e09268e78 SOLR-13261: Make SortableTextField work with export/streaming, now requires useDocValuesAsStored='true' 2019-03-07 10:59:20 -08:00
Uwe Schindler db5f1af59b Fix Windows startup script to disable HTTP/2 if TLS is enabled on Java 8. 2019-03-07 14:16:36 +01:00
Erick Erickson 558c515bf3 SOLR-13295: Reproducible failure in TestDistributedGrouping 2019-03-05 13:56:40 -08:00
Ishan Chattopadhyaya aeb0774b38 Adding 7.7.1 version 2019-03-06 01:00:20 +05:30
Andrzej Bialecki 0bc26d07ad SOLR-13271: Read-only mode for SolrCloud collections. 2019-03-05 17:16:25 +01:00
Joel Bernstein 34382407ef SOLR-13287: Update CHANGES.txt 2019-03-05 10:11:59 -05:00
Noble Paul 7771d7bb84 SOLR-13285: Updates with enum fields and javabin cause ClassCastException 2019-03-05 06:11:50 +11:00
Cao Manh Dat f4f3277980 SOLR-13276: Move change entry to 8.1 2019-03-04 15:50:53 +00:00
Mikhail Khludnev b8d569aff0 SOLR-9882: reporting timeAllowed breach as partialResults instead of 500 error 2019-03-04 17:41:57 +03:00
Cao Manh Dat e99934b240 SOLR-13276: Adding Http2 equivalent classes of CloudSolrClient and HttpClusterStateProvider 2019-03-04 09:41:45 +00:00
Shalin Shekhar Mangar 1f9c767aac SOLR-13234: Prometheus Metric Exporter not threadsafe.
This changes the prometheus exporter to collect metrics from Solr on a fixed interval controlled by this tool and prevents concurrent collections. This change also improves performance slightly by using the cluster state instead of sending multiple HTTP requests to each node to lookup all the cores.

This closes #571.
2019-03-04 11:02:47 +05:30
Joel Bernstein f9b3004d01 SOLR-10436: Update CHANGES.txt 2019-02-28 09:32:24 -05:00
Kevin Risden 15f3c3b0e6
SOLR-7321: Remove reflection in FSHDFSUtils.java (Mike Drob, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-27 13:57:40 -05:00
Mikhail Khludnev 58beaeb74d SOLR-13227: don't throw exceptions for counting facet.range.other. 2019-02-26 23:38:51 +03:00
Kevin Risden 8f78c0591c
SOLR-9762: Remove the workaround implemented for HADOOP-13346 (Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-26 14:52:32 -05:00
Kevin Risden 9753e00294
SOLR-13074: MoveReplicaHDFSTest leaks threads, falls into an endless loop, logging like crazy (Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-26 14:48:47 -05:00
Kevin Risden 6a886b274d
SOLR-13060: Improve HdfsAutoAddReplicasIntegrationTest and HdfsCollectionsAPIDistributedZkTest
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-25 11:14:37 -05:00
Kevin Risden 9e7ec87f23
SOLR-9763: Remove the workaround implemented for HADOOP-12767 (Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-24 14:23:27 -05:00
Mikhail Khludnev 52097627f8 SOLR-11883: reporting syntax errors as Bad Request instead of 500. 2019-02-23 23:55:55 +03:00
Erick 0de3905ce7 SOLR-12055: Enable async logging by default SOLR-12753: Async logging ring buffer and OOM error 2019-02-22 12:27:02 -08:00
Erick Erickson 6b4e90617d SOLR-13261: Make SortableTextField work with export/streaming 2019-02-22 11:04:31 -08:00
Tomas Fernandez Lobbe bcd90f1561
SOLR-12708: CREATE collection request doesn't fail or cleanup when the request fails (#568)
When performing an async CREATE requests, responses to internal requests are also included inside the "success" or "failed" elements of the general response. This will make the operation cleanup in case of failure, the same way as we do when the request is synchronous.
2019-02-20 13:24:46 -08:00
Kevin Risden 86fe24cbef
SOLR-13222: Improve logging in StreamingSolrClients (Peter Cseh via Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-20 10:29:22 -05:00
Noble Paul a89b065c1f SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression in release 7.7 2019-02-20 22:19:18 +11:00
Kevin Risden af3ff118ef
SOLR-11763: Upgrade Guava to 25.1-jre (Markus Jelsma, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-19 17:27:58 -05:00
shalinmangar 97875af3f9 SOLR-13248: Adding upgrade notes which explain the problem and the mitigation as well as steps to revert to the old behavior 2019-02-18 13:56:24 -08:00
shalinmangar 7e2d40197c SOLR-13248: Autoscaling based replica placement is broken out of the box.
Solr 7.5 enabled autoscaling based replica placement by default but in the absence of default cluster policies, autoscaling can place more than 1 replica of the  same shard on the same node. Also, the maxShardsPerNode and createNodeSet was not respected. Due to these reasons,  this issue reverts the default replica placement policy to the 'legacy' assignment policy that was the default until Solr 7.4.
2019-02-18 13:46:05 -08:00
Ishan Chattopadhyaya 6a0f7b251d SOLR-11876: In-place updates fail during resolution if required fields are present 2019-02-18 14:33:28 +05:30
Tomas Fernandez Lobbe 8ac34c2d6d SOLR-13229: Cleanup replicasMetTragicEvent after all exceptions 2019-02-15 14:51:35 -08:00
Alan Woodward 10acaf02f8 SOLR-13126: Correctly combine multiplicative query boosts 2019-02-15 10:09:26 +00:00
Jason Gerlowski a084cc1e33 SOLR-13241: Add 'autoscaling' tool to solr.cmd
Prior to this commit, SOLR-13155 added support for an 'autoscaling' tool
to bin/solr, but not to the Windows equivalent bin/solr.cmd.  This
commit adds the necessary plumbing to the Windows version of this
script.  It also removes some dead help-text from the bin/solr script.
2019-02-13 10:48:31 -05:00
Noble Paul cfefdade5f SOLR-13171 : A true streaming parser for javabin payload/stream without creating any objects 2019-02-13 18:23:43 +11:00
Andrzej Bialecki 242ff88e02 SOLR-13155: Add command-line option for testing autoscaling configurations. 2019-02-12 11:53:15 +01:00
Mikhail Khludnev bf69a40d16 SOLR-12330: rethow NPEs and other json.facet syntax errors properly as 400 2019-02-09 23:57:30 +03:00
Noble Paul 1d13d3df03 SOLR-12999: Index replication could delete segments before downloading segments from master if there is not enough disk space 2019-02-06 23:16:05 +11:00
Jan Høydahl 430a810006 SOLR-12121: Move CHANGES entry to 8.1.0 after merge to branch_8x 2019-02-06 09:16:58 +01:00
Joel Bernstein 49dc7a9cf7 SOLR-13146: Update CHANGES.txt 2019-02-03 18:22:49 -05:00
David Smiley 372d68f7f6 SOLR-5211: Document that delete-by-id (and updates) don't affect child/nested docs 2019-02-01 15:21:16 -05:00
markrmiller 4a3ddc94d8
SOLR-9515: Update to Hadoop 3 (Mark Miller, Kevin Risden)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-02-01 15:04:56 -05:00
Kevin Risden e4f202c1e3
Revert "SOLR-9515: Update to Hadoop 3"
This reverts commit 6bb24673f4.
2019-01-31 19:46:02 -05:00
markrmiller 6bb24673f4
SOLR-9515: Update to Hadoop 3
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-01-31 13:00:20 -05:00
Joel Bernstein 2beb853cb3 SOLR-13147: Update CHANGES.txt 2019-01-30 14:49:45 -05:00
Joel Bernstein 79d0dabed4 SOLR-13104: Update CHANGES.txt 2019-01-29 22:01:05 -05:00
Joel Bernstein 25478979b1 SOLR-13134: Update CHANGES.txt 2019-01-29 21:55:21 -05:00
Joel Bernstein a10a989263 SOLR-13088: Update CHANGES.txt 2019-01-29 21:45:55 -05:00
Joel Bernstein 239905edf7 SOLR-12984: Update CHANGES.txt 2019-01-29 21:30:19 -05:00
jimczi cf39708609 Add next minor release version 8.1.0 2019-01-29 14:12:38 +01:00
David Smiley 381a30b26c SOLR-12768: added _nest_path_ to the default schema (thereby enabling nested docs)
* new NestPathField encapsulating details for how _nest_path_ is indexed
** tweaked the analysis to index 1 token instead of variable
* TokenizerChain has new CustomAnalyzer copy-constructor
2019-01-28 13:25:06 -05:00
Mikhail Khludnev 43f2723213 SOLR-13156: support facet.sort for facet.field={!terms=foo,bar}field 2019-01-28 15:27:09 +03:00
Noble Paul 250d21da94 SOLR-13130: during the ResponseBuilder.STAGE_GET_FIELDS directly copy string bytes and avoid creating String Objects 2019-01-27 16:02:11 +11:00
Chris Hostetter ec68359065 SOLR-13168: Fixed a bug in TestInjection that caused test only code to be invoked when TLOG replicas recieved commits if java assertions were enabled
(see also: SOLR-12313)
2019-01-25 15:50:46 -07:00
Tomas Fernandez Lobbe 0bd1911db6 SOLR-12373: Let DocBasedVersionConstraintsProcessor define fields to use in tombstones
A new config option, "tombstoneConfig" allows the DocBasedVersionConstraintsProcessor
to add extra fields to the tombstone generated when a document is deleted. This can
be useful when the schema has required fields.
2019-01-25 13:38:18 -08:00
Mikhail Khludnev c317119654 SOLR-13029: configure buffer size in HdfsBackupRepository. 2019-01-24 18:06:09 +03:00
Andrzej Bialecki a3fe51ffac SOLR-9735: Update CHANGES and the ref guide. 2019-01-23 15:10:22 +01:00
Jan Høydahl ea2c8ba38e SOLR-12121: JWT Token authentication plugin with OpenID Connect implicit flow login through Admin UI 2019-01-23 13:03:01 +01:00
Erick Erickson 60aef389cf SOLR-11998:RebalanceLeaders API broken response format with wt=JSON 2019-01-20 23:13:19 -06:00
Erick Erickson a692d05a90 SOLR-13091: REBALANCELEADERS is broken 2019-01-19 19:20:39 -08:00
Cao Manh Dat 75a7827bf4 Add note about removing of LIR in Solr 8 2019-01-17 16:37:19 +00:00
Cao Manh Dat 8e7a135496 Upgrade CHANGES.txt for http2 changes 2019-01-17 16:31:09 +00:00