1127 Commits

Author SHA1 Message Date
Andrzej Bialecki
bf1d14539c SOLR-13003: Fix WrapperModel method delegation. 2019-07-03 20:18:27 +02:00
Andrzej Bialecki
9d52e5be3b SOLR-13003: Query Result Cache does not honour maxRamBytes parameter. 2019-07-03 18:27:21 +02:00
David Smiley
1c1d77a791 SOLR-13158: DIH: Add System property toggle for use of dataConfig param
(cherry picked from commit 325824cd391c8e71f36f17d687f52344e50e9715)
2019-07-03 00:03:29 -04:00
Chris Hostetter
8db2fdfa91 SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
(cherry picked from commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
2019-06-27 10:39:24 -07:00
Koen De Groote
8b6a0d0964 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:10:06 +02:00
Cao Manh Dat
dc7b54df0c SOLR-13434: Fixes problem on Java 8 build 2019-06-05 15:33:51 +01:00
Cao Manh Dat
a39c342793 SOLR-13434: OpenTracing support for Solr (#685) 2019-06-04 20:05:17 +01:00
Erick Erickson
e890980311 SOLR-8346: Upgrade Zookeeper to version 3.5.5
(cherry picked from commit 7ebeab71f4b56d008835f0040468a07632024950)
2019-06-03 17:59:01 -07:00
Chris Hostetter
b65fc0093b Fix SolrExporterIntegrationTest to not make assumptions about the JVM that are not true on windows
(cherry picked from commit 61279a2e79c485597c011b2fbe1acfbdb96475e3)
2019-05-30 11:59:43 -07:00
Chris Hostetter
753dfc43d6 Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1
(cherry picked from commit c2b92f3015d44a48abc7cc5f7c972298ea317a07)
2019-05-29 10:27:40 -07:00
Uwe Schindler
c714623996 LUCENE-8807: Change all download URLs in build files to HTTPS
# Conflicts:
#	lucene/common-build.xml
2019-05-21 17:12:18 +02:00
Dawid Weiss
0316e2a786 SOLR-13462: Update dependency definitions to include Ukrainian dictionary. 2019-05-15 09:17:51 +02:00
Christine Poerschke
726fb8facc SOLR-13049: Make contrib/ltr Feature.defaultValue configurable. (Stanislav Livotov, Christine Poerschke) 2019-05-09 17:45:05 +01:00
noble
9952c2a24f SOLR-13441: Refactor code to minimize direct use of noggit 2019-05-03 07:22:13 +10:00
Shalin Shekhar Mangar
fe02666d54 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.

(cherry picked from commit 4571a2d66687cca6670885a94414c7a8c02c0bbc)
2019-04-22 12:19:50 +05:30
Kevin Risden
543ea46afa
SOLR-13351: Workaround for VELOCITY-908
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-28 09:26:02 -04:00
Ishan Chattopadhyaya
b08566cacc SOLR-7414: CSVResponseWriter & XLSXResponseWriter return empty field when fl alias is combined with * selector 2019-03-27 16:29:25 +05:30
Kevin Risden
f545e64061
SOLR-13335: Upgrade to velocity 2.0 and velocity-tools 3.0
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 10:02:23 -04:00
Kevin Risden
862a755d67
SOLR-13342: Remove dom4j from Solr
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 08:31:26 -04:00
Kevin Risden
96c293ec1b
SOLR-9079: Remove commons-lang as a dependency
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-20 19:51:34 -04:00
Alan Woodward
ecf86ecab7 LUCENE-3041: QueryVisitor (#581)
This commit adds an introspection API to Query, allowing users to traverse
the nested structure of a query and examine its leaves.  It replaces the existing
`extractTerms` method on Weight, and alters some highlighting code to use
the new API
2019-03-15 08:29:32 +00:00
Shalin Shekhar Mangar
cedff86aaa SOLR-13234: Fix for turkish locales
WhenSolrExporterIntegrationTest.jvmMetrics ran on a JVM with the Turkish locale, (test seed: 62880F3B9F140C89). The JVM metric for terminated thread-count has a dotless-i e.g. termınated.
This causes the check for matching metrics to fail.

We could normalize the text in this case, however I think it's better to ensure we have the correct total number of JVM thread metrics rather than looking at Prometheus labels which maybe localized.

This closes #605.

(cherry picked from commit 6d0386c901b9d14c7464c7cf286d4a005eb9c72c)
2019-03-14 11:12:35 +05:30
erick
277251c202 SOLR-13268: Clean up any test failures resulting from defaulting to async logging
(cherry picked from commit 9272c29)
2019-03-10 11:35:51 -07:00
Shalin Shekhar Mangar
02eb9d3440 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.

(cherry picked from commit 1f9c767aac76ac1618ccaffce42524e109335fe8)
2019-03-04 11:04:33 +05:30
Noble Paul
7a33ba3323 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:20:35 +11:00
Bruno P. Kinoshita
a1b2913049 Fix some spell check issues 2019-02-12 21:36:48 -08:00
Shalin Shekhar Mangar
46592e981f SOLR-12365: Fix compilation failure in prometheus-exporter 2019-01-06 09:34:22 +05:30
Jan Høydahl
00f8f3a13a SOLR-11774: langid.map.individual now works together with langid.map.keepOrig 2019-01-03 18:27:24 +01:00
Jason Gerlowski
c34f29a4b4 SOLR-13090: Add sysprop override for maxBooleanClauses 2019-01-02 10:58:32 -05:00
Erick Erickson
24ae0d16cd SOLR-12028: Catching up with annotations after recent Solr test work 2018-12-27 18:03:50 -08:00
Dawid Weiss
e916f1fb86 LUCENE-8611: Update randomizedtesting to 2.7.2, JUnit to 4.12, add hamcrest-core dependency. 2018-12-15 09:49:36 +01:00
Jan Høydahl
5affe7421f SOLR-13025: SchemaSimilarityFactory fallback to LegacyBM25Similarity for luceneMatchVersion < 8.0 2018-12-12 10:33:50 +01:00
markrmiller
05d728f57a SOLR-12801: Add @AwaitsFix to TestHierarchicalDocBuilder#testThreeLevelHierarchy. 2018-12-11 06:05:26 -06:00
Jason Gerlowski
f7faae075b SOLR-13019: Fix typo in MailEntityProcessor
Path provided by Tommy Marshment-Howell.

Closes #509
2018-12-04 08:49:58 -05:00
markrmiller
75b1831967 SOLR-12801: Make massive improvements to the tests.
SOLR-12804: Remove static modifier from Overseer queue access.

SOLR-12896: Introduce more checks for shutdown and closed to improve clean close and shutdown. (Partial)

SOLR-12897: Introduce AlreadyClosedException to clean up silly close / shutdown logging. (Partial)

SOLR-12898: Replace cluster state polling with ZkStateReader#waitFor. (Partial)

SOLR-12923: The new AutoScaling tests are way too flaky and need special attention. (Partial)

SOLR-12932: ant test (without badapples=false) should pass easily for developers. (Partial)

SOLR-12933: Fix SolrCloud distributed commit.
2018-11-29 11:58:51 -06:00
Erick Erickson
763e64260f SOLR-12881: Remove unneeded import statements 2018-11-14 17:48:15 -08:00
David Smiley
0330372f04 SOLR-12759: fix regexp (case insensitive) 2018-11-09 15:58:40 -05:00
Alexandre Rafalovitch
0ddbc4bf95 SOLR-12966: Add Javadoc @since tag to URP classes 2018-11-06 08:05:07 -05:00
Christine Poerschke
be65b95e80 SOLR-12699: Make contrib/ltr LTRScoringModel immutable and cache its hashCode.
(Stanislav Livotov, Edward Ribeiro, Christine Poerschke)
2018-11-05 18:56:40 +00:00
Erick Erickson
fc886497de SOLR-12423: Upgrade to Tika 1.19.1 when available. Fixes #468 2018-10-17 13:06:09 -04:00
Erick Erickson
6c5df58b5a SOLR-12028: BadApple and AwaitsFix annotations usage 2018-10-14 21:13:33 -04:00
Christine Poerschke
9c8ffabfe3 SOLR-12780: Add support for Leaky ReLU and TanH activations in contrib/ltr NeuralNetworkModel class.
(Kamuela Lau, Christine Poerschke)
2018-10-12 17:08:35 +01:00
David Smiley
964cc88cee SOLR-12593: remove date parsing from extract contrib
* added "ignored_*" to the default configSet
* Updated Ref Guide info on Solr Cell to demonstrate usage without using the techproducts configSet

Closes #438
2018-09-28 16:50:11 -04:00
David Smiley
9bc4b8d4fe SOLR-12759: fix regexp 2018-09-24 15:21:59 -04:00
Alan Woodward
c0d2975970 LUCENE-8498: Remove LowerCaseTokenizer 2018-09-20 11:57:05 +01:00
David Smiley
c06a7ab0c7 SOLR-12759: fix regexp 2018-09-18 20:21:44 -04:00
David Smiley
5abee478b6 SOLR-12759: detect actual problem and only then "assumeTrue" to bail 2018-09-18 13:43:41 -04:00
David Smiley
dea3d69f95 SOLR-12759: assertFalse -> assumeFalse 2018-09-13 09:43:25 -04:00
David Smiley
623cdf29ad SOLR-12759: Disable ExtractingRequestHandlerTest on JDK 11 due to
JDK bug with timezone locale and Date.toString
2018-09-10 11:45:44 -04:00
David Smiley
a537aa20c1 SOLR-6387: Remove/revert dated assertFalse in ExtractingRequestHandlerTest
Since this problem does not appear anymore in the latest JVMs.
2018-09-10 11:33:15 -04:00