13710 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar
7316391d2d SOLR-13897: Fix unsafe publication of Terms object in ZkShardTerms that can cause visibility issues and race conditions under contention
(cherry picked from commit 776631254ffa900527fa1ed7bcf789265cb289c1)
2020-01-27 12:09:12 +05:30
Uwe Schindler
e934c8a7ca SOLR-14189: Add changes entry 2020-01-26 12:07:20 +01:00
andywebb1975
43085edaa6 SOLR-14189 switch from String.trim() to StringUtils.isBlank() (#1172) 2020-01-26 12:07:19 +01:00
Gus Heck
dbe38b97f5 SOLR-13749 Cross Collection Join Filter 2020-01-25 00:48:22 -05:00
Cassandra Targett
6501577eb5 SOLR-14214: Clean up client lists and references 2020-01-24 16:04:14 -06:00
Mikhail Khludnev
8a8743159e SOLR-12045: Know how Analytic Component deployment. 2020-01-23 23:27:55 +03:00
Cassandra Targett
7aae6445a5 SOLR-12930: Create developer docs directories in source repo (#1164) 2020-01-23 14:11:31 -06:00
Kevin Risden
89ded7060d
SOLR-11554: Support handling OPTIONS request for Hadoop authentication filter
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 13:46:42 -05:00
Nick Vercammen
f34e1de7d8
SOLR-14205 Do not fail when given timeout to connectionImpl.isValid() = 0
Closes #1204

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 10:27:37 -05: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
Jan Høydahl
afdbd9e8d5 SOLR-14196: AdminUI login not working for JWTAuth when blockUnknown=false (#1190)
(cherry picked from commit e744f7977e87462d47d7bead3c767824bd655236)
2020-01-23 14:52:48 +01:00
Shalin Shekhar Mangar
6458d4f63e SOLR-14172: Collection metadata remains in zookeeper if too many shards are requested.
This also fixes a bug where an inability to assign a node based on existing autoscaling policy resulted in a server error instead of a bad request.

This closes #1152.

(cherry picked from commit 84270dc6cfae79efccea188175b07e43c6b5d5b7)
2020-01-23 15:21:21 +05:30
Shalin Shekhar Mangar
0dea3c7060 SOLR-14207: Fix logging statements with less or more arguments than placeholders
(cherry picked from commit 04193d5252bcbdb30d0e29447a72d4e9006e7f3f)
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
Chris Hostetter
e0820acc45 SOLR-14159: Eliminate some 'spin loops' in tests that may be contributing factors to odd test failures
(cherry picked from commit 6b3e7feba19d2314d8c38205dbf1ab1fe2607096)
2020-01-22 14:45:17 -07:00
Jan Høydahl
1f2212c8d8 SOLR-14198: Nullpointer exception in AuditEvent with AuthorizationContext (#1192)
(cherry picked from commit 75c64089a1c17362ae8be0ecc4f0aac6a6451c4f)
2020-01-22 21:47:08 +01:00
David Smiley
96863e54e7
SOLR-14040: restore legacy Collection auto-creation
(cherry picked from commit f1db918e2072e35295cd53376822b83f7e438927)
2020-01-22 15:27:12 -05:00
Chris Hostetter
475b8cafc5 SOLR-12859: Fixed DocExpirationUpdateProcessorFactory to work with BasicAuth and other auth plugins that delegate to PKI for server initiated node-to-node communication.
(cherry picked from commit 95dfddc7d4eaaa5997ccd69797dbe1fd966f32ac)
2020-01-22 10:22:56 -07:00
Joel Bernstein
74936c32c3 SOLR-14130: Update CHANGES.txt 2020-01-22 09:53:26 -05:00
Ishan Chattopadhyaya
3333ce7da6 Synchronizing 8.4.1 changes 2020-01-22 11:29:44 +05:30
Ishan Chattopadhyaya
2dd1a34f8c Synchronizing 8.4.1 changes 2020-01-22 11:22:38 +05:30
David Smiley
baab2fce43
SOLR-14040: shareSchema support for SolrCloud
* Use Caffeine impl and weak values (to the schema). Previously the cache never evicted!
* now populating the configSet name from ZK into CloudDescriptor when CloudDescriptor is loaded
* actual schema name needs to be deterministic now; fallback from non-existent managed-schema to schema.xml will thwart this cache
* a test conf/core.properties wasn't actually used and became a problem in it's weird location after I refactored some logic

Closes #1166
(cherry picked from commit ab924fd4ea1ba6de6942bebd330a8be3120bf441)
2020-01-21 13:40:14 -05:00
Christine Poerschke
513d4758cd SOLR-13965: Factor out public static StreamHandler.addExpressiblePlugins method. 2020-01-21 18:34:49 +00:00
Andrzej Bialecki
4c72b3d970 SOLR-14192: Race condition between SchemaManager and ZkIndexSchemaReader. 2020-01-20 17:13:05 +01:00
Chris Hostetter
bb48773cdc SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose
(cherry picked from commit 5f2d7c4855987670489d68884c787e4cfb377fa9)
2020-01-16 11:47:36 -07:00
Christine Poerschke
2b1b2b1a58 Fix 'Restar[t]ing' typo in RecoveryStrategy INFO log message. 2020-01-16 18:15:51 +00:00
Christine Poerschke
c82b4c0913 Update copyright year(s) in lucene/NOTICE.txt and solr/NOTICE.txt files. 2020-01-16 18:15:51 +00:00
Joel Bernstein
f48b5f9324 SOLR-14130: Continue to improve log parsing logic 2020-01-16 11:41:53 -05:00
Cassandra Targett
f04ec60e47 Ref Guide: make single shard requirement for TaggerRequestHandler slightly more prominent and descriptive 2020-01-16 09:19:00 -06:00
Joel Bernstein
99ec7dcd26 SOLR-14130: Add parsing instructions for different types of query records 2020-01-16 09:05:54 -05:00
Jason Gerlowski
8c2e800cae SOLR-14186: Introduce gitattributes to manage EOL 2020-01-16 08:44:52 -05:00
Alan Woodward
89cfb906b6 LUCENE-9068: Solr query handling code catches FuzzyTermsException 2020-01-16 09:52:52 +00:00
Mikhail Khludnev
a7ca613f01 SOLR-12490: reverting ref-guide-fix. 2020-01-15 12:19:16 +03:00
Mikhail Khludnev
c90ef46497 SOLR-12490: Describe json.queries in the ref guide.
Link it from many pages.
Fix a few errors by the way.
2020-01-15 09:08:23 +03:00
Jason Gerlowski
a6953bd976 SOLR-14186: Restore CRLF line endings to solr.cmd 2020-01-13 12:36:44 -05:00
Jason Gerlowski
2393b1ed58 SOLR-13890: Add "top-level" DV "terms" implementation (#1151)
{!terms} queries have a docValues-based implementation that uses per-segment DV structures.  This does well with a small to moderate (a few hundred) number of query terms, but doesn't well scale beyond that due to repetitive seeks done on each segment.

This commit introduces an implementation that uses a "top-level" docValues structure, which scales much better to very large {!terms} queries (many hundreds, thousands of terms).
2020-01-13 06:45:11 -05:00
RompotiMiranda
32647034ef SOLR-13934: Improve SimplePostTool & bin/post docs (#1013)
Co-Authored-By: RompotiMiranda
2020-01-13 06:35:52 -05:00
Chris Hostetter
23fab1b6eb SOLR-13486: Fix trivial test bug in TestTlogReplayVsRecovery
Add TODOs for future test improvements once underlying race condition is fixed in core code

(cherry picked from commit 9a2497f6377601d396b1b3b8b83ffcab0fd331a3)
2020-01-11 16:48:26 -07:00
Bruno Roustant
72dea4919e
SOLR-6613: TextField.analyzeMultiTerm does not throw an exception when Analyzer returns no terms. (Bruno Roustant) 2020-01-10 16:52:49 +01:00
Joel Bernstein
1cb085afcb SOLR-14130: Improve robustness of the logs parser 2020-01-10 08:41:58 -05:00
Ishan Chattopadhyaya
f701ffd8cf SOLR-14158: Package manager to read keys from package store, not ZK 2020-01-10 10:34:09 +05:30
Kevin Risden
49a06a1a14
SOLR-14163: SOLR_SSL_CLIENT_HOSTNAME_VERIFICATION needs to work with Jetty server/client SSL contexts
Closes #1147

Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-09 10:29:25 -05:00
Eric Pugh
b996635413 SOLR-13927: Correct v2 /schema APIs in docs (#1010) 2020-01-09 09:22:09 -05:00
noble
b8ec731af6 SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way 2020-01-10 01:15:20 +11:00
Houston Putman
6fde6dc504 Revert "SOLR-11746: Existence query support for numeric point fields"
This reverts commit 1f1b719478e298b5ada064197a7fa919b608d24c.
2020-01-08 18:35:22 -05:00
Tomas Fernandez Lobbe
c0e04692e4 SOLR-14169: Fix 20 Resource Leak warnings in SolrJ's apache/solr/common 2020-01-08 11:17:36 -08:00
Houston Putman
1f1b719478 SOLR-11746: Existence query support for numeric point fields 2020-01-06 13:09:05 -05:00
Martijn Koster
2aa739ae87 SOLR-13089: Fix lsof edge cases in the solr CLI script
(cherry picked from commit ac777a5352224b2c8f46836f0e078809308fc2d8)
2020-01-06 13:20:54 +01:00
Chris Hostetter
a8ab65b186 SOLR-13486: Text improvements
* force a hard commit of all docs in TestCloudConsistency to work around bug in that test

 * add new AwaitsFix'ed TestTlogReplayVsRecovery that more explicitly demonstrates the bug via TestInjection.updateLogReplayRandomPause

(cherry picked from commit 0fac7c1a26395ed21f14e02a471e6350144074c7)
2020-01-03 15:12:46 -07:00
Mikhail Khludnev
b7209c2acc SOLR-12490: Introducing json.queries to define many named queries in Query DSL. 2020-01-03 23:30:31 +03:00