Jan Høydahl
1f2212c8d8
SOLR-14198: Nullpointer exception in AuditEvent with AuthorizationContext ( #1192 )
...
(cherry picked from commit 75c64089a1
)
2020-01-22 21:47:08 +01:00
David Smiley
96863e54e7
SOLR-14040: restore legacy Collection auto-creation
...
(cherry picked from commit f1db918e20
)
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 95dfddc7d4
)
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 ab924fd4ea
)
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 5f2d7c4855
)
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 9a2497f637
)
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 1f1b719478
.
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 ac777a5352
)
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 0fac7c1a26
)
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
Nick Vercammen
1b40371d43
SOLR-14153: Return correct isolation level when retrieving it from the SQL Connection
...
As transactions are not supported a request to getTransactionIsolation() should return TRANSACTION_NONE (https://docs.oracle.com/javase/8/docs/api/java/sql/Connection.html#TRANSACTION_NONE )
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-03 14:25:51 -05:00
Eric Pugh
4dc761fb60
SOLR-14157: Document backup/restore 'name' param ( #1133 )
2020-01-03 10:19:28 -05:00
Joel Bernstein
861bdae964
SOLR-14130: Get working with branch_8x
2020-01-03 09:51:18 -05:00
Joel Bernstein
f35cd71427
SOLR-14130: Harden parsing logic
2020-01-03 08:53:31 -05:00
Joel Bernstein
600326c318
SOLR-14130: Fix precommit
2020-01-03 08:53:11 -05:00
Joel Bernstein
eb480c6c3b
SOLR-14130: Add postlogs command line tool for indexing Solr logs
2020-01-03 08:52:47 -05:00
Dawid Weiss
daa4a8e467
Follow-up unused import removal.
2020-01-03 14:21:22 +01:00
Dawid Weiss
2b00d633a5
SOLR-13778: Solrj client will retry requests on SSLException with a suppressed SocketException (very likely a hard-closed socket connection)
2020-01-03 14:19:09 +01:00
Andrzej Bialecki
22386a1f12
SOLR-14122: SimUtils converts v2 to v1 request params incorrectly.
2020-01-02 14:25:55 +01:00
Nándor Mátravölgyi
5874b9c793
LUCENE-9093: UnifiedHighlighter LengthGoalBreakIterator frag align
...
Matches in passages should be centered better on average.
Closes #1123
(cherry picked from commit 4c9cc2cefd
)
2020-01-01 01:00:13 -05:00
Jan Høydahl
6eff727590
SOLR-14129: Reuse Jackson ObjectMapper in AuditLoggerPlugin ( #1104 )
...
(cherry picked from commit c4993bc99c
)
2019-12-30 17:41:59 +01:00
Cassandra Targett
601f9dbcf0
Ref Guide: fix upgrade notes version typo
2019-12-30 10:04:35 -06:00
Jan Høydahl
523b783f63
SOLR-14109: Always log to stdout from server/scripts/cloud-scripts/zkcli.{bat|sh} ( #1130 )
...
(cherry picked from commit 33bd811fb8
)
2019-12-30 16:36:18 +01:00
Eric Pugh
e134123060
Word choice should be starting, not staring ( #1128 )
...
(cherry picked from commit 5a50eaa2c6
)
2019-12-30 12:48:19 +01:00
Robert Muir
300e81b655
SOLR-14141: eliminate JKS keystore from solr ssl docs.
...
Currently the documentation pretends to create a JKS keystore. It is
only actually a JKS keystore on java 8: on java9+ it is a PKCS12
keystore with a .jks extension (because PKCS12 is the new java default).
It works even though solr explicitly tells the JDK
(SOLR_SSL_KEY_STORE_TYPE=JKS) that its JKS when it is in fact not, due
to how keystore backwards compatibility was implemented.
Fix docs to explicitly create a PKCS12 keystore with .p12 extension and
so on instead of a PKCS12 keystore masquerading as a JKS one. This
simplifies the SSL steps since the "conversion" step (which was doing
nothing) from .JKS -> .P12 can be removed.
2019-12-29 09:34:55 -05:00
Mikhail Khludnev
c01b45b924
SOLR-13808: caching {!bool filter=..} by default.
2019-12-28 23:34:52 +03:00
Bruno Roustant
8f5f18041a
SOLR-14131: Add maxQueryLength option to DirectSolrSpellchecker.
2019-12-25 21:48:07 +01:00
Jan Høydahl
6722b94d52
SOLR-14146: Zookeeper version not resolved in RefGuide ( #1119 )
...
(cherry picked from commit aa43f352d9
)
2019-12-24 23:07:58 +01:00
Robert Muir
359d82348e
SOLR-14120: Solr Admin UI breaks when using IE11
2019-12-24 11:28:14 -08:00
Robert Muir
7feba46a6f
SOLR-14144: add IP-based access control to securing solr page
2019-12-24 07:56:14 -08:00
Robert Muir
4cde252a84
SOLR-14143: add request logging to securing solr page
2019-12-24 06:47:00 -08:00
Robert Muir
30069e13f5
SOLR-13984: docs, changes.txt
2019-12-24 06:43:50 -08:00
Robert Muir
89d88de5c2
SOLR-13984: add (experimental, disabled by default) security manager support ( #1082 )
...
* SOLR-13984: add (experimental, disabled by default) security manager support.
User can set SOLR_SECURITY_MANAGER_ENABLED=true to enable security manager at runtime.
The current policy file used by tests is moved to solr/server
Additional permissions are granted for the filesystem locations set by bin/solr, and networking everywhere is enabled.
This takes advantage of the fact that permission entries are ignored if properties are not defined:
https://docs.oracle.com/javase/7/docs/technotes/guides/security/PolicyFiles.html#PropertyExp
2019-12-24 06:31:14 -08:00
Robert Muir
d7ff40f53f
SOLR-14136: ip whitelist/blacklist via env vars ( #1111 )
...
SOLR-14136: ip whitelist/blacklist via env vars
This makes it easy to restrict access to Solr by IP. For example SOLR_IP_WHITELIST="127.0.0.1, 192.168.0.0/24, [::1], [2000:123:4:5::]/64" would restrict access to v4/v6 localhost, the 192.168.0 ipv4 network, and 2000:123:4:5 ipv6 network. Any other IP will receive a 403 response.
Blacklisting functionality can deny access to problematic addresses or networks that would otherwise be allowed. For example SOLR_IP_BLACKLIST="192.168.0.3, 192.168.0.4" would explicitly prevent those two specific addresses from accessing solr.
2019-12-23 16:28:12 -08:00
Tomas Fernandez Lobbe
5f5ef58117
SOLR-14095: Fix Java 8 compile issue
2019-12-23 15:03:23 -08:00
Tomas Fernandez Lobbe
fe04a5b6f0
SOLR-14095: Let the overseer use javabin to store responses in ZooKeeper ( #1095 )
...
The Overseer used java serialization to store command responses in ZooKeeper. This commit changes the code to use Javabin instead, while allowing Java serialization with a System property in case it's needed for compatibility
2019-12-23 15:03:14 -08:00
Nándor Mátravölgyi
80ad056bab
LUCENE-9091: UnifiedHighlighter HTML escaping should only
...
escape essentials
(cherry picked from commit 1be5b68964
)
2019-12-23 17:21:32 -05:00
Robert Muir
f1a674717a
SOLR-14138: changes.txt
2019-12-23 10:49:49 -08:00
Robert Muir
baeaa56fb2
SOLR-14138: enable request log via environ var, remove deprecated jetty class usage, respect SOLR_LOGS_DIR ( #1110 )
...
User can now set SOLR_REQUESTLOG_ENABLED=true to enable the jetty request log, instead of editing XML. The location of the request logs will respect SOLR_LOGS_DIR if that is set. The deprecated NCSARequestLog is no longer used, instead it uses CustomRequestLog with NCSA_FORMAT.
2019-12-23 07:38:56 -08:00
noble
04b0a5d8f3
SOLR-14125 : Streaming expressions to be loadable from packages
2019-12-23 15:30:11 +11:00
Cassandra Targett
f74a62f37e
Ref Guide: various little typos; clean up Solr CLI section on bin/solr export
2019-12-20 15:00:51 -06:00
Andy Vuong
939057deff
SOLR-14107: Ensure bin/solr -q/-v args work with -e/example ( #1093 )
...
Co-authored-by: Andy Vuong <andyvvv.101@gmail.com>
2019-12-20 11:32:11 -05:00
Robert Muir
3d01cd6f74
SOLR-14112: do not display load average of -1.00 on windows in admin UI
2019-12-20 05:45:11 -05:00
Kevin Risden
3f23002456
SOLR-14106: Cleanup Jetty SslContextFactory usage
...
Jetty 9.4.16.v20190411 and up introduced separate
client and server SslContextFactory implementations.
This split requires the proper use of of
SslContextFactory in clients and server configs.
This fixes the following
* SSL with SOLR_SSL_NEED_CLIENT_AUTH not working since v8.2.0
* Http2SolrClient SSL not working in branch_8x
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-19 23:19:12 -05:00
Chris Hostetter
22fe38f060
SOLR-14128: SystemCollectionCompatTest - increase logging to aid in debuging future (jenkins) failures
...
(cherry picked from commit bc2770ebb8
)
2019-12-19 17:15:18 -07:00
Jason Gerlowski
5270b17a3b
SOLR-14042: Fix varargs precommit warnings
2019-12-19 10:03:38 -05:00
Adrien Grand
741593f57b
Minor improvements to the Solr changes.
2019-12-19 08:41:47 +01:00
Ishan Chattopadhyaya
35cb6a0203
SOLR-14108: Fix cherry-pick problem with last commit
2019-12-19 11:08:56 +05:30
Ishan Chattopadhyaya
3a4f43227b
SOLR-14108: Handle missing verify commands or missing default params in Package Manager
2019-12-19 10:47:29 +05:30
Robert Muir
04e306f616
SOLR-14085: remove solr fork of lucene test securitymanager
2019-12-18 23:12:57 -05:00
Matthias Krueger
d226aba686
SOLR-14091: Removing deprecated configuration of Jetty's soLingerTime option
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-12-18 19:30:31 -05:00
Chris Hostetter
f0714517e4
SOLR-14099: expanded comment on static final variable based on followup questions in Jira from Dawid
...
(cherry picked from commit d30f90e349
)
2019-12-18 16:38:36 -07:00
noble
ac7ad676ef
SOLR-13822: Bug fixs and tests for URP loading
2019-12-19 06:24:26 +11:00
tallison
f06e32c969
SOLR-14054 -- need to add xml-apis for Java 8 after upgrading xerces
2019-12-18 12:49:43 -05:00
Cassandra Targett
56824fb6d7
SOLR-13662: Improvements for Ref Guide package-manager.adoc
2019-12-18 10:53:03 -06:00
Robert Muir
8c14015e52
SOLR-13983: remove or replace process execution in SystemInfoHandler
2019-12-18 09:23:36 -05:00
Robert Muir
53a82aedcb
SOLR-14110: sandbox javax.script usage in tests
2019-12-18 06:31:00 -05:00
Mikhail Khludnev
cc00e1dcef
SOLR-14092: Mark BlockJoinFacetComponent as deprecated.
2019-12-18 11:11:25 +03:00
Chris Hostetter
d1fa6e1e02
SOLR-14099: Fixed @LogLevel annotation in test-framework to correctly 'unset' Loggers after test
...
(cherry picked from commit cc4262a8ec
)
2019-12-17 14:59:26 -07:00
Chris Hostetter
35793386b0
Harden (Cloud)ExitableDirectoryReaderTest
...
Thread.sleep() is "subject to the precision and accuracy of system timers and schedulers."
But tests using DelayingSearchComponent need to ensure that it sleeps *at least* as long as they request, in order to trigger the timeAllowed constraint
(cherry picked from commit 8493cf18cb
)
2019-12-17 14:48:15 -07:00
tallison
a58269f6a6
SOLR-14054: Upgrade to Tika 1.23
2019-12-17 15:55:21 -05:00
Cassandra Targett
fb6af5e538
Ref Guide: fix typos & standardize spellings
2019-12-17 14:11:25 -06:00
Cassandra Targett
94d98bb134
Ref Guide: make section headings in Headline Case
2019-12-17 13:00:40 -06:00
Chris Hostetter
c9bd7cedc2
SOLR-13696: AwaitsFix RoutedAliasUpdateProcessorTest (and subclasses)
...
The helper method RoutedAliasUpdateProcessorTest.addDocsAndCommit doesn't garuntee docs have been committed when it returns, causing threading/timing bugs in tests that use it as a gate for making subsequent assertions -- causing a steady stream of jenkins test failures
(cherry picked from commit 33e44b2fd6
)
2019-12-17 11:10:24 -07:00
Cassandra Targett
95c7b1d925
Ref Guide: Upgrade notes for 8.4
2019-12-17 12:02:58 -06:00
Chris Hostetter
10ea628bb6
SOLR-14081: re-implement FullSolrCloudDistribCmdsTest to extend SolrCloudTestCase
...
(cherry picked from commit db11e9e9a2
)
2019-12-16 17:32:57 -07:00
Chris Hostetter
be1e6b457b
SOLR-14099: work around @LogLevel bug in LoggingHandlerTest
...
(cherry picked from commit e6b5da5c12
)
2019-12-16 12:13:38 -07:00
Robert Muir
cfccbe5af3
LUCENE-9094: Ban ObjectInputStream and ObjectOutputStream in forbidden-apis
2019-12-16 13:41:33 -05:00
Ishan Chattopadhyaya
461317062c
SOLR-14096: Stopping -Denable.packages=true from leaking to other tests
2019-12-16 20:20:43 +05:30
Andrzej Bialecki
c8fb1bf74e
Fix an occasional test error caused by the maintenance trigger generating events.
2019-12-16 13:55:12 +01:00
Ishan Chattopadhyaya
8aa0103b14
SOLR-14087: Changing the filestore dir name back to filestore from .filestore
2019-12-16 18:19:44 +05:30
Adrien Grand
ed97a36fb4
SOLR-14094: Bad-apple TestSolrCachePerf.
2019-12-16 13:46:44 +01:00
David Smiley
0ea3ffd717
SOLR-14072: Deprecate Blob API and runtimeLib ( #1086 )
...
(cherry picked from commit 2db48314f9
)
2019-12-15 23:54:02 -05:00
noble
f433051f5e
SOLR-14087: changed the filestore location to .filestore instead of $filestore
2019-12-16 15:51:14 +11:00
Noble Paul
3635a1bcdb
SOLR-14087: disable package store API if -Denable.packages not set to true
2019-12-16 08:06:23 +11:00