Munendra S N
7f37a55a8c
SOLR-13944: remove redundant checks in SpellCheckCollator
...
* After SOLR-14073, these checks become redundant and add
additional tests for spellcheck with collapse
2020-03-18 10:51:50 +05:30
Munendra S N
0b063fd2b7
SOLR-10157: improve error message in case of unknown aggregations
2020-03-18 10:46:57 +05:30
Munendra S N
2b327e5deb
SOLR-13199: Fix NPE in ChildDocTransformer when parenFilter is invalid
...
* Return proper error message and error code
2020-03-18 10:32:28 +05:30
ameliahenderson
fda935482b
SOLR-8306: Optimize expand.rows=0 to compute only total hits ( #1334 )
...
* When expand.rows=0, expand documents are not returned. So, computing them could be avoided and only total hits need to be computed
2020-03-18 09:23:04 +05:30
erick
6c1d992fad
SOLR-14312: SOLR-14296: Upgrade Zookeeper to 3.5.7, Update netty to 4.1.47
2020-03-15 22:11:49 -04:00
Andrzej Bialecki
0f10b5f042
SOLR-13264: IndexSizeTrigger aboveOp / belowOp properties not in valid properties.
2020-03-13 12:30:17 +01:00
Aroop
9a8602c96e
SOLR-14316: Fix unchecked type warning in JavaBinCodec ( #1344 )
...
Fix an unchecked type conversion warning in JavaBinCodec's readMapEntry's equals() method
Add test
Co-authored-by: Aroop Ganguly <aroop_ganguly@apple.com>
2020-03-12 09:55:01 -07:00
Alan Woodward
8a940e7971
LUCENE-9171: Add CHANGES entry
...
SOLR-12238: Add CHANGES entry
2020-03-12 09:21:14 +00:00
David Smiley
732348ec7f
SOLR-14197: SolrResourceLoader refactorings to reduce API
...
* Remove SRL.listConfigDir (unused)
* Remove SRL.getDataDir
* Remove SRL.getCoreName
* Remove SRL.getCoreProperties
XmlConfigFile needs to be passed in the substitutableProperties
IndexSchema needs to be passed in the substitutableProperties
Remove redundant Properties from CoreContainer constructors
* Remove SRL.newAdminHandlerInstance (unused)
* Remove SRL.openSchema and openConfig
* Avoid SRL.getConfigDir
Also harmonized similar initialization logic between DIH Tika processor & ExtractingRequestHandler.
* Ensure SRL.addToClassLoader and reloadLuceneSPI are called at most once
Don't auto-load "lib" in constructor; wrong place for this logic.
* Avoid SRL.getInstancePath
Added SolrCore.getInstancePath instead
Use CoreContainer.getSolrHome instead
NodeConfig should track solrHome separate from SolrResourceLoader
* Simplify some SolrCore constructors
* Move locateSolrHome to new SolrPaths
* Move "User Files" stuff to SolrPaths
2020-03-11 09:20:28 -04:00
Anshum Gupta
9842744956
Add 8.6 section to solr CHANGES.txt ( #1337 )
2020-03-11 00:16:27 -07:00
Joel Bernstein
193e4a6423
SOLR-14139: Update CHANGE.txt
2020-03-10 09:09:42 -04:00
Joel Bernstein
e6616ba7a3
SOLR-14073: Update CHANGES.txt
2020-03-09 19:11:48 -04:00
David Smiley
0c261f4215
CHANGES.txt: 8.5: re-categorize issues
2020-03-06 21:02:52 -05:00
noble
4cf37ade35
Revert "SOLR-13942: /api/cluster/zk/* to fetch raw ZK data"
...
This reverts commit bc6fa3b650
.
2020-03-06 23:08:34 +11:00
Cassandra Targett
f6afb8b165
Ref Guide/CHANGES: fix typos in page refs and format of CHANGES entry
2020-03-04 16:25:14 -06:00
Cassandra Targett
e8828f2a1c
Ref Guide: move 9.0 changes to 9.0 page; prep 8.5 notes for release; add missing change to CHANGES.txt
2020-03-04 16:20:42 -06:00
Noble Paul
bc6fa3b650
SOLR-13942: /api/cluster/zk/* to fetch raw ZK data
2020-03-03 22:36:17 +11:00
Pushkar Raste
17c576a36f
SOLR-14299 IndexFetcher doesn't reset count to 0 after the last packet is received
2020-03-02 16:26:25 -08:00
Jan Høydahl
198d9db674
SOLR-14287: Admin UI Properties screen does not show colons ( #1300 )
2020-02-28 10:32:09 +01:00
Jan Høydahl
62f5bd50cd
SOLR-14281: Make sharedLib configurable through SysProp ( #1288 )
2020-02-27 14:16:33 +01:00
Andrzej Bialecki
c6bf8b6cec
SOLR-14252: NullPointerException in AggregateMetric.
2020-02-27 13:00:43 +01:00
Mikhail Khludnev
3befb8be94
SOLR-13411: reject incremental update for route.field, uniqueKey and
...
_version_.
2020-02-27 14:51:34 +03:00
Cao Manh Dat
043a3cf849
SOLR-14286: Move entry in CHANGES.txt to 8.5.0
2020-02-27 15:13:22 +07:00
Cao Manh Dat
666bd493c8
SOLR-14286: Upgrade Jaegar to 1.1.0
2020-02-27 14:51:45 +07:00
Eric Pugh
b4f3efbf94
SOLR-13965: In GraphHandler, support <expressible> configuration and deprecate <streamFunctions> configuration.
...
(Eric Pugh via Christine Poerschke)
Closes #1033 pull request.
2020-02-26 17:36:33 +00:00
David Smiley
50a7075862
SOLR-14256: Remove HashDocSet; add DocSet.getBits.
...
* DocSet is now fixed at two implementations, read-only and doc ordered.
* DocSetBase removed; not needed anymore. DocSet is now an abstract class.
2020-02-25 09:48:20 -05:00
David Smiley
25892271e8
SOLR-14258: DocList should not extend DocSet
2020-02-25 09:39:43 -05:00
Mike
1770797387
SOLR-14223 Create RSAKeyPair from disk ( #1217 )
...
* Create properties for PublicKeyHandler to read existing keys from disk
* Move pregenerated keys from core/test-files to test-framework
* Update tests to use existing keys instead of new keys each run
2020-02-24 12:07:10 -08:00
Anshum Gupta
7ba9d4d756
SOLR-14272: Remove autoReplicaFailoverBadNodeExpiration and autoReplicaFailoverWorkLoopDelay for 9.0 as it was deprecated in 7.1 ( #1269 )
...
* SOLR-14272: Remove autoReplicaFailoverBadNodeExpiration and autoReplicaFailoverWorkLoopDelay for 9.0 as it was deprecated in 7.1
2020-02-24 09:46:05 -08:00
Jan Høydahl
57c7139ea3
SOLR-14114: Add WARN to Solr log that embedded ZK is not supported in production ( #1273 )
2020-02-24 09:59:33 +01:00
Jan Høydahl
8b98befe93
SOLR-10306: Document in Reference Guide how to disable or reduce swapping ( #1256 )
2020-02-24 09:50:01 +01:00
Erick Erickson
292bed0c42
SOLR-11035: (at least) 2 distinct failures possible when clients attempt searches during SolrCore reload
2020-02-21 10:57:16 -05:00
Jan Høydahl
89b13377a1
SOLR-14250: Do not log error when trying to consume non-existing input stream due to Expect: 100-continue ( #1250 )
2020-02-21 10:30:10 +01:00
Noble Paul
9f3f7244ac
SOLR-14270 export command to have an option to write to a zip file ( #1266 )
2020-02-21 13:41:50 +11:00
Anshum Gupta
cea4226367
SOLR-14271: Remove duplicate async id check meant for pre Solr 8 versions ( #1268 )
...
* SOLR-14271: Remove duplicate async id check meant for pre Solr 8 versions
2020-02-20 15:13:05 -08:00
Shalin Shekhar Mangar
2fdd3b02bb
SOLR-12550: Adding entry to CHANGES.txt
2020-02-20 04:33:53 -08:00
Jan Høydahl
8389b87e39
LUCENE-9229: Fix some broken links
...
Change some wiki -> cwiki links
Signed-off-by: Jan Høydahl <janhoy@apache.org>
2020-02-19 10:33:26 +01:00
Erick Erickson
aa130c4259
SOLR-14263: Update jvm-settings.adoc
2020-02-18 16:44:51 -05:00
Christine Poerschke
003303a9cc
SOLR-13041: Add hashCode for autoscaling.Condition to accompany the already present equals.
...
(Zsolt Gyulavari via Christine Poerschke)
2020-02-18 14:47:44 +00:00
Chris Hostetter
f549ee3535
SOLR-13794: Replace redundent test only copy of '_default' configset with SolrTestCase logic to correctly set 'solr.default.confdir' system property
...
This change allows us to remove kludgy test only code from ZkController
2020-02-14 11:36:53 -07:00
yonik
c3e44e1fec
SOLR-14058: fix peersync bounds check iterating over versions
2020-02-11 10:43:21 -08:00
David Smiley
9a4f7661e9
SOLR-14194: Highlighters now supports docValues for the uniqueKey
...
and the original highlighter can highlight docValues.
2020-02-11 02:18:08 -05:00
Shalin Shekhar Mangar
c65b97665c
SOLR-13996: Refactor HttpShardHandler.prepDistributed method ( #1220 )
...
SOLR-13996: Refactor HttpShardHandler.prepDistributed method into smaller pieces
This commit introduces an interface named ReplicaSource which is marked as experimental. It has two sub-classes named CloudReplicaSource (for solr cloud) and LegacyReplicaSource for non-cloud clusters. The prepDistributed method now calls out to these sub-classes depending on whether the cluster is running on cloud mode or not.
2020-02-10 19:57:05 +05:30
David Smiley
46c0945614
SOLR-14149: CHANGES.txt Remove off-topic stuff
...
* No Introduction (to Solr) header. Point at solr-upgrade-notes.adoc instead
* No Getting Started header
* No Versions of Major Components header
* No "Upgrade Notes" for subsequent releases. See solr-upgrade-notes.adoc
Closes #1202
2020-02-08 22:52:38 -05:00
Kevin Risden
3885a81aa4
SOLR-14038: Admin UI display for "state.json" should be in a scollable region
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-02-08 12:02:23 -06:00
Kevin Risden
c4a8a77d23
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:57:56 -06:00
Shalin Shekhar Mangar
f5c132be6d
SOLR-14248: Improve ClusterStateMockUtil and make its methods public
2020-02-08 11:59:27 +05:30
Andrzej Bialecki
9a19093586
SOLR-14245: Validate Replica / ReplicaInfo on creation.
2020-02-07 17:56:39 +01:00
Robert Muir
63be99bf12
SOLR-14118: default embedded zookeeper port to localhost
2020-02-05 21:33:37 -05:00
Marcus
bc5f837344
SOLR-14147 change the Security manager to default to true. ( #1141 )
...
* change the Security manager to default.
* update the ref-guide.
* uncomment init scripts update changes.
* changed the ref guide and re-commented file.
* remove added comment.
* modified shell script.
* removed comment in windows file.
Signed-off-by: marcussorealheis <marcuseagan@gmail.com>
* bashism and fix windows
* remove space
Signed-off-by: marcussorealheis <marcuseagan@gmail.com>
2020-02-05 19:17:55 -05:00
Houston Putman
80ed8c281b
SOLR-13887: Use the default idleTimeout instead of 0 for HTTP2 ( #991 )
2020-02-05 11:15:37 -08:00
Chris Hostetter
c5d0391df9
SOLR-14241: New delete() Stream Decorator
2020-02-05 10:49:24 -07:00
Adrien Grand
fe349ddcf2
SOLR-14242: HdfsDirectory#createTempOutput. ( #1240 )
2020-02-05 16:38:53 +01:00
Tomas Fernandez Lobbe
bb90569f1d
SOLR-14219: Revert changes in OverseerSolrRespose and move serialization ( #1227 )
...
SOLR-14095 Introduced an issue for rolling restarts (Incompatible Java serialization). This change fixes the compatibility issue while keeping the functionality in SOLR-14095
2020-02-04 10:26:57 -08:00
Munendra S N
c91dd9d0e4
SOLR-14090: fix delete-copy-field when source is dynamic field
2020-02-04 21:33:31 +05:30
Munendra S N
4eff9c9b5e
SOLR-10567: add support for DateRangeField in JSON facet range
2020-02-04 21:26:40 +05:30
Mikhail Khludnev
d8bc9bcfcf
SOLR-12325: uniqueBlock(\{!v=foo:bar})
2020-02-02 15:15:35 +03:00
Jan Høydahl
16b8d50284
SOLR-14221: Upgrade restlet to version 2.4.0 ( #1211 )
2020-02-02 11:35:14 +01:00
Jason Gerlowski
719b38c8d8
SOLR-13892: Add 'top-level' docValues Join implementation ( #1171 )
2020-01-31 11:21:01 -05:00
Shalin Shekhar Mangar
776631254f
SOLR-13897: Fix unsafe publication of Terms object in ZkShardTerms that can cause visibility issues and race conditions under contention
2020-01-27 12:08:20 +05:30
Uwe Schindler
fd49c903b8
SOLR-14189: Add changes entry
2020-01-26 12:06:13 +01:00
Gus Heck
127ce3e360
SOLR-13749 adjust changes to reflect backport to 8.5
2020-01-25 00:53:27 -05:00
Kevin Risden
b150202c85
SOLR-11554: Support handling OPTIONS request for Hadoop authentication filter
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-01-23 13:45:54 -05:00
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
Jan Høydahl
75c64089a1
SOLR-14198: Nullpointer exception in AuditEvent with AuthorizationContext ( #1192 )
2020-01-22 21:39:43 +01: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
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
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
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
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
Erick Erickson
3bae63d215
LUCENE-9080: Upgrade ICU4j to 62.2 and make regenerate work
2020-01-12 17:12:57 -05: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
Ishan Chattopadhyaya
6fb085943c
SOLR-14158: Package manager to read keys from package store, not ZK
2020-01-10 10:25:44 +05:30
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
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
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
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
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
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
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
Andrzej Bialecki
38b9af21f1
SOLR-14122: SimUtils converts v2 to v1 request params incorrectly.
2020-01-02 13:54:45 +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
Jan Høydahl
c4993bc99c
SOLR-14129: Reuse Jackson ObjectMapper in AuditLoggerPlugin ( #1104 )
2019-12-30 17:40:32 +01: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
Mikhail Khludnev
3f29fe0b80
SOLR-13808: caching {!bool filter=..} by default.
2019-12-28 21:48:11 +03:00
Robert Muir
3ab59aa1c9
SOLR-14120: Solr Admin UI breaks when using IE11
2019-12-24 11:27:44 -08:00
Robert Muir
efd13f2884
SOLR-13984: docs, changes.txt
2019-12-24 06:41:14 -08:00