Commit Graph

34070 Commits

Author SHA1 Message Date
Dawid Weiss 66eb9f7f3d LUCENE-9438: moved eclipse template files under corresponding gradle's script. 2020-08-31 15:23:35 +02:00
Dawid Weiss 4a2a2da462 LUCENE-9435: revert Solr's packaging stuff for now. 2020-08-31 14:55:59 +02:00
Alexandre Rafalovitch a8ea6e70eb
Ancient patch file deleted (#1800) 2020-08-31 08:41:36 -04:00
Uwe Schindler bbf3aec38e
LUCENE-9475: Switch validateSourcePatterns away from Ant legacy (#1806) 2020-08-31 12:52:04 +02:00
Dawid Weiss 5e8bb7922b
LUCENE-9491: Consolidate test options and improve support for dynamic… (#1807)
* LUCENE-9491: Consolidate test options and improve support for dynamically computed values.
2020-08-31 12:20:30 +02:00
Robert Muir 4129daa6dd
master is on java 11! 2020-08-31 04:53:44 -04:00
Uwe Schindler 14df77295d LUCENE-9490: Disable both tasks in :lucene:core on Java 15+ 2020-08-31 02:09:13 +02:00
David Smiley 06903a40ee
LUCENE-9456: fix DirectUpdateHandlerTest#testPrepareCommit (#1803)
Check for specific files being present or not or changing.  Don't make assumptions about file count.
2020-08-30 11:32:56 -04:00
Dawid Weiss d847f40237 LUCENE-9474: make externalTool a function and add a build-stopping message on Windows for snowball generator. 2020-08-30 17:10:18 +02:00
Dawid Weiss def82ab556
LUCENE-9435: Clean up ant compatability remnants in Gradle build
* Removing ant-only unused tasks.
* Correct message in TestVersion.java
* Remove unused file.
* Removing forbidden API rules for ant.
* Remove 'resolve' emulation.
* Move ecj-lint to task-definition-relative folder.
* Remove 'packaging' specification. It'll have to wait until proper new packaging is implemented for Solr distribution.
* Move render-javadoc tasks's files to task-relative location.
* Moved security manager policies and default JDK logging file to gradle's task relative locations.
* Removing obsolete ant tools. Moving check source patterns under gradle's folder.
* Correct paths.
* Correct property name in task selector.
2020-08-30 14:01:04 +02:00
Ilan Ginzburg a3b3ba10e3
SOLR-14794: pass configuration to Collection API commands (#1801)
Pass CloudConfig instance representing the solrcloud section of solr.xml configuration from Overseer to the Collection and Config Set API commands it executes.
2020-08-30 11:36:28 +02:00
Dawid Weiss 346dde3395 LUCENE-9490: skip checkMissingDocsDefault on runtime Java > 14. 2020-08-29 17:17:24 +02:00
Alexandre Rafalovitch a57ba25400
SOLR-14783: Remove DIH from 9.0 (#1794)
* Remove DIH example directory

* Remove contrib code directories

* Remove contrib package related configurations for build tools

* Remove mention of DIH example

* remove dih as build dependencies and no-longer needed version pins

* Remove README references to DIH

* Remove dih mention from the script that probably does need to exist at all

* More build artifact references

* More removed dependencies leftovers (licenses/versions)

* No need to smoke exclude DIH anymore

* Remove Admin UI's DIH integration

* Remove DIH from shortname package list

* Remove unused DIH (related? not?) dataset
Unclear what is happening here, but there is no reference to that directory anywhere else
The other parallel directories ARE referenced in a TestConfigSetsAPI.java

* Hidden Idea files references

* No DIH to ignore anymore

* Remove last Derby DB references

* Remove DIH from documentation
Add the information in Major Changes document with the link to the external repo

* Added/updated a mention to CHANGES

* Fix leftover library mentions

* Fix Spellings
2020-08-29 10:52:04 -04:00
Tomoko Uchida c11d32faed LUCENE-9441: Fix ant-specific Javadoc links in accordance with Gradle build 2020-08-29 22:28:03 +09:00
noblepaul ec27b75232 use proper version String 2020-08-29 18:18:41 +10:00
Tomas Fernandez Lobbe 8bd367832f
Remove ant Github Action (#1798)
ant no longer in master branch
2020-08-28 20:16:17 -07:00
Tomas Fernandez Lobbe 59d087f0b3
SOLR-14774: Create HealthCheckHandler in CoreContainer (#1774)
This commit does two things:
* Allow users to plug-in different implementations of the handler (they must extend HealthCheckHandler)
* Remove the HealthCheckHandler from the implicit SolrCore plugins
2020-08-28 15:59:56 -07:00
Ishan Chattopadhyaya d84977eb5c SOLR-14616: Remove CDCR 2020-08-29 02:13:13 +05:30
Erick Erickson da8ea70682 LUCENE-9475: Enhance the Gradle build as necessary after removing Ant support 2020-08-28 10:13:13 -04:00
Erick Erickson 69fa5a00fb LUCENE-9433: Remove Ant support from trunk 2020-08-28 09:31:16 -04:00
Simon Willnauer 4787042f3e LUCENE-9447: suppress DeflateWithPresetCompressingStoredFieldsData since it doesn't add any attributes 2020-08-28 10:52:01 +02:00
Jan Høydahl 18e5f21178
LUCENE-9485: Check early if Solr port 8983 is available (#1792) 2020-08-28 10:08:40 +02:00
Erick Erickson eb9f59f041 Adding forceMergeDeletePctAllowed and deletesPctAllowed to TieredMergePolicy documentation 2020-08-27 14:38:33 -04:00
Atri Sharma b381595f55 Fix NPE in CB Config Resolution 2020-08-27 20:52:12 +05:30
Atri Sharma 6a7da3cd50
Update Circuit Breaker configured as a standard plugin (#1785) 2020-08-27 14:06:22 +05:30
Robert Muir 54a5dc2e6e
LUCENE-9313: move change to 9.0, the prerequisite snowball support is only present there 2020-08-26 07:54:24 -04:00
Robert Muir c7029b1254
LUCENE-9313: Analyzer for Serbian language based on Snowball stemmer 2020-08-26 07:50:29 -04:00
Adrien Grand 741251b1c3 LUCENE-9447: Fix test failure. 2020-08-26 12:55:46 +02:00
Simon Willnauer 75e15497ec
Run tests last to fail fast on missing license and doc issues (#1788) 2020-08-26 12:55:25 +02:00
Adrien Grand 913976dbf7
LUCENE-9447: Make BEST_COMPRESSION better with highly compressible data. (#1762)
This makes BEST_COMPRESSION split blocks into sub blocks and use preset
dictionaries to improve compression ratios.
2020-08-26 11:04:34 +02:00
Adrien Grand e6fa5a5fc4
LUCENE-9456: Move metadata about stored fields to the meta file. (#1752)
Stored fields have a metadata file, but it currently only records
metadata about the index, not the actual data. This commit moves all
metadata to the metadata file.
2020-08-26 10:27:03 +02:00
Philipp Trulson f4c4fbcafc SOLR-14752: Fix error in Zookeeper status when Prometheus plugin is enabled in ZK
Signed-off-by: Jan Høydahl <janhoy@apache.org>
2020-08-26 10:03:42 +02:00
Uwe Schindler 6abce32a3e
LUCENE-9479: Forbiddenapis & Gradle: Add commons-io bundled signatures (#1780) 2020-08-25 09:05:06 +02:00
Simon Willnauer 098f0dc8b4
LUCENE-9478: Prevent DWPTDeleteQueue from referencing itself and leaking memory (#1779)
In LUCENE-9304 we introduced some fixes that unfortunately hold on to the previous
DWPTDeleteQueue which is essentially leaking IW memory and cause applications to fail.
This fixes the memory leak and adds a test to ensure its not leaking memory.
2020-08-24 21:29:27 +02:00
Simon Willnauer da095bc7da
LUCENE-9477: Don't leave potentially broken segments file behind (#1777)
If we fail to rollback an already renamed pending segments file during
commit due to a failure in directory syncing we might not fully roll back
to a proper state if we hit a failure during rollback which leaves the index
in a broken state. This is a best effort approach to remove the renamed file
in the case of a failure during sync.
2020-08-24 20:19:44 +02:00
Simon Willnauer 8294e1ae20
LUCENE-8962: Merge segments on getReader (#1623)
Add IndexWriter merge-on-refresh feature to selectively merge 
small segments on getReader, subject to a configurable timeout, 
to improve search performance by reducing the number of small 
segments for searching.

Co-authored-by: Mike McCandless <mikemccand@apache.org>
2020-08-24 20:19:08 +02:00
Atri Sharma 96a853b200
SOLR-14772: Fix TestConfigOverlay (#1778) 2020-08-24 22:34:23 +05:30
Houston Putman 0f06eff4b7 Additions to releaseWizard (#1763)
- Backporting the DOA changes
- Adding link to Solr Upgrade Notes in release notes
- Adding step for obtaining jira permissions.
2020-08-24 09:53:03 -04:00
Christine Poerschke 4761dbabd9
SOLR-14700: avoid NPEs in TupleStream.getShards() when streamContext is null. (#1754) 2020-08-24 13:00:38 +01:00
Christine Poerschke f924225282
Append MultiCollectorTest to TestMultiCollector. (#1745) 2020-08-24 12:27:56 +01:00
Simon Willnauer 8480329213
LUCENE-9473: Ensure merges are stopped during abort merges (#1772)
We need to disable merges while we wait for running merges since
IW calls timed wait on it's lock that releases the monitor for the time
being which allows new merges to be registered unless we disable them.
2020-08-24 09:15:42 +02:00
David Smiley e1392c7440
LUCENE-9373: FunctionMatchQuery: add "matchCost" param 2020-08-24 00:07:55 -04:00
Cao Manh Dat a4a0d9e8ce SOLR-14684: Skipping check time exceeded for the first request in a proper way 2020-08-24 10:11:13 +07:00
Uwe Schindler 42d07d878e LUCENE-9474: Add back tests.haltonfailure for jenkins compatibility (use boolean as default) - type fix 2020-08-24 01:01:38 +02:00
Uwe Schindler 863d544378 LUCENE-9474: Add back tests.haltonfailure for jenkins compatibility 2020-08-24 00:52:51 +02:00
Uwe Schindler 5c2e96b585 LUCENE-9474: Property "tests.badapples" is missing in Gradle, which is needed for Hoss's statistics. Also Jenkins does not run BadApple tests by default 2020-08-23 23:37:54 +02:00
Uwe Schindler 79f3a1783f LUCENE-9474: Easier Jenkins automation, by allowing to pass test JVM args as environment variable (this goes inline with RUNTIME_JAVA_HOME) 2020-08-23 22:10:32 +02:00
Uwe Schindler 59736814b6 LUCENE-9474: Remove bad warning (we sometimes have non-existing directories in classpaths during compile). This warnings is not source-code related so shouldn't be enforced (Java 14) 2020-08-23 21:31:44 +02:00
Uwe Schindler 494a8a8e04 LUCENE-9474: Make external tools configurable like in ant through those sysprops: perl.exe, python3.exe, python2.exe 2020-08-23 20:16:22 +02:00
Uwe Schindler ee6cf4c418 LUCENE-9474: Make the version number configurable from outside. This mainly allows Jenkins to set a different suffix than "SNAPSHOT" 2020-08-23 19:26:40 +02:00