Robert Muir
975df9ddd3
LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task
2020-01-27 12:05:34 -05:00
Kevin Risden
9b6fc1b9fc
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:20:12 -05:00
Shalin Shekhar Mangar
04193d5252
SOLR-14207: Fix logging statements with less or more arguments than placeholders
2020-01-23 14:00:08 +05:30
Houston Putman
ffba54a827
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 18:00:55 -05:00
Dawid Weiss
f9dde4de52
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-13 08:37:15 +01:00
Erick Erickson
3bae63d215
LUCENE-9080: Upgrade ICU4j to 62.2 and make regenerate work
2020-01-12 17:12:57 -05:00
Dawid Weiss
0674fada65
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-09 11:56:02 +01:00
Houston Putman
08b64aab8f
Revert "SOLR-11746: Existence query support for numeric point fields"
...
This reverts commit f5ab3ca688
.
2020-01-08 18:33:15 -05:00
Dawid Weiss
405d227c55
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-07 08:45:12 +01:00
Houston Putman
f5ab3ca688
SOLR-11746: Existence query support for numeric point fields
2020-01-06 12:12:22 -05:00
Dawid Weiss
0fce50593b
Add commons-csv to extraction deps.
2019-12-25 19:55:27 +01:00
Dawid Weiss
206d62b9d5
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-18 15:10:04 +01:00
Robert Muir
612cba38ca
SOLR-14110: sandbox javax.script usage in tests
2019-12-18 06:30:24 -05:00
Dawid Weiss
28b19c2af2
Merge with master.
2019-12-18 09:32:35 +01:00
Tim Allison
279a391cf3
SOLR-14054 -- upgrade to Tika 1.23 (and its dependencies) ( #1092 )
...
* SOLR-14054 -- upgrade to Tika 1.23 (and its dependencies)
* fix CHANGES.txt file
2019-12-17 16:09:08 -05:00
Dawid Weiss
4c94a13e69
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-17 13:38:14 +01:00
Robert Muir
dc35e5752b
LUCENE-9094: Ban ObjectInputStream and ObjectOutputStream in forbidden-apis
2019-12-16 13:31:11 -05:00
Dawid Weiss
6094d4dd13
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-12 14:16:48 +01:00
noble
b35f1debe3
SOLR-14013: javabin performance regressions
2019-12-12 23:26:37 +11:00
Ishan Chattopadhyaya
57e717eff2
SOLR-14065: Deprecate Velocity
2019-12-12 16:13:32 +05:30
Mikhail Khludnev
f01b3e97d1
SOLR-13904: Make Analytics component sensitive to timeAllowed.
2019-12-11 23:48:17 +03:00
Robert Muir
dc031ea382
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 12:51:45 -05:00
Erik Hatcher
128360856d
SOLR-14025: VelocityResponseWriter hardening
2019-12-11 12:36:14 -05:00
Dawid Weiss
27d5509644
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-11 08:57:18 +01:00
Erick Erickson
d189520935
SOLR-13953: Prometheus exporter in SolrCloud mode limited to 100 nodes
2019-12-10 20:19:30 -05:00
Dawid Weiss
1a24ccb4ee
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-05 11:17:34 +01:00
Robert Muir
e77027dd8c
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:06:38 -05:00
Robert Muir
165529767b
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:51:00 -05:00
Dawid Weiss
7c26c6de02
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-03 18:45:12 +01:00
Robert Muir
9e5d11be8a
fix static leaks, null stuff out in afterclass
2019-12-03 06:28:19 -05:00
Dawid Weiss
d4a9842375
Initial gradle build layer.
2019-12-02 15:34:57 +01:00
David Smiley
6a72b81ed3
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 10:45:58 -05:00
Ishan Chattopadhyaya
212593d362
SOLR-13971: Renamed the velocity template parameter names
2019-11-28 15:46:26 +05:30
Ishan Chattopadhyaya
50e8cea918
SOLR-13971: Removing velocity from _default and disabling custom template support by default
2019-11-28 07:52:43 +05:30
Dawid Weiss
063c82ebd6
SOLR-13952: reverting Erick's commit (with permission).
2019-11-25 17:56:20 +01:00
Erick Erickson
4b34d726ab
SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately
2019-11-24 13:24:40 -05:00
Andrzej Bialecki
b4fe911cc8
SOLR-13817: Remove legacy SolrCache implementations.
2019-11-14 21:21:44 +01:00
Andrzej Bialecki
e58a90f18d
SOLR-13858: Clean up SolrInfoBean / SolrMetricProducer API.
2019-11-04 15:31:43 +01:00
Mikhail Khludnev
afdb80069c
SOLR-13824: reject prematurely closed curly bracket in JSON.
2019-10-21 23:25:06 +03:00
Andrzej Bialecki
f07998fc23
SOLR-13677: All Metrics Gauges should be unregistered by components that registered them.
2019-10-18 17:15:04 +02:00
Koen De Groote
e7e6cfaecf
LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). ( #919 )
2019-10-14 18:45:47 +02:00
Koen De Groote
04786244d0
LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2
2019-10-14 18:36:19 +02:00
Chris Hostetter
4ec4061cbc
SOLR-13786: AwaitsFix SolrExporterIntegrationTest
2019-09-23 10:33:08 -07:00
Dawid Weiss
2a1d5eea42
SOLR-13779: Use the safe fork of simple-xml for clustering contrib
2019-09-19 12:24:26 +02:00
Houston Putman
c7f8487328
SOLR-13773: Prometheus Exporter GC and Heap options ( #887 )
...
* SOLR-13773: Prometheus Exporter GC and Heap options
* Adding info to the ref-guide.
2019-09-18 13:31:53 -07:00
Koen De Groote
ec78ef7852
Changing keyset() to entryset() and sometines values(). ( #868 )
2019-09-13 14:42:38 +02:00
Chris Hostetter
3ed96026d3
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)
2019-09-12 18:11:24 -07:00
Noble Paul
042478cfa7
SOLR-13677: reverting the last commit
2019-09-08 14:57:47 +10:00
Atri Sharma
19aecb0f7d
SOLR-13655:Upgrade Collections.unModifiableSet to Set.of and Set.copyOf ( #817 )
2019-08-23 14:31:28 -07:00
Noble Paul
7415fe4539
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:48:06 +10:00
Tomoko Uchida
9b986d268f
SOLR-13593: Allow to look up analyzer components by their SPI names in field type configuration.
2019-08-11 16:35:25 +09:00
Munendra S N
8c4fde94fe
SOLR-12555: use expectThrows() to verify the ex thrown in tests
2019-08-03 13:00:49 +05:30
Chris Hostetter
ab470a6564
SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore()
2019-08-01 09:15:18 -07:00
Munendra S N
1d303cee7f
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:17:40 +05:30
Munendra S N
9f74cb10d3
SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res
2019-07-29 09:48:31 +05:30
Jason Gerlowski
cab83772c9
SOLR-13629: Cleanup whitespace in analytics contrib
2019-07-28 15:36:21 -04:00
Andrzej Bialecki
66812b2a67
SOLR-13003: Fix WrapperModel method delegation.
2019-07-03 20:17:46 +02:00
Andrzej Bialecki
5897787291
SOLR-13003: Query Result Cache does not honour maxRamBytes parameter.
2019-07-03 17:03:43 +02:00
David Smiley
325824cd39
SOLR-13158: DIH: Add System property toggle for use of dataConfig param
2019-07-02 23:59:39 -04:00
Chris Hostetter
7e57d3a9d9
SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
2019-06-27 10:28:06 -07: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
Cao Manh Dat
da832d4f3a
SOLR-13434: Fixes problem on Java 8 build
2019-06-05 15:35:05 +01:00
Cao Manh Dat
301ea0e462
SOLR-13434: OpenTracing support for Solr ( #685 )
2019-06-04 20:04:11 +01:00
Erick Erickson
7ebeab71f4
SOLR-8346: Upgrade Zookeeper to version 3.5.5
2019-06-03 17:50:35 -07: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
Chris Hostetter
c2b92f3015
Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1
2019-05-29 10:27:15 -07:00
Uwe Schindler
c756b50ae4
LUCENE-8807: Change all download URLs in build files to HTTPS
2019-05-21 17:06:00 +02:00
Dawid Weiss
3764c727e5
SOLR-13462: Update dependency definitions to include Ukrainian dictionary.
2019-05-14 21:29:52 +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
noble
8908205b42
SOLR-13441: Refactor code to minimize direct use of noggit
2019-05-03 07:20:05 +10: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
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
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
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
Kevin Risden
4e230388ba
SOLR-13335: Upgrade to velocity 2.0 and velocity-tools 3.0
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 09:58:44 -04:00
Kevin Risden
0231c1ecb6
SOLR-13342: Remove dom4j from Solr
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 08:15:01 -04:00
Kevin Risden
6222abf448
SOLR-9079: Remove commons-lang as a dependency
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-20 19:37:19 -04:00
Alan Woodward
fbd05167f4
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-14 15:04:33 +00:00
Shalin Shekhar Mangar
6d0386c901
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 .
2019-03-14 11:10:49 +05:30
erick
9272c29539
SOLR-13268: Clean up any test failures resulting from defaulting to async logging
2019-03-10 11:05:00 -07:00
Shalin Shekhar Mangar
1f9c767aac
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 .
2019-03-04 11:02:47 +05:30
Noble Paul
a89b065c1f
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:19:18 +11:00
Bruno P. Kinoshita
5310152450
Fix some spell check issues
2019-02-12 21:35:30 -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