Commit Graph

1166 Commits

Author SHA1 Message Date
Claire Pollard 8fcf500d30 Update README.txt (#1090)
Update the analysis-extras README to include reference to including solr-analysis-extras jar.

(cherry picked from commit 188f620208)
2020-02-15 22:59:52 +01:00
Kevin Risden 8df7f379a4
SOLR-14209: Upgrade JQuery to 3.4.1
* JQuery 2.1.3 to 3.4.1
* jstree 1.0-rc1 to v3.3.8

Closes #1209

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-02-08 11:59:25 -06:00
Kevin Risden 4dc793e648
SOLR-14132: Upgrade Angular JS 1.3.8 to 1.7.9
* Upgrade Angular JS 1.3.8 to 1.7.9
* Upgrade Angular Chosen v1.3.0 and Chosen to v1.8.7
* Remove older jquery 1.7.2 version
* Remove non minified Angular JS files

Closes #1196

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 09:24:26 -05:00
Shalin Shekhar Mangar 0dea3c7060 SOLR-14207: Fix logging statements with less or more arguments than placeholders
(cherry picked from commit 04193d5252)
2020-01-23 14:00:58 +05:30
Houston Putman 3129ef9461 SOLR-11746: Adding existence queries for PointFields
* DocValuesFieldExistsQuery and NormsFieldExistsQuery are used for existence queries when possible.
* Added documentation on the difference between field:* and field:[* TO *]
2020-01-22 23:42:20 -05:00
Houston Putman 6fde6dc504 Revert "SOLR-11746: Existence query support for numeric point fields"
This reverts commit 1f1b719478.
2020-01-08 18:35:22 -05:00
Houston Putman 1f1b719478 SOLR-11746: Existence query support for numeric point fields 2020-01-06 13:09:05 -05:00
tallison f06e32c969
SOLR-14054 -- need to add xml-apis for Java 8 after upgrading xerces 2019-12-18 12:49:43 -05:00
Robert Muir 53a82aedcb SOLR-14110: sandbox javax.script usage in tests 2019-12-18 06:31:00 -05:00
tallison a58269f6a6
SOLR-14054: Upgrade to Tika 1.23 2019-12-17 15:55:21 -05:00
Robert Muir cfccbe5af3 LUCENE-9094: Ban ObjectInputStream and ObjectOutputStream in forbidden-apis 2019-12-16 13:41:33 -05:00
noble 9717540b8e SOLR-14013: javabin performance regressions 2019-12-13 17:42:24 +11:00
Ishan Chattopadhyaya 8d07ba5c9c SOLR-14065: Deprecate Velocity 2019-12-12 16:13:59 +05:30
Mikhail Khludnev f914d9aac7 SOLR-13904: Make Analytics component sensitive to timeAllowed. 2019-12-12 00:11:39 +03:00
Robert Muir 715b2151ac SOLR-14050: clean up tests use of network addresses
Solr tests now have a similar policy to Lucene, loopback use only. If a
test tries to resolve or connect to the internet, it will get SecurityException.

Some solr tests explicitly try to talk to dead nodes with real
networking. This is not good and asking for trouble, but use low loopback port numbers instead of
multicast addresses. The idea is that it fails faster. Move these to
constants so that stuff isn't copy-pasted everywhere, in case we have to
do something different later.
2019-12-11 13:27:03 -05:00
Erik Hatcher 9dfee35b9f SOLR-14025: VelocityResponseWriter hardening 2019-12-11 12:38:58 -05:00
Erick Erickson dda88f73bb SOLR-13953: Prometheus exporter in SolrCloud mode limited to 100 nodes
(cherry picked from commit d189520935)
2019-12-10 20:26:04 -05:00
Robert Muir e6728cdf64 SOLR-13993: sandbox velocity template render (if security manager is enabled)
The solr permissions are weak sauce due to the huge number of features, third-party dependencies, etc.

Hence they have access to do many things. For "scripting" such as velocity we have to look at a more aggressive stance:

Step 1: Can we wrap a sandbox around the whole goddamn thing and call it a day?
Step 2: Let's separate the "engine" from "untrusted code" and only be an asshole to the latter.
Step 3: Java's security is shit, Lets contain that classloader and whitelist access.
2019-12-05 01:36:58 -05:00
Robert Muir 08720cf5c0 SOLR-14000: clean up more static field leaks in tests
On windows, these objects can't be inspected due to security restrictions. So the test runner fails the tests since it does not know how big the leak is.
2019-12-03 18:53:43 -05:00
Robert Muir 72b86bc222 fix static leaks, null stuff out in afterclass 2019-12-03 06:28:52 -05:00
David Smiley 8b2d8d0947 SOLR-13971: Revert changes to the default configset. * clarified these are Java system properties * trivial dead code change; Boolean.getBoolean returns a primitive 2019-11-28 11:07:51 -05:00
Ishan Chattopadhyaya bf2899fb00 SOLR-13971: Renamed the velocity template parameter names 2019-11-28 15:44:19 +05:30
Ishan Chattopadhyaya 05c5bcc8b3 SOLR-13971: Removing velocity from _default and disabling custom template support by default 2019-11-28 07:54:37 +05:30
Mikhail Khludnev 0b8b1438e9 SOLR-13824: reject prematurely closed curly bracket in JSON. 2019-10-21 23:35:15 +03:00
Andrzej Bialecki 441af3e7aa SOLR-13677: All Metrics Gauges should be unregistered by components that registered them. 2019-10-18 18:44:16 +02:00
Koen De Groote 575f8a6ad8 LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). (#919) 2019-10-14 19:56:23 +02:00
Koen De Groote 93f9a093cc LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 19:56:00 +02:00
Chris Hostetter 8e2a050800 SOLR-13786: AwaitsFix SolrExporterIntegrationTest
(cherry picked from commit 4ec4061cbc)
2019-09-23 10:33:26 -07:00
Dawid Weiss 8c308a940b SOLR-13779: Use the safe fork of simple-xml for clustering contrib 2019-09-19 12:25:12 +02:00
Anshum Gupta b9633e0f26
SOLR-13773: Prometheus Exporter GC and Heap options (#887) (#890)
* SOLR-13773: Prometheus Exporter GC and Heap options

* Adding info to the ref-guide.
2019-09-18 13:40:46 -07:00
Koen De Groote ad6d73b481 Changing keyset() to entryset() and sometines values(). (#868) 2019-09-13 15:42:42 +02:00
Chris Hostetter 89c54ec0d1 LTR Test Hardening:
1) use per-method state isolation in several tests...

This helps prevent failures in one test to allow persisted date to leak into other test methods,
as well as ensuring that these tests play nicely with -Dtests.iters > 1

2) TestRerankBase cleanup to eliminate unnecessary extra SolrCore (that was being leaked)

(cherry picked from commit 3ed96026d3)
2019-09-12 18:12:09 -07:00
Noble Paul b1bccf7cac SOLR-13677: reverting the last commit 2019-09-10 00:50:56 +10:00
Noble Paul 1c0490c9ab SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them (#836)
* SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them
2019-08-19 19:52:16 +10:00
Munendra S N 488c75fb55 SOLR-12555: use expectThrows() to verify the ex thrown in tests 2019-08-03 13:19:53 +05:30
Chris Hostetter 89af2ec304 SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore()
(cherry picked from commit ab470a6564)
2019-08-01 09:16:02 -07:00
Munendra S N bb3372a17c SOLR-13657: fix unsupported xpath test in TestXPathRecordReader
* use expectThrows to verify the exception and the message
* fix NPE in the test
2019-07-29 22:34:57 +05:30
Munendra S N 64357bc913 SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res 2019-07-29 09:58:23 +05:30
Jason Gerlowski ca4cd3c7d3 SOLR-13629: Cleanup whitespace in analytics contrib 2019-07-28 15:37:59 -04:00
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 325824cd39)
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 7e57d3a9d9)

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 7ebeab71f4)
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 61279a2e79)
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 c2b92f3015)
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