Mike Drob
b335034615
Require Thread Names in Solr ( #2264 )
...
When we are creating a new thread we should give it a descriptive name and enforce this via ForbiddenAPIs. This doesn't apply to Runnable or Callable objects that we pass to an executor, since those should be getting named by the executor itself.
We don't require this in tests because the tests should be more self contained and there is less benefit in descriptive names. If somebody is already profiling a test, then they likely have the context to understand what the unnamed threads are doing, whereas a thread dump from a running Solr instance should have good thread names for everything. This is especially helpful when doing profiling, otherwise we end up with a bunch of Thread-# that are hard to tell apart and search on.
2021-01-28 15:04:15 -06:00
Houston Putman
2b8d7bcd6a
SOLR-15075: Solr docker gradle improvements ( #2197 )
...
* Removed docker plugin from gradle builds.
* Removed package docker image.
* Tasks now have correct inputs/outputs/dependencies.
* Move gradle help text to docker folder.
* Reduce duplicated Docker layer by doing file removal and chmod in another stage.
Co-authored-by: David Smiley <dsmiley@apache.org>
2021-01-26 10:22:50 -05:00
epugh@opensourceconnections.com
ce1bba6d66
Revert "SOLR-14067: v3 Create /contrib/scripting module with ScriptingUpdateProcessor ( #2215 )"
...
This reverts commit cf5db8d651
.
2021-01-25 09:53:36 -05:00
Eric Pugh
cf5db8d651
SOLR-14067: v3 Create /contrib/scripting module with ScriptingUpdateProcessor ( #2215 )
...
* Creating Scripting contrib module to centralize the less secure code related to scripts.
* tweak the changelog and update notice to explain why the name changed and the security posture thinking
* the test script happens to be a currency.xml, which made me think we were doing something specific to currency types, but instead any xml formatted file will suffice for the test.
* drop the ing, and be more specific on the name of the ref guide page
* use the same name everywhere
Co-authored-by: David Smiley <dsmiley@apache.org>
2021-01-21 13:32:46 -05:00
András Salamon
83e0397c42
SOLR-14297: Replace commons-codec Base64 with JDK8 Base64 ( #2222 )
2021-01-21 13:10:33 -05:00
Dawid Weiss
053060b925
LUCENE-9670: Workaround for gradle not liking the same stream for stdout and stderr sinks.
2021-01-21 09:51:56 +01:00
Peter Gromov
939699f550
LUCENE-9667: Hunspell: add spellchecker API, support BREAK and FORBIDDENWORD affix rules ( #2207 )
2021-01-20 10:57:27 +01:00
zacharymorn
a7747b63b4
LUCENE-8982: Make NativeUnixDirectory pure java with FileChannel direct IO flag, and rename to DirectIODirectory ( #2052 )
...
LUCENE-8982: Make NativeUnixDirectory pure java with FileChannel direct IO flag, and rename to DirectIODirectory
2021-01-17 23:57:56 +01:00
Dawid Weiss
5b734fb94a
Make :localSettings always available, even if it's a noop on subsequent runs. ( #2190 )
2021-01-08 20:26:35 +01:00
Dawid Weiss
0ab9cb8079
LUCENE-9658: temporarily hook up spotlessCheck to precommit.
2021-01-07 10:57:57 +01:00
Dawid Weiss
2cbf261032
LUCENE-9570: code reformatting [final].
2021-01-05 13:44:05 +01:00
Dawid Weiss
7f8b7ffbca
LUCENE-9570: code reformatting [partial].
2021-01-03 21:46:01 +01:00
Dawid Weiss
38c9d2ab76
LUCENE-9650: disable errorprone on jdk16+ ( #2171 )
2020-12-28 23:20:52 +01:00
Dawid Weiss
8ef6a0da56
LUCENE-9570: code reformatting [partial].
2020-12-28 12:26:13 +01:00
Dawid Weiss
2d6ad2fee6
LUCENE-9570: code reformatting [partial].
2020-12-23 12:41:23 +01:00
Dawid Weiss
6faa4f98e0
LUCENE-9570: code reformatting [partial].
2020-12-18 13:02:08 +01:00
Dawid Weiss
c94b035df8
LUCENE-9564: add spotless and gjf (automatic code formatter)
2020-12-17 13:11:54 +01:00
Przemek Bruski
ccf3e60453
LUCENE-9021 QueryParser: re-use the LookaheadSuccess exception ( #962 )
...
* LUCENE-9021 QueryParser: re-use the LookaheadSuccess exception
Authored-by: Przemek Bruski <pbruski@atlassian.com>
2020-12-12 06:05:46 -08:00
David Smiley
021de9f45f
SOLR-14915: Prometheus-exporter should not depend on Solr-core ( #1972 )
...
* Reduced dependencies from Solr server down to just SolrJ. Don't add WEB-INF/lib.
* Was missing some dependencies in lib/; now has all except SolrJ & logging.
* Can run via gradle, "gradlew run"
* Has own log4j2.xml now
Has own CHANGES.md now.
2020-11-27 15:08:33 -05:00
Dawid Weiss
fd3ffd0d38
LUCENE-8982: make native builds disabled by default (CI complains).
2020-11-16 17:23:21 +01:00
zacharymorn
ebc87a8a27
LUCENE-8982: Separate out native code to another module to allow cpp build with gradle ( #2068 )
...
* LUCENE-8982: Separate out native code to another module to allow cpp build with gradle
2020-11-16 09:40:03 +01:00
Robert Muir
52f581e351
LUCENE-9605: update snowball to d8cf01ddf37a, adds Yiddish ( #2077 )
2020-11-14 09:27:08 -05:00
Tomoko Uchida
8bac4e7f74
LUCENE-9499: javadoc split package workaroud should be applied only to test-framework.
2020-11-13 21:31:37 +09:00
Houston Putman
212b0f8657
SOLR-14949: Ability to customize Solr Docker build ( #2020 )
...
Also added a gradlew helpDocker page.
2020-11-10 10:42:38 -05:00
Tomoko Uchida
426a9c25c2
LUCENE-9499: migrate package.html files into package-info.java ( #2072 )
2020-11-10 23:57:09 +09:00
Tomoko Uchida
d1110394e9
LUCENE-9600: Clean up package name conflicts between misc and core modules ( #2064 )
2020-11-10 22:24:48 +09:00
Dawid Weiss
22296f28a2
SOLR-14912: Unify solr-contrib-extraction with the artifact it produces ( #2060 )
2020-11-03 14:15:26 +01:00
Dawid Weiss
a29d7c70d5
LUCENE-9597: checkWorkingCopyClean shouldn't complain about untracked empty folders (similar to git status). Piggybacking jgit update. ( #2061 )
2020-11-03 12:50:05 +01:00
Dawid Weiss
63c4dfa454
LUCENE-9596: Reproduce line for failed tests should have method-level accuracy
2020-11-03 10:56:05 +01:00
Tomoko Uchida
6a7131ee24
LUCENE-9319: Clean up package name conflicts for sandbox module ( #2023 )
2020-11-03 12:01:02 +09:00
Uwe Schindler
9ce4b98af2
LUCENE-9587: Add '--illegal-access=deny' to test runner ( #2039 )
2020-10-27 23:28:25 +01:00
Tomoko Uchida
44c1bd42c5
LUCENE-9318: Clean up package name conflicts for backward-codecs ( #2000 )
2020-10-19 21:32:06 +09:00
Robert Muir
4c42cbc5c9
LUCENE-9576: give solr back its getFileStoreAttributes permission
...
Solr apparently needs this for its IndexFetcher.
2020-10-18 12:30:47 -04:00
Michael Sokolov
c02f07f2d5
LUCENE-9322: Add Lucene90 codec, including VectorFormat
...
This commit adds support for dense floating point VectorFields.
The new VectorValues class provides access to the indexed vectors.
2020-10-18 07:49:36 -04:00
Robert Muir
85b58c262a
LUCENE-9576: nuke SSD detection, modernize CMS defaults
2020-10-17 10:55:35 -04:00
gezapeti
cf6e831394
SOLR-14887 Upgrade JQuery to 3.5.1 ( #1947 )
2020-10-13 19:41:57 -04:00
Dawid Weiss
e444df1435
SOLR-14922: Include solr-ref-guide tasks in sourceSets for IntelliJ ( #1973 )
2020-10-12 12:25:13 +02:00
Dawid Weiss
c5cf13259e
LUCENE-9562: All binary analysis packages (and corresponding Maven artifacts) with names containing '-analyzers-' have been renamed to '-analysis-'. ( #1968 )
2020-10-12 09:15:56 +02:00
Uwe Schindler
6acb7b4293
LUCENE-9577: move the checkBrokenLinks task to the documentation subprojects
2020-10-09 16:44:36 +02:00
Uwe Schindler
f97208a790
LUCENE-9577: fix changed task name
2020-10-09 16:18:59 +02:00
Uwe Schindler
2329423e5c
LUCENE-9577: Move Lucene/Solr Documentation assembly to subproject ( #1967 )
2020-10-09 14:56:44 +02:00
Mike Drob
08e38d3452
LUCENE-9488 Create Release Artifacts with Gradle ( #1905 )
...
* Build Lucene binary distribution using Gradle
* Generate SHA-512 checksums for all release artifacts
* Update documentation artifacts included in binaries
* Delete some additional Ant relics
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Uwe Schindler <uschindler@apache.org>
2020-10-08 14:25:51 -05:00
Tomoko Uchida
b70eaeee5a
LUCENE-9558: Clean up package name conflicts for analyzers-icu. ( #1946 )
2020-10-05 17:52:23 +09:00
Dawid Weiss
34776ed640
LUCENE-9561: workaround for POMs that have superfluous dependencyManagement section.
2020-10-04 21:39:58 +02:00
Timothy Potter
e879a52291
SOLR-14659: Remove restlet as dependency for the ManagedResource API ( #1938 )
...
Co-authored-by: noblepaul <noble.paul@gmail.com>
2020-10-04 11:21:49 -06:00
Dawid Weiss
d9a410920a
LUCENE-9548: Apache repository publishing ( #1929 )
2020-10-04 19:18:29 +02:00
Robert Muir
7eee4fd102
LUCENE-9557: regeneration should use python3, not python2
...
python2 will change the DFA, but using python3 re-generates the sources
as they exist today. plus, we don't want to depend on EOL python2.
2020-10-03 12:30:22 -04:00
Erick Erickson
f6c4f8a755
SOLR-14910: Use in-line tags for logger declarations in Gradle ValidateLogCalls that are non-standard, change //logok to //nowarn
2020-10-03 09:47:37 -04:00
Adrien Grand
f8b7a60562
LUCENE-9550: Upgrade to Gradle 6.6.1. ( #1933 )
2020-09-30 11:17:55 +02:00
Dawid Weiss
9bfaca0606
LUCENE-9549: add command-line quotes for 'reproduce with'.
2020-09-30 09:49:52 +02:00