Commit Graph

13331 Commits

Author SHA1 Message Date
Noble Paul d514beab94
SOLR-13534: Dynamic loading of jars from a remote url (#712)
* SOLR-13534 : Dynamic loading to support loading jars from a URL
2019-06-17 16:49:31 +10:00
Ishan Chattopadhyaya ded3b77171 SOLR-13434: Fixing documentation regarding samplePercentage clusterprop 2019-06-16 22:52:10 +05:30
Joel Bernstein 412496a994 SOLR-13552: Update CHANGES.txt 2019-06-15 14:32:01 -04:00
Joel Bernstein 03e7205c89 SOLR-13552: Add recNum Stream Evaluator 2019-06-15 13:54:37 -04:00
Joel Bernstein abb5ea0a06 SOLR-13550: Update CHANGES.txt 2019-06-14 19:27:56 -04:00
Gus Heck 4ba4444154 SOLR-13551 Minor fix in aliases.adoc 2019-06-14 18:08:40 -04:00
Joel Bernstein 0038e93667 SOLR-13550: Allow zplot to automatically create the x axis 2019-06-14 17:49:03 -04:00
Gus Heck 5d550a34a9 SOLR-13420 Routed Aliases now use collection properties instead of core properties 2019-06-14 13:51:16 -04:00
Cao Manh Dat 8d48f9252f SOLR-13541: Upgrade solr/CHANGES.txt 2019-06-14 15:47:17 +01:00
Cao Manh Dat 0c24aa6c75 SOLR-13541: Upgrade Jetty to 9.4.19.v20190610 2019-06-14 15:46:19 +01:00
Mikhail Khludnev 2ee0b16bf1 SOLR-13333: make terms.ttf work without terms.list in standalone mode 2019-06-14 15:42:22 +02:00
Christine Poerschke 335aaf801e SOLR-13515: remove SolrPluginUtils.IdentityRegenerator in favour of NoOpRegenerator 2019-06-14 13:10:24 +01:00
Christine Poerschke 43fc05c1ed SOLR-13511: Add SearchHandler.newResponseBuilder method to facilitate custom plugins' maintenance of per-request state in a custom ResponseBuilder. (Ramsey Haddad, Christine Poerschke) 2019-06-14 13:10:24 +01:00
Erick Erickson 81e8b385a4 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-13 15:40:13 -07:00
Jan Høydahl 18f3a95e8e Merge remote-tracking branch 'origin/master' 2019-06-13 12:57:59 +02:00
Jan Høydahl bc97c4caa0 SOLR-8754: CHANGES 2019-06-13 12:57:39 +02:00
Benoit Vanalderweireldt 2c10b1de19 SOLR-8754: add tests for org.apache.solr.util.hll.NumberUtilTest (#15) 2019-06-13 12:57:13 +02:00
Dag Wieers 3dc1d5e64a SOLR-13546: Fix typo 'hightlight' in webapp query interface (#704)
Due to a typo in the webapp query interface, the used query string is incorrect.
2019-06-13 11:17:49 +02:00
Jan Høydahl 9a796117fe LUCENE-8820: Fix download links from ref-guide 2019-06-13 10:36:19 +02:00
Cassandra Targett 65b5391041 SOLR-13235: update doc links in apispec files to new pages 2019-06-12 19:03:21 -05:00
Cassandra Targett c8b38d8969 SOLR-13235: Split Collections API Ref Guide page into several smaller child pages 2019-06-12 19:03:21 -05:00
Noble Paul 299af0df4b
SOLR-13347: Transaction log to natively support UUID types 2019-06-13 09:00:58 +10:00
Thomas Wöckinger 828960927f SOLR-13347: Add support for reading/writing UUID from/to TransactionLog (#681)
SOLR-13347: Transaction log to natively support UUID types
2019-06-13 08:56:41 +10:00
Mikhail Khludnev 5ba6c0c7a2 SOLR-13509: add omitHeader=false for shards requests to avoid NPE on partialResuls check 2019-06-12 18:09:29 +02:00
Erick Erickson bfb5b41144 SOLR-12013: collections API CUSTERSTATUS command fails when configset missing 2019-06-11 15:56:02 -07:00
Gus Heck abeecfacd4 SOLR-13439 - Adds ability to locally cache collection properties for a specified duration. 2019-06-11 10:12:52 -04:00
Andrzej Bialecki e2832b37d7 Improve this test - instead of waiting a fixed amount of time wait until an update arrives.
Also, deal with partial updates.
2019-06-11 14:10:30 +02:00
Andrzej Bialecki 6527e74ed8 Improve the test by actually checking that the version of Aliases is
more recent, instead of simply waiting.
2019-06-11 12:13:54 +02:00
Jan Høydahl 1942f8cb69 Revert "SOLR-13526: @AwaitsFix failing tests"
This reverts commit 85abdbeb
2019-06-11 11:03:00 +02:00
Jan Høydahl 7466d16c43 SOLR-13371: Move changes entry on master branch to 8.2 where it should be 2019-06-10 23:50:12 +02:00
Jan Høydahl 27b1c36994
SOLR-13371 improve security chapters in refguide (#635) 2019-06-10 23:46:22 +02:00
Andrzej Bialecki 010466ec04 SOLR-13512: Raw index data analysis tool (extension of COLSTATUS collection command). 2019-06-10 19:21:46 +02:00
Koen De Groote 67104dd615 LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings (#707)
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.

ant tests have run, succeeded on local machine.

Removing test files from the changes.

Another suggested rework.
2019-06-10 18:07:43 +02:00
Tim Underwood 97ca9df7ef LUCENE-8834: Cache the SortedNumericDocValues.docValueCount() value whenever it is used in a loop (#698) 2019-06-10 08:56:21 +02:00
Gus Heck 3d57a323a9 SOLR-13131 Fix CHANGES.txt entry 2019-06-08 13:25:03 -04:00
Cassandra Targett 4130876510 Ref Guide: little typos 2019-06-07 17:31:46 -05:00
Cassandra Targett c598e27ae7 Ref Guide: minor typos/fixes for 8.1 ref guide 2019-06-07 13:47:26 -05:00
Cassandra Targett 24f7a0bf51 SOLR-12330: ref guide typos 2019-06-07 13:47:26 -05:00
Christine Poerschke 85f4029c5c SOLR-13496: Fix distributed grouping related NullPointerException in JSONWriter.writeSolrDocument 2019-06-07 16:05:10 +01:00
Jan Høydahl 85abdbebf5 SOLR-13526: @AwaitsFix failing tests 2019-06-07 08:34:17 +02:00
Cao Manh Dat 3364753661 SOLR-13434: Using back Java 9 type reference 2019-06-06 12:11:37 +01:00
Tomas Fernandez Lobbe f3148fa9e0 SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API) 2019-06-05 16:01:43 -07:00
Christine Poerschke 757e4548c7 SOLR-13518: extra assertNotNull info for SolrInfoBeanTest 2019-06-05 20:39:01 +01:00
Cao Manh Dat da832d4f3a SOLR-13434: Fixes problem on Java 8 build 2019-06-05 15:35:05 +01:00
Jan Høydahl be18d8eaa2 Add bugfix version 7.7.2 2019-06-05 02:31:09 +02:00
Chris Hostetter 92cf9d8758 Fix TestSort.testRandomFieldNameSorts typo that ccaused very sporadic but reproducible failures 2019-06-04 13:49:57 -07:00
Cao Manh Dat a8fc069395 SOLR-13434: Update CHANGES.txt 2019-06-04 20:07:04 +01:00
Cao Manh Dat 301ea0e462
SOLR-13434: OpenTracing support for Solr (#685) 2019-06-04 20:04:11 +01:00
Cao Manh Dat bd3cc0b6a1 SOLR-13510: Move entry of CHANGES.txt to 8.1.2 2019-06-04 20:02:56 +01:00
erick 7fb5b7ed35 SOLR-12249: Better error message when grouping on a tokenized (non SortableText) field in SolrCloud 2019-06-04 10:27:06 -07:00
Cao Manh Dat cee4ed783e SOLR-13510: Intermittent 401's for internode requests with basicauth enabled 2019-06-04 16:12:49 +01:00
noble b6d20b6f1b SOLR-13329: ref guide 2019-06-04 16:11:32 +10:00
noble 776ae37957 SOLR-13329: ref guide 2019-06-04 15:36:16 +10:00
erick 045ee7c0fa SOLR-8346: Upgrade Zookeeper to version 3.5.5. Update solrj/ivy.xml to match 8x precommit fix 2019-06-03 21:14:02 -07:00
Erick Erickson 7ebeab71f4 SOLR-8346: Upgrade Zookeeper to version 3.5.5 2019-06-03 17:50:35 -07:00
noble 040340af46 SOLR-13329: typo in CHANGES.txt 2019-06-03 21:59:16 +10:00
Noble Paul 0a41163d27
SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node (#694)
SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node
2019-06-03 18:13:18 +10:00
markrmiller b09d462ee4 SOLR-13489: Stop the leader from trying to rejoin the election on session expiration and harden our zk reconnect code path. 2019-06-02 22:56:56 -05:00
Noble Paul 808f934cee
SOLR-13504 improve autoscaling syntax by adding a nodeset attribute (#693)
* SOLR-13504:  more checks and tests
2019-06-02 18:54:28 +10:00
Noble Paul 1ff7b2942c
SOLR-13504: improve autoscaling syntax by adding a nodeset attribute (#691)
SOLR-13504: In autoscaling policies, use an explicit 'nodeset' attribute for filtering nodes instead of using them directly at the toplevel
2019-05-31 17:45:55 +10:00
Cassandra Targett 0c15f638e9 Ref Guide: fix bad link reference 2019-05-30 14:58:20 -05:00
Cassandra Targett b86dd59fe1 Ref Guide: expand abbreviations, standarize some spellings 2019-05-30 14:49:02 -05:00
Cassandra Targett df96a0e1b8 Ref Guide: fix title case for all section headings 2019-05-30 14:10:05 -05:00
Chris Hostetter 61279a2e79 Fix SolrExporterIntegrationTest to not make assumptions about the JVM that are not true on windows 2019-05-30 11:59:26 -07:00
Gus Heck 6ede32a079 SOLR-13491 - Touch-up test. Beasting failed 1/50 (5) Now passes 500/500 (20). 2019-05-30 10:05:32 -04:00
Gus Heck d0c1c36c91 SOLR-13491 - SolrZkClient's watch wrapper no longer allows zookeeper
to hold the same watch object multiple times.
2019-05-30 08:43:16 -04:00
Cassandra Targett 19fe85a3e9 SOLR-13262: Capitalize section heading; extensive copy editing throughout 2019-05-29 17:59:05 -05:00
Joel Bernstein f92424f8ab SOLR-13494: Update CHANGES.txt 2019-05-29 14:45:42 -04:00
Chris Hostetter c2b92f3015 Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1 2019-05-29 10:27:15 -07:00
Joel Bernstein 6ca372fcbb SOLR-13494: Add DeepRandomStream implementation 2019-05-29 12:53:10 -04:00
Cao Manh Dat 43397ff0a2 SOLR-13450: Backport the fix from CloudHttp2SolrClientTest 2019-05-29 16:55:58 +01:00
Christine Poerschke 90e0d1eba1 SOLR-12941: remove unused import in IndexSizeTriggerTest 2019-05-28 16:11:51 +01:00
Andrzej Bialecki 32ad372433 SOLR-12941: Fix IndexSizeTrigger to correctly work with "aboveBytes" and "splitMethod=link" parameters. 2019-05-28 11:34:57 +02:00
Noble Paul 6ac31c6db3
SOLR-13493: /autoscaling/suggestions to be able to filter by type (#686)
* SOLR-13493: /autoscaling/suggestions to be able to filter by type
2019-05-28 07:20:12 +10:00
Erick Erickson 57b64f2684 SOLR-12562: Reverting Clean up RealTimeGetComponent.toSolrDoc (sha 97e7d8a3d7 and 15aa9dfb3d) 2019-05-27 08:34:48 -07:00
Erick Erickson 97e7d8a3d7 SOLR-12652: Clean up RealTimeGetComponent.toSolrDoc 2019-05-26 08:23:53 -07:00
Chris Hostetter af4e1d324a Fix TestCloudSearcherWarming to work around SOLR-13490
Also clean up some crufty System.out/System.err pollution
2019-05-25 08:40:04 -07:00
Erick Erickson 379e6f64b8 SOLR-13454: Investigate ReindexCollectionTest failures 2019-05-23 08:43:34 -07:00
Noble Paul 123850d708 SOLR-13484: typo 2019-05-23 17:15:50 +10:00
Noble Paul c5e8fd3062
SOLR-13484: CHANGES.txt 2019-05-23 17:14:40 +10:00
Noble Paul e9d9f4dcc1 SOLR-13484: ref guide 2019-05-23 17:06:29 +10:00
Noble Paul 975a4f8f55 Merge remote-tracking branch 'origin/master' into jira/SOLR-13484 2019-05-23 16:59:14 +10:00
Noble Paul da5e46fc5a SOLR-13484: ref guide 2019-05-23 16:56:48 +10:00
Noble Paul a1c9f8f7db SOLR-13484: refactored code 2019-05-23 12:50:09 +10:00
Chris Hostetter 3ed31cfbc7 Fix TestStressCloudBlindAtomicUpdates to play nice with tests.dups 2019-05-22 11:22:52 -07:00
noble 750a5fdd02 SOLR-13484:
autoscaling/diagnostics APIshould be able to give diagnostics output from config pasted as a payload
2019-05-22 16:22:20 +10:00
Namgyu Kim 5a694ea26f LUCENE-8805: Parameter changes for stringField() in StoredFieldVisitor
Signed-off-by: Namgyu Kim <kng0828@gmail.com>
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2019-05-21 20:18:42 +02:00
Cassandra Targett 644af43c12 Ref Guide: Upgrade notes for Solr 8.1 2019-05-21 12:51:43 -05:00
Cassandra Targett 359a436c40 SOLR-13361: Add major changes in 8.0 for Ref Guide 2019-05-21 12:51:43 -05:00
Uwe Schindler c756b50ae4 LUCENE-8807: Change all download URLs in build files to HTTPS 2019-05-21 17:06:00 +02:00
Jan Høydahl 0cb92993db SOLR-13363: Fix zk version in "Version of major components" 2019-05-21 09:03:51 +02:00
Andrzej Bialecki ed4b789bf4 Add new version number for 8.1.1 release. Move the SOLR-13475 entry to the correct section. 2019-05-20 20:14:21 +02:00
Chris Hostetter 6cc67e433e SOLR-13474: Fix "Search is temporarily disabled" logic to be consistent for entire request
SOLR-13469: Fix rejected requests during full disk full + IndexFetch to use 503 not 403
2019-05-20 10:24:02 -07:00
Andrzej Bialecki 93e57e63cd SOLR-13475: Null Pointer Exception when querying collection through collection alias. 2019-05-20 15:19:35 +02:00
Andrzej Bialecki 62f969403a SOLR-13437: Add a missing package description. 2019-05-20 12:57:54 +02:00
Stefan Billet 2ad39e972d SOLR-12584: Describe getting Prometheus metrics from a secure Solr (#662) 2019-05-20 10:54:06 +02:00
Jan Høydahl 18cb42ee80 SOLR-13479: Harden OverseerTaskQueueTest 2019-05-17 20:54:46 +02:00
Alessandro Benedetti b9db118ed3 SOLR-12304: MLT component now supports mlt.interestingTerms 2019-05-16 23:11:43 -04:00
Noble Paul 9d7c1923e4 SOLR-13468: remove license files 2019-05-17 05:28:11 +10:00
Noble Paul 1581d798b4 SOLR-13468: unused imports 2019-05-17 04:12:42 +10:00
Cassandra Targett c726ada1d9 SOLR-13468: fix ref guide build failures 2019-05-16 05:36:25 -05:00
David Smiley 3a88ab616c SOLR-13467: Include the S2 Geometry lib to make it simpler to use prefixTree="s2" on a Geo3D spatial field.
* Improved documentation on Geo3D.
* Better testing for Geo3D.
2019-05-15 22:15:13 -04:00
Noble Paul bd64ed6d2a
SOLR-13437: fork noggit code into Solr (#666)
* SOLR-13437: fork noggit code into Solr
2019-05-16 11:10:27 +10:00
Noble Paul 82ede903f6 SOLR-13468: added ref-guide 2019-05-16 08:33:08 +10:00
Noble Paul c464d8a719
SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload (#678)
* SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload
2019-05-16 07:31:08 +10:00
Erick Erickson 9ff5eb30af SOLR-11558: It would be nice if the Graph section of the Cloud tab in the Admin UI could give some more information about the replicas of a collection 2019-05-15 11:35:18 -07:00
Chris Hostetter 7ef5d5fe5f SOLR-13440: fix precommit failures 2019-05-14 13:35:59 -07:00
Chris Hostetter bf8c6ea435 SOLR-12999: Harden TestReplicationHandlerDiskOverFlow against sporadic timing failures
- ensure IndexFetcher injection is reset in @After method
 - replace System.out with Logger
 - Log and fail on any exceptions in any callbacks/threads
 - use CyclicBarrier (instead of CountdownLatch) to ensure the Query Thread loop doesn't monopolize
   CPU preventing IndexFetcher callback from ever being run

(Some of these improvements directly address jenkins failures we've been seeing)
2019-05-14 13:35:19 -07:00
Dawid Weiss 3764c727e5 SOLR-13462: Update dependency definitions to include Ukrainian dictionary. 2019-05-14 21:29:52 +02:00
Andrzej Bialecki de29d0d948 SOLR-13440: Fix occasional test failures by providing assert helpers aware of simulation
artifacts.
2019-05-14 19:03:02 +02:00
Andrzej Bialecki 6f309dfa66 SOLR-13454: Fix the method's behavior which caused test failures due to collections disappearing during iteration. 2019-05-14 14:09:24 +02:00
Andrzej Bialecki 13d1c113c1 SOLR-13407: Make sure we always have the latest version of aliases in cache before asserting. 2019-05-14 13:42:00 +02:00
Andrzej Bialecki 2315c6d1b8 SOLR-13440: Fix a precommit issue. 2019-05-13 19:55:39 +02:00
Andrzej Bialecki f2c18bacf2 SOLR-13440: Support saving/restoring autoscaling state for repeatable simulations. 2019-05-13 18:44:26 +02:00
Joel Bernstein b592002d40 SOLR-13047: Update CHANGES.tx 2019-05-12 20:17:44 -04:00
Erick Erickson cd8508408a SOLR-13454: Investigate ReindexCollectionTest failures. moving bandaid calls 2019-05-12 10:36:46 -07:00
Erick Erickson 0aaf543208 SOLR-13454: Investigate ReindexCollectionTest failures. I missed a place where I should have called the bandaid code 2019-05-10 13:56:04 -07:00
Joel Bernstein 6069ef6ca6 SOLR-13047: Fix Pre-commit 2019-05-10 16:12:35 -04:00
Joel Bernstein f9cd8b0957 SOLR-13047: Add facet2D Streaming Expression
Co-authored-by: Joel Bernstein <jbernste@apache.org>
Co-authored-by: Nazerke Seidan <seinaz1997@gmail.com>
2019-05-10 15:02:18 -04:00
Cao Manh Dat 6a06bcd470 SOLR-13445: Hardness the test 2019-05-10 15:25:54 +01:00
epugh fb911a21a8 highlight select * not supported 2019-05-10 05:58:06 -04:00
Erick Erickson 577be08bf2 SOLR-13454: Investigate ReindexCollectionTest failures 2019-05-09 12:45:47 -07:00
Chris Hostetter 5e40000e27 minimize randomization of IndexWriterConfig in TestDocTermOrdsUninvertLimit to reduce risk of OOM in nightly tests 2019-05-09 11:34:43 -07:00
Jan Høydahl 5b772f7c9d
SOLR-13453: Adjust auth metrics asserts in tests after SOLR-13449 (#668) 2019-05-09 20:13:46 +02:00
Christine Poerschke 3857388136 SOLR-13049: Make contrib/ltr Feature.defaultValue configurable. (Stanislav Livotov, Christine Poerschke) 2019-05-09 17:19:46 +01:00
Chris Hostetter cde00b9a84 SOLR-12833: prevent NPE in DistributedUpdateProcessorTest AfterClass when mockito assumption fails in BeforeClass 2019-05-08 11:35:14 -07:00
Cao Manh Dat 81cfbcd009 SOLR-13445: Fix precommit 2019-05-08 19:16:54 +01:00
Cao Manh Dat 6b5b74bc9c SOLR-13445: Preferred replicas on nodes with same system properties as the query master 2019-05-08 17:55:49 +01:00
Gus Heck 76b854cb4f SOLR-13306 Add a request parameter to execute a streaming expression locally 2019-05-08 12:13:07 -04:00
Erick Erickson f4399a495e SOLr-13428: Take the WARN message out of the logs when optimizing. 2019-05-08 06:13:40 -07:00
Cao Manh Dat 5a35ba41f2 SOLR-13453: Marking mentioned tests as AwaitsFix 2019-05-08 11:17:54 +01:00
Noble Paul 3fa2d8f1d3 typo in CHNAGES.txt 2019-05-08 07:27:58 +10:00
Ishan Chattopadhyaya 560b5e779d SOLR-13394: Updating contributors for this issue in CHANGES.txt 2019-05-07 14:12:05 +05:30
Cao Manh Dat de5f3d76ed SOLR-13449: SolrClientNodeStateProvider always retries on requesting metrics from other nodes 2019-05-07 09:40:45 +01:00
Ishan Chattopadhyaya b2eebf0793 SOLR-5970: Adding upgrade notes for this change 2019-05-07 14:08:49 +05:30
noble 733b071564 SOLR-13320 : add an update param failOnVersionConflicts=false to updates not fail when there is a version conflict 2019-05-07 15:20:02 +10:00
Ishan Chattopadhyaya ca29340d8b SOLR-13410: Making the test more resilient 2019-05-07 00:59:23 +05:30
Andrzej Bialecki ef3b6a1aa3 SOLR-12833: This test needs the update log - use "enable.update.log" property to turn it on. 2019-05-06 12:08:13 +02:00
Jason Gerlowski 4309c6eca4 SOLR-13318: Fix casting issues in BucketBasedJsonFacet 2019-05-05 23:38:05 -04:00
Ishan Chattopadhyaya 67e4b0c517 SOLR-13410: Fix for test failure of the newly added test 2019-05-04 20:32:20 +05:30
Ishan Chattopadhyaya 1882a17115 SOLR-13410: Designated overseer wasn't able to rejoin election queue upon restart 2019-05-04 00:29:07 +05:30
Jan Høydahl cdd130ccb6 SOLR-12120: Fix bug in draining queue before shutdown 2019-05-02 23:26:16 +02:00
noble 8908205b42 SOLR-13441: Refactor code to minimize direct use of noggit 2019-05-03 07:20:05 +10:00
Ishan Chattopadhyaya 29a98825d0 SOLR-13348: Speed up collapsing by avoiding scoring of ineligible documents 2019-05-03 02:45:15 +05:30
Ishan Chattopadhyaya ceeac409a5 SOLR-12833: Fix PeerSyncTest and TestInPlaceUpdatesDistrib failures 2019-05-03 02:36:52 +05:30
Ishan Chattopadhyaya 91969f40fe SOLR-13394: Tweaking G1 parameters and adding ref guide documentation 2019-05-03 00:36:32 +05:30
Andrzej Bialecki e54610ce33 SOLR-13427: Delete duplicate package description. 2019-05-02 18:39:21 +02:00
David Smiley 1f91932ba4 SOLR-12833: Test should use ExecutorUtil 2019-05-01 14:30:35 -04:00
moshebla 093990e744 SOLR-12638: ref-guide notes for partial/atomic updates of nested docs 2019-05-01 14:29:42 -04:00
Ishan Chattopadhyaya c808b2f5fe Adding 8.2 version 2019-05-01 15:15:49 +05:30
David Smiley a32decde6a SOLR-12833: DistributedUpdateProcessorTest assumeWorkingMockito() 2019-05-01 00:30:04 -04:00
Andrzej Bialecki 70e090717d SOLR-12833: Avoid unnecessary memory cost when DistributedUpdateProcessor timed-out lock is not used. 2019-04-30 22:31:44 +02:00
Andrzej Bialecki 710e15cec5 SOLR-13427: Add missing package description. 2019-04-30 19:19:49 +02:00
Mikhail Khludnev 5ca0602d28 SOLR-12291: fixing premature completion of async tasks
* extract async tracking methods from OverseerCollectionMessageHandler into the separate class
* replacing hashmap to named list to avoid entry loss
2019-04-30 09:57:42 +03:00
Andrzej Bialecki 6eccf2bf53 SOLR-13427: Support simulating the execution of autoscaling suggestions. 2019-04-29 23:14:38 +02:00
Noble Paul 25bd1cbb82 SOLR-13429: HashBasedRouter logs the entire state.json when a slice is not found 2019-04-30 06:07:51 +10:00
Andrzej Bialecki ced0243a3e SOLR-13407: Fix NPE and be consistent about returning empty instead of null properties. 2019-04-29 12:19:29 +02:00
Shalin Shekhar Mangar f77c56dbc6 SOLR-13432: Add .toString methods to BitDocSet and SortedIntDocSet so that enabling "showItems" on the filter caches shows some useful information about the values in the cache 2019-04-29 12:34:03 +05:30
Ishan Chattopadhyaya 8dd22bc056 SOLR-5970: Fix precommit 2019-04-28 23:29:11 +05:30
Ishan Chattopadhyaya dd9899b1c1 SOLR-5970: Return correct status upon collection creation failure 2019-04-28 23:16:29 +05:30
Ishan Chattopadhyaya 4b49bd99ca SOLR-12248, SOLR-4647: Grouping is broken on docValues-only fields 2019-04-28 23:01:58 +05:30
Erick Erickson a6262af842 SOLR-11035: (at least) 2 distinct failures possible when clients attempt searches during SolrCore reload. More fixes, bad test. 2019-04-28 10:26:01 -04:00
Jason Gerlowski 9d97ef1027 SOLR-13343: Fix minor web UI spacing issue
Closes #592
2019-04-27 10:37:58 -04:00
Kevin Risden 35aeb7f623
SOLR-13414: SolrSchema - Avoid NPE if Luke returns field with no type defined
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-04-26 09:27:47 -04:00
Jan Høydahl ef79dd548d
SOLR-13425: Wrong color in horizontal definition list (#653) 2019-04-25 15:57:16 +02:00
Mikhail Khludnev 6d94631538 SOLR-13081: Let in-place update work with route.field 2019-04-25 14:05:42 +03:00
Ishan Chattopadhyaya 9c77889217 SOLR-13394: Switch default GC from CMS to G1 2019-04-25 13:58:43 +05:30
Erick Erickson 48dc020dda SOLR-13268: Clean up any test failures resulting from defaulting to async logging 2019-04-24 09:23:11 -07:00
Ishan Chattopadhyaya 33c94562a6 SOLR-12167: Throw an exception, instead of just a warning, upon unknown atomic update 2019-04-24 16:20:10 +05:30
Andrzej Bialecki 170f5fb7a3 SOLR-13423: Upgrade RRD4j to version 3.5. 2019-04-24 12:33:48 +02:00
Gus Heck 80d3ac8709 SOLR-13418 - safer synchronization and zk version checking for collection properties 2019-04-23 12:29:08 -04:00
Jan Høydahl 2261b4e8e1 SOLR-12120: Harden AuditLoggerIntegrationTest 2019-04-23 15:18:16 +02:00
Cao Manh Dat bc8985d031 SOLR-13276: Improving CloudHttp2SolrClientTest 2019-04-23 10:07:20 +01:00
Mikhail Khludnev a95e68e13b SOLR-13337: faster /terms response in distributed mode. 2019-04-22 23:26:12 +03:00
Uwe Schindler 377ac573dd SOLR-13415, SOLR-13322: Add CLIO.class file to post.jar 2019-04-22 20:17:53 +02:00
Cao Manh Dat c533988874 SOLR-13413: Adding debug log for HttpConnection 2019-04-22 10:39:05 +01:00
Shalin Shekhar Mangar 4571a2d666 SOLR-13392: Add all solr dependencies to prometheus exporter classpath to make sure that it can start.
SOLR-13234 broke prometheus exporter startup from the startup scripts because there was a mismatch between the dependency list in ant/ivy and those actually added to the classpath by the script. This commit changes the script to add all solr dependencies to the classpath.
2019-04-22 12:18:56 +05:30
Uwe Schindler 5aaa923e36 LUCENE-8738, SOLR-13400: Remove obsolete changes entry (replaced by SOLR-13400) 2019-04-20 02:35:04 +02:00
Erick Erickson d87196c141 SOLR-13400: Replace Observable pattern in TransientSolrCoreCache 2019-04-19 17:00:41 -07:00
Chris Hostetter dbf90a6e7b Reduce the upper bounds on some randomized variables in FullSolrCloudDistribCmdsTest to reduce risk of OOM 2019-04-19 14:48:37 -07:00
Uwe Schindler c70d4700c9 SOLR-12461: Remove obsolete license files 2019-04-19 23:36:35 +02:00
Uwe Schindler 5b0d8877cc SOLR-12461: Remove obsolete checksum file 2019-04-19 23:31:56 +02:00
Chris Hostetter 1c3d23e58a SOLR-13336: fix CloudInspectUtil to use filter to eliminate risk of TooManyClausesException 2019-04-19 10:59:53 -07:00
Tomas Fernandez Lobbe 9f644b1c69 SOLR-13281: Fix NPE in DocExpirationUpdateProcessor 2019-04-18 22:22:26 -07:00
Erick Erickson 2a3bd8e864 SOLR-11035: (at least) 2 distinct failures possible when clients attempt searches during SolrCore reload bandaid for DocValuesNotIndexedTest 2019-04-18 21:38:01 -07:00
Andrzej Bialecki bd8905150d SOLR-12461: Upgrade Dropwizard Metrics to 4.0.5 release. 2019-04-18 19:08:20 +02:00
Andrzej Bialecki f46ba5227e SOLR-13407: Reject update requests sent to non-routed multi collection aliases. 2019-04-18 14:53:06 +02:00
erick a9771a5849 SOLR-13408: Cannot start/stop DaemonStream repeatedly, other API improvements 2019-04-17 16:02:06 -07:00
Uwe Schindler fb28958bc8 LUCENE-8738: Add Java 11 under "Getting Started" in CHANGES.txt 2019-04-17 11:22:52 +02:00
Uwe Schindler df27ccf01d SOLR-13409: Disable HTML directory listings in admin interface to prevent possible security issues 2019-04-17 11:04:13 +02:00
Uwe Schindler faaee86efb LUCENE-8738: Move to Java 11 as minimum Java version (merged branch: jira/LUCENE-8738)
Co-authored-by: Adrien Grand <jpountz@apache.org>
2019-04-16 14:00:09 +02:00
Uwe Schindler 0a2b85534a SOLR-12121: Fix precommit failure 2019-04-16 08:36:52 +02:00
Jan Høydahl 9707bb6fa9 SOLR-12371: Editing authorization config via REST API now works in standalone mode 2019-04-15 21:09:30 +02:00
Simon Willnauer a302be381e
LUCENE-8671: Introduce Reader attributes (#640)
Reader attributes allows a per IndexReader configuration of codec internals.
For instance this allows a per reader configuration if FSTs are loaded into memory or are left
on disk.
2019-04-15 20:39:36 +02:00
markrmiller ecbf7daf56 SOLR-13386: OverseerTaskQueue#remove should not throw an exception when no node exists after an exists check and the Overseer work loop should not allow free spinning the loop when it hits a KeeperException. 2019-04-15 12:53:36 -05:00
Chris Hostetter d90034f0d6 SOLR-13336: add maxBooleanClauses (default to 1024) setting to solr.xml, reverting previous effective value of Integer.MAX_VALUE-1, to restrict risk of pathalogical query expansion. 2019-04-15 10:27:08 -07:00
Noble Paul e783207535 SOLR-13395: make DebugComponent.getRequestId() public 2019-04-15 11:10:06 +10:00
Christine Poerschke fe1a109476 SOLR-13366: Clarify 'Invalid stage name' warning logging in AutoScalingConfig 2019-04-12 16:01:55 +01:00
Joel Bernstein 6c62fbf25f SOLR-13391: Update CHANGES.txt 2019-04-12 10:06:38 -04:00
Joel Bernstein 58001bfc87 SOLR-13391: Add variance and standard deviation stream evaluators
Squashed commit of the following:

commit 406d4b959a42e4830ac1c52836ccbcfc1b614b46
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:03:34 2019 +0200

    added missing package

commit 32c239687c39c5da3e4f2d0f25df73127331fa99
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:03:14 2019 +0200

    added package

commit 7b3f9bd415002969a4ec5d87a9ffbfd6fcff6e92
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:02:28 2019 +0200

    added var and stddev functions

commit 77c4f9fdd9f111862a55b645aad960457291414c
Author: Nazerke <seinaz1997@gmail.com>
Date:   Fri Apr 12 14:00:59 2019 +0200

    added test for the variance and standard deviation stream evaluators

commit 2d9692c178590b65e46cfd9e04ca0384c7d39ec5
Author: naz <nazerke.seidan@cloudera.com>
Date:   Wed Apr 10 19:50:30 2019 +0200

    added var and stddev new evaluators

commit d265225747bce9a0eabd713994ddd4990dbbbfa2
Author: naz <nazerke.seidan@cloudera.com>
Date:   Wed Apr 10 19:49:23 2019 +0200

    variance streaming evaluator

commit a3330064bb62b5723b9125334ef1d61fc3b098d3
Author: naz <nazerke.seidan@cloudera.com>
Date:   Wed Apr 10 19:49:02 2019 +0200

    standard deviation streaming evaluator
2019-04-12 09:37:50 -04:00
Jan Høydahl 03f5a5e7a1 SOLR-13398: Move log "Processing SSL Credential Provider chain" from INFO to DEBUG to prevent leaking into bin/solr printout 2019-04-12 11:54:40 +02:00
Jan Høydahl f2c59db273
SOLR-12860: MetricsHistoryHandler now always uses PKI Auth (#642)
* SOLR-12860: MetricsHistoryHandler now uses PKI Auth for metrics collection in background thread
2019-04-12 10:21:13 +02:00
Jan Høydahl 3b3879d880 SOLR-12121: Refresh JWK from IdP on invalid sig. Some logging improvements. Minor test fixes 2019-04-12 09:49:11 +02:00
Chris Hostetter 980fd7d5c5 SOLR-13393: Fixed ZkClientClusterStateProvider to prevent risk of leaking ZkStateReader/threads when processing concurrent requests during shutdown.
This primarily affected tests, but may have also caused odd errors/delays when restart/shutting down solr nodes.
2019-04-11 14:22:50 -07:00
Cao Manh Dat a67a941e19 SOLR-13339: Prevent recovery, fetching index being kicked off after SolrCores already closed 2019-04-11 09:21:14 +01:00
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
Andrzej Bialecki d40a6d4e95 Release static solrClient after the test is done (occasionally caused failures on jenkins). 2019-04-10 12:26:02 +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
Gus Heck 4a93199803 SOLR-13370 - Trying reduction of cluster size, but not clear that
should help from local tests/profile, but maybe it helps in more memory
constrained build servers, this and prior version both beasted success
10 rounds of 5 on a machine with lots of memory.
2019-04-09 10:02:16 -04:00
Jan Høydahl 3e628b562c SOLR-12120: Do not fail the main request if synchronous auditing fails, log ERROR
Document that sub classes should call super.close() or a new waitForQueueToDrain() before closing itself
2019-04-09 14:25:52 +02:00
Chris Hostetter 2533fd1ede SOLR-13369: disable TriLevelCompositeIdRoutingTest until someone who actually understands how the /bits option is *suppose* to work can assess it to determine if the test is flawed or it there is a bug in the underlying CompositeIdRouter 2019-04-08 18:17:29 -07:00
Chris Hostetter ab55b6386b SOLR-13376: Disable test until it can be re-written to reflect actual expected behavior of how/when node markers will be cleaned up 2019-04-08 18:06:09 -07:00
Chris Hostetter 6bc360ee67 BlockCacheTest uses BlockCache which uses the common ForkJoinPool so we need to ensure the SolrIgnoredThreadsFilter is used 2019-04-08 10:57:02 -07:00
Andrzej Bialecki 0859be134d SOLR-13368: Tentative fix for a race condition in managed schema initialization. 2019-04-08 10:47:29 +02:00
Cassandra Targett ef7be67ba1 Ref Guide: fix numbered list to resolve build warnings 2019-04-06 08:10:44 -05:00
Chris Hostetter 0b7421eca6 set the lastmod of the files to be deleted to be 1 day ago so that '-remove_old_solr_logs 0' doesn't run afoul of coarse granularity timestamps on windows jenkins machines if the test starts and runs quickly 2019-04-05 16:45:41 -07:00
Chris Hostetter 37166ce4e9 Use FSDirectory for TestDocTermOrdsUninvertLimit to reduce the amount of RAM the test needs.
This lowers the risk of OOM, w/o needing to sacrifice testing of how the randomized merging/segments might impact the uninversion
2019-04-05 15:06:50 -07:00
Erick Erickson 7602f3c78e SOLR-12809: Document recommended Java/Solr combinations 2019-04-05 10:20:57 -07:00
Erick Erickson 03d76c611b SOLR-13075: Harden SaslZkACLProviderTest. Put AwaitsFix back 2019-04-05 08:47:36 -07:00
Joel Bernstein 32fe892293 SOLR-13374: Update CHANGES.txt 2019-04-05 09:08:30 -04:00
Joel Bernstein 46131e9cda SOLR-13374: Add fetchSize parameter to the jdbc Streaming Expression 2019-04-05 08:52:52 -04:00
Jan Høydahl aadc94a6e3 SOLR-12120: Harden AuditLoggerIntegrationTest, timing issues 2019-04-05 10:35:34 +02:00
Simon Willnauer 1ec229b604
LUCENE-8671: Expose FST off/on-heap options on Lucene50PostingsFormat (#613)
Before we can expose options to configure this postings format
on a per-reader basis we need to expose the option to load the terms
index FST off or on heap on the postings format. This already allows to
change the default in a per-field posting format if an expert user
wants to change the defaults. This essentially provides the ability to change
defaults globally while still involving some glue code.
2019-04-04 16:59:37 +02: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
Chris Hostetter 3fe4d0a30a Fix test to use solr.disable.shardsWhitelist=true rather then trying to whitelist the set of servers
The previous version of this test had a chicken/egg problem (needed to init the servers w/the whitelist but didn't know the port nums until after init)

that caused it to require 'restarting' the servers -- leading to the possibility of 'Address already in use' errors from jenkins machines if the OS reclaimed the port between the stop/start of the jetty instance
2019-04-03 15:15:03 -07:00
Kevin Risden 6596ed1c16
SOLR-13075: Harden SaslZkACLProviderTest (Kevin Risden, Hrishikesh Gadre, Peter Cseh)
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-04-03 10:14:49 -04:00
Jason Gerlowski ec1d13a372 SOLR-13355: Add missing CHANGES.txt entry 2019-04-03 07:42:27 -04:00
erick 3810d5e7ac SOLR-13075: Harden SaslZkACLProviderTest. Testing new ZK version 2019-04-02 21:45:30 -07:00
erick 58376874aa SOLR-13363: Upgrade to ZooKeeper 3.4.14 2019-04-02 20:18:01 -07:00
Gus Heck 2d690885e5 SOLR-13322 - let forbidden apis check for sysout in solr core 2019-04-02 22:45:33 -04:00
Christine Poerschke 1bf413ebc8 minor stream-decorator-reference.adoc tweak w.r.t. parallel function's partitionKeys 2019-04-02 19:28:54 +01:00
Christine Poerschke c62db30597 s/reduce/rollup wording correction in stream-decorator-reference.adoc 2019-04-02 19:25:52 +01: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
Erick Erickson e04a28e140 SOLR-12028: BadApple and AwaitsFix annotations usage 2019-04-01 09:27:33 -07:00
Cassandra Targett cc23cd9d55 SOLR-13259: clarify language around *must* reindex vs *should* reindex 2019-04-01 10:06:01 -05: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
Jason Gerlowski 1204d212d1 Improve docs on using basic-auth in SolrJ 2019-03-31 10:36:50 -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
Jason Gerlowski 07b37ff26b SOLR-13355: Obey 'ALL' for handlers with other predefined perms
Prior to this commit, RuleBasedAuthorizationPlugin would check for the
predefined 'ALL' permission only when the endpoint being hit wasn't
associated with another predefined-permission.

This resulted in some very unintuitive behavior. For example, the
permission {name:all, role:admin} would correctly prevent a
role:foo user from accessing /admin/info/properties, but would allow
write access to /admin/authorization because of the SECURITY_EDIT
predefined perm associated with that endpoint.

This commit fixes this bug so that the 'all' permission is always
consulted whether or not the endpoint is associated with other predefined
permissions.
2019-03-29 22:33:12 -04:00
Jason Gerlowski 5fe03bcd01 SOLR-13355: Small refactors to RuleBasedAuthorizationPlugin 2019-03-29 22:33: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
Joel Bernstein 98cadcf9f6 SOLR-13294: Change test file name 2019-03-27 15:36:47 -04:00
Joel Bernstein d407d556cc SOLR-13294: TestSQLHandler failures on windows jenkins machines 2019-03-27 15:36:47 -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