Nick Vercammen
60a2926546
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:12:43 -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
Jan Høydahl
e744f7977e
SOLR-14196: AdminUI login not working for JWTAuth when blockUnknown=false ( #1190 )
2020-01-23 14:51:36 +01:00
Shalin Shekhar Mangar
84270dc6cf
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 .
2020-01-23 15:19:53 +05:30
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
c53cbb12f4
SOLR-11746: Adding CHANGES.txt entry
2020-01-22 23:44:25 -05:00
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
Chris Hostetter
6b3e7feba1
SOLR-14159: Eliminate some 'spin loops' in tests that may be contributing factors to odd test failures
2020-01-22 14:44:56 -07:00
Jan Høydahl
75c64089a1
SOLR-14198: Nullpointer exception in AuditEvent with AuthorizationContext ( #1192 )
2020-01-22 21:39:43 +01:00
David Smiley
f1db918e20
SOLR-14040: restore legacy Collection auto-creation
2020-01-22 15:26:37 -05:00
Chris Hostetter
95dfddc7d4
SOLR-12859: Fixed DocExpirationUpdateProcessorFactory to work with BasicAuth and other auth plugins that delegate to PKI for server initiated node-to-node communication.
2020-01-22 09:32:25 -07:00
Joel Bernstein
25ba52d1a0
SOLR-14130: Update CHANGES.txt
2020-01-22 09:52:20 -05:00
Ishan Chattopadhyaya
cc9c494a34
Synchronizing 8.4.1 changes
2020-01-22 11:31:12 +05:30
Ishan Chattopadhyaya
f6ca662f33
Synchronizing 8.4.1 changes
2020-01-22 11:21:53 +05:30
Christine Poerschke
1af171e47f
SOLR-13965: Factor out public static StreamHandler.addExpressiblePlugins method.
2020-01-21 18:33:26 +00:00
David Smiley
ab924fd4ea
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
2020-01-21 13:18:37 -05:00
Andrzej Bialecki
6244b7150e
SOLR-14192: Race condition between SchemaManager and ZkIndexSchemaReader.
2020-01-20 17:11:47 +01:00
Dawid Weiss
351b30489c
LUCENE-9077: Enable javac linting as in ant. TONS of warnings are currently printed.
2020-01-20 10:10:48 +01:00
Mike
338d386ae0
LUCENE-9145 First pass addressing static analysis ( #1181 )
...
Fixed a bunch of the smaller warnings found by error-prone compiler
plugin, while ignoring a lot of the bigger ones.
2020-01-17 13:30:39 -06:00
Chris Hostetter
5f2d7c4855
SOLR-14184: Internal 'test' variable DirectUpdateHandler2.commitOnClose has been removed and replaced with TestInjection.skipIndexWriterCommitOnClose
2020-01-16 11:47:06 -07:00
Christine Poerschke
94ee211366
Fix 'Restar[t]ing' typo in RecoveryStrategy INFO log message.
2020-01-16 18:13:47 +00:00
Christine Poerschke
f04a5177e6
Update copyright year(s) in lucene/NOTICE.txt and solr/NOTICE.txt files.
2020-01-16 18:13:47 +00:00
Joel Bernstein
35d8e3de6d
SOLR-14130: Continue to improve log parsing logic
2020-01-16 11:36:11 -05:00
Cassandra Targett
2adecb1d6d
Ref Guide: make single shard requirement for TaggerRequestHandler slightly more prominent and descriptive
2020-01-16 09:18:31 -06:00
Jason Gerlowski
424ace6f5d
SOLR-14186: Enforce CRLF in Windows files with .gitattributes ( #1163 )
2020-01-16 08:30:39 -05:00
Alan Woodward
7ea7ed72ac
LUCENE-9068: Solr query handling code catches FuzzyTermsException
2020-01-16 09:52:18 +00:00
Andrzej Bialecki
543505470c
SOLR-14128: Tentative fix: put replicas on other nodes than overseer, wait for
...
all replicas to complete the reload.
2020-01-16 10:42:26 +01:00
Joel Bernstein
4c473db99d
SOLR-14130: Add parsing instructions for different types of query records
2020-01-15 15:01:28 -05:00
Dawid Weiss
c51a4a030b
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-15 13:00:02 +01:00
Dawid Weiss
0231b93731
Revert "SOLR-12490: corrected link."
...
This reverts commit 5cb5151421
.
2020-01-15 12:59:35 +01:00
Dawid Weiss
5cb5151421
SOLR-12490: corrected link.
2020-01-15 12:57:18 +01:00
Mikhail Khludnev
0e4abf7179
SOLR-12490: reverting ref-guide-fix.
2020-01-15 13:08:05 +03:00
Dawid Weiss
08d2c2d0df
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-15 09:54:45 +01:00
Mikhail Khludnev
5cf1ffef32
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:04:54 +03:00
Dawid Weiss
2992e7dd86
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-13 19:11:04 +01:00
Dawid Weiss
2cda4184c9
Fix javadoc.
2020-01-13 19:09:56 +01:00
Dawid Weiss
3008dd9526
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-13 17:55:53 +01:00
Jason Gerlowski
58b3c1f068
SOLR-14186: Re-add CRLF line endings to solr.cmd ( #1162 )
2020-01-13 10:40:43 -05:00
Jason Gerlowski
5377742a62
SOLR-13985: Bind to localhost interface by default ( #1154 )
...
Prior to this commit, Solr's Jetty listened for connections on all
network interfaces. This commit changes it to only listen on localhost,
to prevent incautious administrators from accidentally exposing their
Solr deployment to the world.
Administrators who wish to override this behavior can set the
SOLR_JETTY_HOST property in their Solr include file
(solr.in.sh/solr.in.cmd) to "0.0.0.0" or some other value.
A version of this commit was previously reverted due to inconsistency
between SOLR_HOST and SOLR_JETTY_HOST. This commit fixes this issue.
2020-01-13 09:42:30 -05:00
0xflotus
5a73ad0178
Two minor Javadoc cleanups ( #1002 )
2020-01-13 09:22:04 -05:00
Jason Gerlowski
6e4756fd48
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:43:21 -05:00
RompotiMiranda
e5cff170b7
SOLR-13934: Improve SimplePostTool & bin/post docs ( #1013 )
...
Co-Authored-By: RompotiMiranda
2020-01-13 06:34:47 -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
Chris Hostetter
9a2497f637
SOLR-13486: Fix trivial test bug in TestTlogReplayVsRecovery
...
Add TODOs for future test improvements once underlying race condition is fixed in core code
2020-01-11 16:48:05 -07:00
Dawid Weiss
3beb1cfd1e
Add initial support for rendering javadocs.
2020-01-10 16:43:52 +01:00
Bruno Roustant
0b072ecedb
SOLR-6613: TextField.analyzeMultiTerm does not throw an exception when Analyzer returns no terms. (Bruno Roustant)
...
Closes #1146
2020-01-10 15:47:00 +01:00
Joel Bernstein
d68f3e1a44
SOLR-14130: Improve robustness of the logs parser
2020-01-10 08:39:00 -05:00
Dawid Weiss
5e2396d9fe
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-10 13:00:38 +01:00
Ishan Chattopadhyaya
6fb085943c
SOLR-14158: Package manager to read keys from package store, not ZK
2020-01-10 10:25:44 +05:30
Dawid Weiss
d7726495c5
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-09 19:22:09 +01:00
Kevin Risden
22155bf7a7
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:28:35 -05:00
noble
3b660d6b84
SOLR-14165: SolrResponse serialVersionUID has changed in a backward incompatible way
2020-01-10 01:17:50 +11:00
andywebb1975
ffe75fb441
SOLR-14165: set SolrResponse's serialVersionUID explicitly
2020-01-10 01:04:10 +11:00
Eric Pugh
8718447112
SOLR-13927: Correct v2 /schema APIs in docs ( #1010 )
2020-01-09 08:58:14 -05:00
Dawid Weiss
09fb6f196f
Don't assemble solr ref guide by default.
2020-01-09 13:48:06 +01:00
Dawid Weiss
2ba3ec7173
LUCENE-9124: updated build script for solr-ref-guide; newer plugin version and a workaround against gem proxy down.
2020-01-09 13:31:50 +01: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
Houston Putman
ee66e5ef23
Revert "SOLR-11746: Adding docs for negative existence queries."
...
This reverts commit 9edb143efd
.
2020-01-08 18:32:31 -05:00
Tomas Fernandez Lobbe
a9beeb1d1e
SOLR-14169: Fix 20 Resource Leak warnings in SolrJ's apache/solr/common
2020-01-08 11:16:32 -08:00
Dawid Weiss
7e4c841aa7
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-08 12:26:10 +01:00
Jason Gerlowski
a17c486424
Revert "SOLR-13985: Bind to localhost interface by default"
...
This temporarily reverts commit 479e73 while a potentially related
networking hiccup is investigated.
2020-01-07 09:05:13 -05:00
Dawid Weiss
405d227c55
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-07 08:45:12 +01:00
Houston Putman
9edb143efd
SOLR-11746: Adding docs for negative existence queries.
2020-01-06 13:08:13 -05:00
Houston Putman
f5ab3ca688
SOLR-11746: Existence query support for numeric point fields
2020-01-06 12:12:22 -05:00
Martijn Koster
ac777a5352
SOLR-13089: Fix lsof edge cases in the solr CLI script
2020-01-06 13:20:14 +01:00
Chris Hostetter
0fac7c1a26
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
2020-01-03 15:12:23 -07:00
Mikhail Khludnev
8fba8eba13
SOLR-12490: Introducing json.queries to define many named queries in Query DSL.
2020-01-03 23:28:11 +03:00
Jason Gerlowski
479e736469
SOLR-13985: Bind to localhost interface by default
...
Prior to this commit, Solr's Jetty listened for connections on all
network interfaces. This commit changes it to only listen on localhost,
to prevent incautious administrators from accidentally exposing their
Solr deployment to the world.
Administrators who wish to override this behavior can set the
SOLR_JETTY_HOST property in their Solr include file
(solr.in.sh/solr.in.cmd) to "0.0.0.0" or some other value.
2020-01-03 15:17:24 -05:00
Nick Vercammen
1e0471a247
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:24:55 -05:00
Eric Pugh
50176fd6fc
SOLR-14157: Document backup/restore 'name' param ( #1133 )
2020-01-03 10:18:27 -05:00
Joel Bernstein
8df304d12e
SOLR-14130: Harden parsing logic
2020-01-03 08:47:19 -05:00
Joel Bernstein
8784d7c787
SOLR-14130: Fix precommit
2020-01-03 08:47:19 -05:00
Joel Bernstein
29c00d4fe7
SOLR-14130: Add postlogs command line tool for indexing Solr logs
2020-01-03 08:47:19 -05:00
Dawid Weiss
d2409fe499
Follow-up unused import removal.
2020-01-03 14:20:52 +01:00
Dawid Weiss
6d1e34d0cc
Follow-up unused import removal.
2020-01-03 14:20:21 +01:00
Dawid Weiss
985af95732
SOLR-13778: Solrj client will retry requests on SSLException with a suppressed SocketException (very likely a hard-closed socket connection)
2020-01-03 14:12:23 +01:00
Dawid Weiss
f789e053d2
Solrj client will retry requests on SSLException with a suppressed SocketException (very likely a hard-closed socket connection)
2020-01-03 14:09:37 +01:00
Dawid Weiss
2bab5ea442
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-03 11:02:55 +01:00
Andrzej Bialecki
7d0cf0df32
SOLR-13817: Clean up config files to remove the default 'class=' attribute in
...
standard caches.
2020-01-02 20:58:47 +01:00
Andrzej Bialecki
15d5e6662c
SOLR-14122: add unit test.
2020-01-02 14:02:54 +01:00
Andrzej Bialecki
38b9af21f1
SOLR-14122: SimUtils converts v2 to v1 request params incorrectly.
2020-01-02 13:54:45 +01:00
Dawid Weiss
1a690d95ad
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-02 10:49:19 +01:00
Nándor Mátravölgyi
4c9cc2cefd
LUCENE-9093: UnifiedHighlighter LengthGoalBreakIterator frag align
...
Matches in passages should be centered better on average.
Closes #1123
2020-01-01 00:57:00 -05:00
Dawid Weiss
a40b3e755b
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-31 10:08:07 +01:00
Dawid Weiss
5bb5f7eddf
Upgrade Randomizedtesting to 2.7.6
2019-12-31 09:42:44 +01:00
Jan Høydahl
c4993bc99c
SOLR-14129: Reuse Jackson ObjectMapper in AuditLoggerPlugin ( #1104 )
2019-12-30 17:40:32 +01:00
Cassandra Targett
6d24cacf78
Ref Guide: fix upgrade notes version typo
2019-12-30 10:03:13 -06:00
Jan Høydahl
33bd811fb8
SOLR-14109: Always log to stdout from server/scripts/cloud-scripts/zkcli.{bat|sh} ( #1130 )
2019-12-30 16:28:24 +01:00
Dawid Weiss
ca8661bc3a
Reworked dependency resolution for license checks to work around a problem with gradle. Consolidated licenses with the ant build (excluding some jars from the ref-guide).
2019-12-30 14:05:08 +01:00
Eric Pugh
5a50eaa2c6
Word choice should be starting, not staring ( #1128 )
2019-12-30 12:45:19 +01:00
Dawid Weiss
d79b678b39
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-30 09:24:46 +01:00
Robert Muir
1cb6e35058
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:00 -05:00
Mikhail Khludnev
3ae1a0b3ba
SOLR-13808: remove redundant @Repeat
2019-12-28 23:43:37 +03:00
Mikhail Khludnev
3f29fe0b80
SOLR-13808: caching {!bool filter=..} by default.
2019-12-28 21:48:11 +03:00
Dawid Weiss
0fce50593b
Add commons-csv to extraction deps.
2019-12-25 19:55:27 +01:00
Dawid Weiss
7350f03cd1
Reordered some lines and comments to make it easier to manually diff/ merge with gradle branch.
2019-12-25 13:29:11 +01:00
Dawid Weiss
584f564c91
Reordered some lines and comments to make it easier to manually diff/ merge with gradle branch.
2019-12-25 13:26:16 +01:00
Dawid Weiss
23f3fd2d48
Merge remote-tracking branch 'origin/master' into gradle-master
2019-12-25 13:14:57 +01:00