Simon Willnauer
d7e0b906ab
LUCENE-9345: Separate MergeSchedulder from IndexWriter ( #1451 )
...
This change extracts the methods that are used by MergeScheduler into
a MergeSource interface. This allows IndexWriter to better ensure
locking, hide internal methods and removes the tight coupling between the two
complex classes. This will also improve future testing.
2020-04-24 15:02:55 +02:00
Alan Woodward
f6462ee350
LUCENE-9340: Deprecate SimpleBindings#add(SortField) ( #1447 )
...
This method is trappy; it doesn't work for all SortField types, but doesn't tell
you that until runtime. This commit deprecates it, and removes all other
callsites in the codebase.
2020-04-24 12:08:16 +01:00
Erick Erickson
4eb755db18
SOLR-12690: Regularize LoggerFactory declarations. Fixing an incorrect change
2020-04-23 07:51:42 -04:00
Andrzej Bialecki
2a7ba5a48e
SOLR-12845: Properly clear default policy between tests.
2020-04-23 12:34:28 +02:00
Erick Erickson
e43b17962a
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-22 22:32:49 -04:00
Mike Drob
fe05a6d380
SOLR-14420 Declare ServletRequests as HttpRequests in AuthenticationPlugin ( #1442 )
...
Declare ServletRequests as HttpRequests in AuthenticationPlugin
2020-04-22 12:06:18 -05:00
Andrzej Bialecki
5d60ff4613
SOLR-12845: Add a default autoscaling cluster policy.
2020-04-22 17:46:39 +02:00
Erick Erickson
c94770c2b9
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-20 21:08:15 -04:00
Mike Drob
58f9c79c6d
SOLR-14412 zkRun+https ( #1437 )
...
SOLR-14412
Check for results after retries failed in SolrClientNodeStateProvider
Set urlScheme=https with zkRun
2020-04-20 12:55:43 -05:00
David Smiley
37ad0e552d
SolrMetricManager.registerMetric trivial opt
...
Needn't check for existing metric prior to removing.
(code-reviewed by ab@apache.org )
2020-04-20 11:44:44 -04:00
Kevin Risden
89e14faca9
SOLR-13886: HDFSSyncSliceTest and SyncSliceTest started failing frequently
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2020-04-19 17:49:20 -04:00
Erick Erickson
f01c040ab3
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-19 15:58:50 -04:00
David Smiley
f5d91395db
SOLR-14391: getDocSet(Query[]) can use search(query,collector)
...
Refactoring to simplify SolrIndexSearcher.
ScoreFilter interface is obsolete now.
Fixed #1409
2020-04-18 20:28:57 -04:00
Erick Erickson
1f1cdbffdf
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-18 19:08:15 -04:00
Erick Erickson
3af165b32a
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-17 20:40:32 -04:00
Jan Høydahl
03363f413f
SOLR-14371 Zk StatusHandler should know about dynamic zk config ( #1392 )
2020-04-17 16:30:27 +02:00
David Smiley
1fc4a546df
Solr: Use QueryUtils.combineQueryAndFilter more
...
and check MatchAllDocsQuery (minor & cheap optimization)
Closes #1407
2020-04-14 16:45:59 -04:00
Jan Høydahl
ceeb55c7f5
SOLR-14210: Fix precommit for javadocs
2020-04-14 16:26:43 +02:00
Jan Høydahl
60545a89e0
SOLR-14210: Add javadocs and refguide docs
2020-04-14 16:09:36 +02:00
Shalin Shekhar Mangar
13f19f6555
SOLR-9906: SolrjNamedThreadFactory is deprecated in favor of SolrNamedThreadFactory. DefaultSolrThreadFactory is removed from solr-core in favor of SolrNamedThreadFactory in solrj package and all solr-core classes now use SolrNamedThreadFactory
2020-04-13 08:16:35 +05:30
Trey Grainger
04f44399ba
SOLR-14396: TaggerRequestHandler should not error on empty index
...
Fixes #1421
2020-04-12 21:54:27 -04:00
Shalin Shekhar Mangar
d52c1021e5
SOLR-14402: Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed search.
...
This is a fix for incomplete optimization made by SOLR-11880 in Solr 7.4 which fixed distributed updates but not distributed search.
2020-04-11 08:56:01 +05:30
Munendra S N
36b280bd0a
SOLR-11775: return long val for facet count in json facet
...
* Long value is returned for any count related to json facets
irrespective of number of shards
2020-04-10 19:30:20 +05:30
Cao Manh Dat
71d335ff68
SOLR-14365: Automatically grow size of groupHeadValues
2020-04-10 20:37:04 +07:00
Cao Manh Dat
adbd714b37
SOLR-14365: CollapsingQParser - Avoiding always allocate int[] and float[] with size equals to number of unique values (WIP) ( #1395 )
2020-04-10 15:24:10 +07:00
Christine Poerschke
ffdd29e6fb
Fix typo in SolrRequestHandler's javadocs.
2020-04-09 17:21:47 +01:00
David Smiley
5bfbdc5325
SOLR-14376: optimize SolrIndexSearcher.getDocSet when matches everything
...
* getProcessedFilter now returns null filter if it's all docs more reliably
* getProcessedFilter now documented clearly as an internal method
* getDocSet detects all-docs and exits early with getLiveDocs
* small refactoring to getDocSetBits/makeDocSetBits
Closes #1399
2020-04-07 16:25:09 -04:00
Jan Høydahl
f2114b9935
SOLR-14210: Include replica health in healtcheck handler ( #1387 )
2020-04-07 12:26:11 +02:00
Shalin Shekhar Mangar
9322a7b375
SOLR-12067: Remove support for autoReplicaFailoverWaitAfterExpiration
...
This closes #1402 .
2020-04-06 07:25:14 +05:30
David Smiley
1aeefc25d1
SOLR-14351: Fix/improve MDCLoggingContext usage
...
* Some set/clear were not balanced.
* Harden clear() in case of imbalance.
* Sometimes coreContainger.getCore was called unnecessarily; just need a descriptor
* SolrCore.open/close now calls MDCLoggerContext.setCore/clear
* no need to clear MDC in HttpSolrCall
2020-04-03 21:45:12 -04:00
David Smiley
7b3980c080
SOLR-14364: LTR SolrFeature fq improvements
...
Mostly general code improvements, though it should support postFilters now
Add QueryUtils.combineQueryAndFilter
2020-04-03 19:20:55 -04:00
Cao Manh Dat
28dea8d327
SOLR-14356: PeerSync should not fail with SocketTimeoutException from hanging nodes
2020-04-03 09:39:29 +07:00
Eric Pugh
927587d8ad
fix typo ( #1302 )
2020-04-02 10:38:15 -05:00
Chris Hostetter
f779bc632d
SOLR-14307: User defined "<cache/>" entries in solrconfig.xml now support enabled="true|false" just like core searcher caches.
2020-04-01 11:29:08 -07:00
Jason Gerlowski
1f5705ff5c
SOLR-14363: Separate /get requests into their own type designation ( #1379 )
2020-04-01 08:41:48 -04:00
Erick Erickson
1ca7067a81
SOLR-12028: BadApple and AwaitsFix annotations usage, Unannotated tests that haven't failed in a while
2020-03-30 20:37:55 -04:00
Munendra S N
9de6811706
SOLR-13893: remove deprecated runtme.lib.size sys property
2020-03-28 11:59:30 +05:30
Munendra S N
1a2325a08f
SOLR-13893: fix typo in BlobRepository's max jar size sys property
...
* runtime.lib.size is the new property name
2020-03-28 11:53:21 +05:30
Munendra S N
132228d450
SOLR-14344: remove deprecated HttpSolrClient's Remote*Exception
...
* All usages are replaced by BaseHttpSolrClient's Remote*Exception
2020-03-28 11:36:06 +05:30
Munendra S N
15330a8541
SOLR-14329: support choosing expand field from multiple collapse group
...
* The collapse group with low cost is given higher priority. If
there are multiple groups with same cost then, first such
group is chosen
2020-03-28 11:23:45 +05:30
Munendra S N
7a83f09fbc
SOLR-13842: remove redundant defaults from implictPlugins
...
* From 7.0, wt=json is the default and indent=true is the
default. So, remove them from implicitPlugin defaults
2020-03-28 11:17:22 +05:30
Mike
ac866a67de
Remove CurrentCoreDescriptorProvider ( #1384 )
...
* Remove CurrentCoreDescriptorProvider
Replace `CurrentCoreDescriptorProvider` with a functional interface so
that it is easier to construct since all implementations in our code
base were anonymous classes anyway. Added Javadocs explaining the
usage instead of relying on class name to convey information.
2020-03-27 16:31:37 -05:00
David Smiley
a0b0c710b5
SOLR-14342: Improve core loading order in SolrCloud.
...
Makes collections available sooner and reduces leaderVoteWait timeouts in large SolrCloud clusters.
This fixes a previous attempt to do this.
Fixes #1366
2020-03-26 23:44:20 -04:00
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
Andrzej Bialecki
b0728ceca6
SOLR-14128: Improve distributed locking around managed schema upgrade process.
2020-03-25 22:19:38 +01: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