Commit Graph

14087 Commits

Author SHA1 Message Date
Andy Throgmorton d1601f6fdf SOLR-14260: SolrJ pluggable ConnectionSocketFactory in HttpClientUtil
see SocketFactoryRegistryProvider
Fixes #1261
2020-03-26 22:15:50 -04:00
Mike Drob a31ecd2eb8 SOLR-14322 Improve AbstractFullDistribZkTestBase.waitForThingsToLevelOut 2020-03-26 17:38:05 -05:00
David Smiley ea864b43a3
SOLR-13659: Remove unused SolrCacheHolder
accidental leftover from reverted plugin work
2020-03-26 17:35:24 -04:00
Chris Hostetter 255132fc1c SOLR-14302: Ensure Solr always includes the stacktrace for exceptions by using '-OmitStackTraceInFastThrow' 2020-03-26 10:39:04 -07:00
Andrzej Bialecki b0728ceca6 SOLR-14128: Improve distributed locking around managed schema upgrade process. 2020-03-25 22:19:38 +01:00
Eric Pugh 4f03ce5899
SOLR-14284 add expressible support to list, and add example of removing a component (#1292)
* add expressible support to list, and add example of removing a component

* document actions that can be passed to the /stream request handler

* responding to content feedback
2020-03-25 13:53:51 -05:00
Mike 8d937c1dc3
SOLR-14274 Do not register multiple sets of JVM metrics (#1299) 2020-03-25 13:48:17 -05:00
Uwe Schindler 2c7a710945
LUCENE-9281: Retire SPIClassIterator from master because Java 9+ uses different mechanism to load services when module system is used (#1360)
LUCENE-9281: Use java.util.ServiceLoader to load codec components and analysis factories to be compatible with Java Module System
2020-03-25 18:03:36 +01:00
mariemat aad814ba63 SOLR-14340: Remove unnecessary configset verification checks
Improves CLUSTERSTATUS times for massive clusters.
Closes #1373
2020-03-24 15:34:20 -04:00
Andrzej Bialecki 68e4304453 SOLR-14347: Autoscaling placement wrong when concurrent replica placements are calculated. 2020-03-23 18:21:40 +01:00
Munendra S N 7f460faffb fix typos in subquery doc transformer 2020-03-23 19:57:46 +05:30
Munendra S N 5630619dfd SOLR-14343: set initcapacity properly in NamedList
* This is when map or map.entry array is passed in constructor
2020-03-23 19:54:54 +05:30
Munendra S N 06fd70fc0f SOLR-14348: split TestJsonFacets to multiple test classes
* TestJsonFacet split into 3 classes, TestsJsonFacets, TestJsonFacetErrors
  and TestJsonRangeFacet
* TestJsonFacets contains mainly terms faceting and stats
* range facet covers distributed cases too
2020-03-23 19:50:58 +05:30
David Smiley ae2eadb592 solr-upgrade-notes.adoc: highlighter sizing is different 2020-03-19 21:29:08 -04:00
Erick Erickson 5fd55d77e9 SOLR-12353: SolrDispatchFilter expensive non-conditional debug line degrades performance 2020-03-19 15:26:44 -04:00
Munendra S N e36733d01d SOLR-14350: fix test failure due to SOLR-14012 2020-03-19 22:43:29 +05:30
Munendra S N 78e670f19e SOLR-14012: return long from unique and hll even for standalone 2020-03-19 19:21:57 +05:30
Munendra S N e9d6c24fb7 SOLR-11725: use corrected sample formula to calc stdDev in JSON facets
* Both stdDev and variance uses corrected sample formula to compute
  the values. This is similar to StatsComponent
2020-03-19 19:21:57 +05:30
David Smiley 4fd96bedc2
SOLR-14256: replaced EMPTY with empty() to fix deadlock 2020-03-18 08:31:29 -04:00
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 6a59d443bc LUCENE-8908: return def val from objectVal when exists returns false
* This behavior is similar to floatVal in QueryValueSource
2020-03-18 10:41:13 +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
Munendra S N a1485ab92b SOLR-14338: add missing close list tag in CDCR documentation 2020-03-18 09:26:59 +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
Dawid Weiss 7fe6f9c57d LUCENE-9279: Update dictionary version for Ukrainian analyzer (with corrected checksums). 2020-03-16 21:47:14 +01:00
Dawid Weiss 1abed9ab22 Revert "LUCENE-9279: Update dictionary version for Ukrainian analyzer (#1354)"
This reverts commit 73b618a55c.
2020-03-16 21:19:05 +01:00
Jason Gerlowski 6ae69d361c
Document sort param tiebreak logic (#1349) 2020-03-16 07:59:25 -04:00
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
arysin 73b618a55c
LUCENE-9279: Update dictionary version for Ukrainian analyzer (#1354) 2020-03-15 22:17:05 +01:00
David Smiley cbd0dcb5df
SOLR-14254: Docs for text tagger: FST50 trade-off (#1332) 2020-03-13 22:02:01 -04:00
Mike Drob adb829cf35 [logging] log actual size of transient core cache 2020-03-13 15:45:52 -05:00
Mike 74721fa4c6
SOLR-14289 Skip ZkChroot check when not necessary (#1298) 2020-03-13 13:56:17 -05:00
Andrzej Bialecki 0f10b5f042 SOLR-13264: IndexSizeTrigger aboveOp / belowOp properties not in valid properties. 2020-03-13 12:30:17 +01:00
Alan Woodward c266044d06 Add LZ4 NOTICE section from lucene to solr NOTICE.txt 2020-03-12 17:19:26 +00: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
Cassandra Targett 32a2076c60 LUCENE-9229: fix Ref Guide broken links 2020-03-11 10:24:20 -05: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
Joel Bernstein 01688cd8f1 SOLR-14073: Fix segment look ahead NPE in CollapsingQParserPlugin 2020-03-08 20:26:04 -04:00
Paul Pazderski 320578274b LUCENE-9259: Fix wrong NGramFilterFactory argument name for preserveOriginal option 2020-03-07 21:32:40 +09: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
Yannick Welsch 8a88dd02c6 Remove SimpleFSDirectory in favor of NIOFSDirectory 2020-03-06 00:04:25 +01:00
Jan Høydahl ceb90ce0e8
LUCENE-9016: RefGuide meta doc for how to publish website (#1291) 2020-03-05 18:17:35 +01:00
Cassandra Targett 74b9ba396c SOLR-14147: comment out for now link to security manager docs in upgrade notes that don't exist on master 2020-03-05 06:16:07 -06: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
Tomas Fernandez Lobbe 2cabeb924d
Add try-with-resources to CloudManager in tests (#1315) 2020-03-04 13:32:44 -08:00
Mike Drob dd9b9f2f7f SOLR-14223 Fix tests for windows 2020-03-04 10:50:00 -08:00
Tomas Fernandez Lobbe 4d2d052b7d
Fix resource leak in TestPolicyCloud (#1312) 2020-03-03 11:42:20 -08:00
Cassandra Targett fa6166f261 SOLR-14286: jvm-settings.adoc: minor typos; add links to external resources 2020-03-03 12:34:02 -06:00
Christine Poerschke 4a0063f04a Fix spellcheck.queryAnalyzerField[t-->T]ype typo in Solr Ref Guide.
(Carlos Sponchiado via Christine Poerschke)
2020-03-03 18:32:08 +00: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
Cassandra Targett 422d994612 SOLR-14241: fix typos & incorrect example param 2020-03-02 16:53:12 -06:00
Cassandra Targett 27523b5e40 SOLR-14270: Move .gz example to CLI page; Remove bin/solr export from command-line-utilities.adoc 2020-03-02 16:53:12 -06:00
Cassandra Targett a7ebe0c906 Ref Guide: Add license header, typos in Package Manager docs 2020-03-02 15:44:55 -06:00
Cassandra Targett 153d7bcfee Ref Guide: standardize i.e., e.g., spellings; fix typos 2020-03-02 15:44:55 -06:00
Shalin Shekhar Mangar 4897a64713 SOLR-13996: Rename LegacyReplicaSource to StandaloneReplicaSource 2020-03-01 07:00:51 +05:30
Tomoko Uchida 5f9bf6b707 SOLR-14295: Add the parameter description about 'discardCompoundToken' for JapaneseTokenizer in RefGuide 2020-02-29 17:43:25 +09:00
Jan Høydahl 198d9db674
SOLR-14287: Admin UI Properties screen does not show colons (#1300) 2020-02-28 10:32:09 +01:00
Cao Manh Dat 3ad9915547 SOLR-14286: Try and fix sha1 file. 2020-02-28 08:35:29 +07: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 d9c43d9fa3 SOLR-14286: Fix gradle precommit 2020-02-27 18:24:39 +07: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 e059455004 SOLR-14286: Update sha files 2020-02-27 15:07:03 +07:00
Cao Manh Dat 666bd493c8 SOLR-14286: Upgrade Jaegar to 1.1.0 2020-02-27 14:51:45 +07:00
noble edefcf156b SOLR-14270: fix incorrect date format 2020-02-27 17:28:31 +11:00
Christine Poerschke fc24fa9506 SOLR-14267: complete <query><HashDocSet> solrconfig.xml removal 2020-02-26 17:47:25 +00: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
Alan Woodward 98dafe2e10
LUCENE-9207: Don't build span queries in QueryBuilder (#1239)
QueryBuilder currently has special logic for graph phrase queries with no slop,
constructing a spanquery that attempts to follow all paths using a combination of
OR and NEAR queries. However, this type of query has known bugs(LUCENE-7398).
This commit removes this logic and just builds a disjunction of phrase queries, one 
phrase per path.
2020-02-26 14:32:34 +00:00
Chris Hostetter 852f02b4b7 Some additional testing to prove 'defered function computation' in a syntax variant i was recently asked about 2020-02-25 13:21:13 -07: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
Alessandro Benedetti 663611c99c
[SOLR-12238] Synonym Queries boost (#357)
SOLR-12238: Handle boosts in QueryBuilder

QueryBuilder now detects per-term boosts supplied by a BoostAttribute when
building queries using a TokenStream.  This commit also adds a DelimitedBoostTokenFilter
that parses boosts from tokens using a delimiter token, and exposes this in Solr
2020-02-24 10:29:41 +00: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
Anshum Gupta bc41f25cc9
SOLR-14271: Delete CollectionsAPIAsyncDistributedZkTest.testAsyncIdBackCompat as that is no longer required (#1275) 2020-02-21 09:53:10 -08: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
Mike Drob 79966132fc SOLR-14264 Set minimum gzip size for responses 2020-02-20 17:14:21 -06: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
Marc A. Morissette 051133c13f
SOLR-12550: ConcurrentUpdateSolrClient doesn't respect timeouts for commits and optimize (#417)
ConcurrentUpdateSolrClient now propagates its connection and read timeouts to the private HttpSolrClient used to commit and optimize.
2020-02-20 04:29:20 -08:00
Mikhail Khludnev 001a35cc06 SOLR-14263: stripping .adoc to fix build. 2020-02-19 13:53:12 +03: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
Dawid Weiss 2a88aa9d0f LUCENE-9219: Port ECJ-based linter to gradle
Co-authored-by: Tomoko Uchida <tomoko@apache.org>
2020-02-19 02:43:47 +09: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
Eric Pugh f23def6b72 SOLR-13965: s/StreamHandler/GraphHandler fix GraphHandler.getDescription()
(Eric Pugh via Christine Poerschke)
2020-02-18 14:32:52 +00:00
Eric Pugh 5d32c04096 SOLR-13965: StreamHandler class-level javadoc edits
(Eric Pugh via Christine Poerschke)
2020-02-18 14:31:44 +00:00