David Smiley
a6a02ac0e5
SOLR-14494: Refactor BlockJoin to not use Filter ( #1523 )
...
Note: henceforth the perSegFilter cache will internally have values of type BitSetProducer instead of Filter.
2020-05-29 21:44:44 -04:00
soleuu
90d84d41b3
ref_guide - metrics reporting - small typo ( #1544 )
2020-05-29 14:47:36 +02:00
Mikhail Khludnev
2c8cfa678b
SOLR-14419: adding {param:ref} to Query DSL
2020-05-28 23:51:53 +03:00
Radu Gheorghe
5251c40679
SOLR-14511: Documented node.sysprop shard preference ( #1536 )
...
* Documented node.sysprop shard preference
For https://issues.apache.org/jira/browse/SOLR-13445
* Added defaultShardPreferences to CLUSTERPROP doc
As implemented via https://issues.apache.org/jira/browse/SOLR-13445
2020-05-28 11:41:44 -05:00
David Smiley
596c64a01e
SOLR-11934: REVERT addition of collection to log message
...
This reverts commit e4dc9e94
2020-05-28 11:31:11 -04:00
Ishan Chattopadhyaya
679cebec7b
SOLR-14237: Fix an error on admin UI due to improper variable handling
2020-05-28 16:55:36 +05:30
Erick Erickson
84c5dfc277
SOLR-14498: BlockCache gets stuck not accepting new stores fixing checksums
2020-05-27 20:56:13 -04:00
Erick Erickson
598cbc5c73
SOLR-14498: BlockCache gets stuck not accepting new stores. Fix gradle :solr:core:validateJarChecksums
2020-05-27 20:24:43 -04:00
Mike Drob
a240f0ba3f
Add bugfix version 8.5.2
2020-05-27 12:09:36 -05:00
Erick Erickson
07a9b5d1b0
SOLR-14474: Fix remaining auxilliary class warnings in Solr
2020-05-27 12:06:29 -04:00
Jason Gerlowski
46ca768687
SOLR-14280: SolrConfig error handling improvements
2020-05-26 08:32:06 -04:00
Andrzej Bialecki
22044fcabb
SOLR-14498: Upgrade to Caffeine 2.8.4, which fixes the cache poisoning issue.
2020-05-26 12:56:08 +02:00
Erick Erickson
675956c004
SOLR-14495: Fix or suppress warnings in solr/search/function
2020-05-22 13:40:20 -04:00
Jason Gerlowski
78f4a5b8ff
SOLR-14443: Make SolrLogPostTool resilient to odd requests ( #1525 )
2020-05-22 10:08:26 -04:00
Alan Woodward
de2bad9039
LUCENE-9330: Make SortFields responsible for index sorting and serialization ( #1440 )
...
This commit adds a new class IndexSorter which handles how a sort should be applied
to documents in an index:
* how to serialize/deserialize sort info in the segment header
* how to sort documents within a segment
* how to sort documents from merging segments
SortField has a getIndexSorter() method, which will return null if the sort cannot be used
to sort an index (eg if it uses scores or other query-dependent values). This also requires a
new Codec as there is a change to the SegmentInfoFormat
2020-05-22 13:33:06 +01:00
Shalin Shekhar Mangar
338671e511
SOLR-13325: Add a collection selector to ComputePlanAction ( #1512 )
...
ComputePlanAction now supports a collection selector of the form `collections: {policy: my_policy}` which can be used to select multiple collections that match collection property/value pairs. This is useful to maintain a whitelist of collections for which actions should be taken without needing to hard-code the collection names. The collection hints are pushed down to the policy engine so operations for non-matching collections are not computed at all. The AutoAddReplicasPlanAction now becomes a thin shim over ComputePlanAction and simply adds a collection selector for the collection property autoAddReplicas=true.
2020-05-22 10:36:27 +05:30
David Smiley
3fba3daa95
SOLR-14461: Replace commons-fileupload with Jetty ( #1490 )
2020-05-22 00:34:48 -04:00
Tomas Fernandez Lobbe
16a22fcf56
SOLR-13289: Add Refguide changes ( #1501 )
2020-05-21 16:55:49 -07:00
Tomas Fernandez Lobbe
3ca7628c43
SOLR-13289: Rename minExactHits to minExactCount ( #1511 )
2020-05-21 16:42:37 -07:00
Tomas Fernandez Lobbe
5e9483e788
SOLR-13289: Use the final collector's scoreMode ( #1517 )
...
This is needed in case a PostFilter changes the scoreMode
2020-05-21 15:48:37 -07:00
Andrzej Bialecki
0728ef06e9
SOLR-14504: ZkController LiveNodesListener has NullPointerException in startup race.
2020-05-21 18:17:47 +02:00
Erick Erickson
9c066f60f1
SOLR-14482: Fix or suppress warnings in solr/search/facet
2020-05-21 08:59:32 -04:00
Chris Hostetter
28209cb8b1
SOLR-14492: Fix ArrayIndexOutOfBoundsException in json.facet 'terms' when FacetFieldProcessorByHashDV is used with aggregations over multivalued numeric fields
...
SOLR-14477: Fix incorrect 'relatedness()' calculations in json.facet 'terms' when 'prefix' option is used
2020-05-20 11:16:05 -07:00
David Smiley
2ac640f9d0
SOLR-14484: avoid putting null into MDC
...
Co-authored-by: Andras Salamon
2020-05-20 09:46:15 -04:00
Andrzej Bialecki
57b7d8a8db
SOLR-14486: Autoscaling simulation framework should stop using /clusterstate.json.
2020-05-19 18:52:47 +02:00
Joel Bernstein
a795047c6c
SOLR-14476: Fix precommit
2020-05-19 09:10:23 -04:00
Joel Bernstein
16aad55369
SOLR-14476: Add percentiles and standard deviation aggregations to stats, facet and timeseries Streaming Expressions
2020-05-19 09:10:23 -04:00
David Smiley
9259f00748
SOLR-14472: missed CHANGES.txt
2020-05-18 17:45:55 -04:00
David Smiley
d3d0df9da1
SOLR-14472: Autoscale "cores": use metrics to count
...
Also counts all cores (lazy, transient), although currently impossible to use these in SolrCloud.
2020-05-18 17:41:29 -04:00
murblanc
d2825282c9
SOLR-14473: Improve Overseer Javadoc ( #1510 )
...
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-05-18 15:21:16 -05:00
Uwe Schindler
06df50e759
LUCENE-9321: Port markdown task to Gradle ( #1477 )
2020-05-17 14:46:26 +02:00
David Smiley
803aad9175
SOLR-8394: /admin/luke didn't computeindexHeapUsageBytes ( #1497 )
...
Needed to call FilterLeafReader.unwrap.
Co-authored-by: igiguere <igiguere@opentext.com>
2020-05-15 14:02:49 -04:00
erick
34e5e6c127
SOLR-14485: Fix or suppress 11 resource leak warnings in apache/solr/cloud
2020-05-15 13:39:51 -04:00
Tomas Fernandez Lobbe
4e564079fb
SOLR-14471: Add CHANGES entry
2020-05-14 21:35:21 -07:00
Michael Gibney
54dca800a9
SOLR-14471: Fix last-place replica after shards.preference rules ( #1507 )
...
Properly apply base replica ordering to last-place shards.preference matches
2020-05-14 21:31:35 -07:00
Jan Høydahl
5eea9758c9
RefGuide typo
2020-05-15 00:48:16 +02:00
Joel Bernstein
08360a2997
SOLR-14407, SOLR-14478: Update CHANGES.txt
2020-05-14 10:52:55 -04:00
Joel Bernstein
f1db56afaf
SOLR-14478: Allow the diff Stream Evaluator to operate on the rows of a matrix
2020-05-14 09:52:05 -04:00
Joel Bernstein
fe2135963c
SOLR-14407: Handle shards.purpose in the postlogs tool
2020-05-14 09:52:04 -04:00
David Smiley
4b9808a03d
SOLR-14351: commitScheduler was missing MDC logging ( #1498 )
2020-05-13 20:58:07 -04:00
Erick Erickson
687dd42f57
SOLR-14475: Fix deprecation warnings resulting from upgrading commons cli to 1.4
2020-05-13 19:30:57 -04:00
Jan Høydahl
1e449e3d04
SOLR-12131: ExternalRoleRuleBasedAuthorizationPlugin ( #341 )
2020-05-13 23:29:33 +02:00
Andrzej Bialecki
dd4fa8f2f8
SOLR-14423: Additional fixes for object caching and incorrect test assumptions.
2020-05-13 19:37:12 +02:00
Erick Erickson
e4dc9e9401
SOLR-11934: Visit Solr logging, it's too noisy. (added collection to log messages 'Registered new searcher...'
2020-05-13 12:34:45 -04:00
Samuel García Martínez
adddab9d14
SOLR-14456: Fix Content-Type header forwarding on compressed requests ( #1480 )
...
Co-authored-by: Samuel García Martínez <samuelgma@inditex.com>
2020-05-12 17:50:07 -04:00
Andrzej Bialecki
4680e9245f
SOLR-14423: Move static SolrClientCache from StreamHandler to CoreContainer for wider reuse and better life-cycle management.
2020-05-12 21:44:00 +02:00
Jan Høydahl
6971244134
SOLR-14463: Solr Admin ZkStatus page now works with ZK 3.6 ( #1499 )
2020-05-12 10:57:33 +02:00
Erick Erickson
a0e158c3d0
SOLR-14266: Fix or suppress 14 resource leak warnings in apache/solr/core
2020-05-11 21:55:29 -04:00
Erick Erickson
aeb9f6ce5b
SOLR-7880: Update commons-cli to 1.4
2020-05-10 19:04:30 -04:00
Erick Erickson
15be0db586
SOLR-11934: Visit Solr logging, it's too noisy.
2020-05-09 12:49:59 -04:00
Tomas Fernandez Lobbe
d9f9d6dd47
SOLR-13289: Add Support for BlockMax WAND ( #1456 )
...
Add support for BlockMax WAND via a minExactHits parameter. Hits will be counted accurately at least until this value, and above that, the count will be an approximation. In distributed search requests, the count will be per shard, so potentially the count will be accurately counted until numShards * minExactHits. The response will include the value numFoundExact which can be true (The value in numFound is exact) or false (the value in numFound is an approximation).
2020-05-08 14:25:47 -07:00
Erick Erickson
4a76a59d69
SOLR-14466: Upgrade log4j2 to latest release (2.13.2)
2020-05-08 13:28:19 -04:00
Mike Drob
03a60231e8
SOLR-14465: Solr query handling code catches FuzzyTermsException
...
This reverts commit 7ea7ed72ac
.
2020-05-07 17:49:28 -05:00
Mike Drob
31b350e804
SOLR-14426 Move auxiliary classes to nested classes ( #1487 )
2020-05-07 10:04:06 -05:00
Cassandra Targett
d4dbd0b9e7
SOLR-14173: Add entry in CHANGES.txt
2020-05-05 15:40:47 -05:00
Marcus
6f775bfa69
SOLR-14014 Allow disabling AdminUI at launch ( #1471 )
2020-05-04 16:51:31 -05:00
Christine Poerschke
b81083142c
SOLR-14400: SuggestComponent can use parent class' SolrMetricsContext
2020-05-04 16:45:43 +01:00
Christine Poerschke
9c3b2b6654
SOLR-14400: DirectUpdateHandler2 no longer needs to override getSolrMetricsContext
2020-05-04 16:45:28 +01:00
Andrzej Bialecki
5eea489e44
SOLR-14431: SegmentsInfoRequestHandler does not release IndexWriter.
2020-05-04 14:44:01 +02:00
David Smiley
e7c7a62a84
SOLR-14351: Oops; add back null check for ZkController
2020-05-03 10:23:16 -04:00
Mike Drob
242f48a1ca
SOLR-14440 Cert Auth plugin
2020-05-01 13:11:01 -05:00
Mike Drob
a5c73d39d3
Revert "SOLR-14440 CertAuth plugin ( #1463 )"
...
Another commit accidentally snuck in
This reverts commit 7b289d6185
.
2020-05-01 13:09:28 -05:00
Mike Drob
7b289d6185
SOLR-14440 Cert Auth plugin ( #1463 )
2020-05-01 12:47:12 -05:00
Erick Erickson
217c2faa2c
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-05-01 13:06:57 -04:00
Erick Erickson
9ae05e9b4f
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-30 19:50:31 -04:00
Ishan Chattopadhyaya
9ed5b6a218
SOLR-14237: Fix HDFS nightly test failure
2020-04-30 21:04:08 +05:30
Mike Drob
ddd8fa9284
update CHANGES for #807
2020-04-29 18:29:05 -05:00
Cassandra Targett
5e6d91eec0
SOLR-14173: Don't use JQuery-Slim as it breaks the sidebar sub-menu system.
2020-04-29 13:31:35 -05:00
Ishan Chattopadhyaya
561e36660a
SOLR-14237: A new panel with security info in admin UI's dashboard
2020-04-29 22:44:19 +05:30
Ishan Chattopadhyaya
0c682d0e9a
SOLR-14237: A new panel with security info in admin UI's dashboard
2020-04-29 22:34:13 +05:30
Erick Erickson
6e96d01efc
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-29 10:56:54 -04:00
Cassandra Targett
28e747950f
SOLR-14173: Change left nav item highlighting to fix menu jumpiness when hovering/selecting
2020-04-29 08:53:56 -05:00
David Smiley
2dd92fc052
Solr GraphTermsQParser simplifications ( #1405 )
...
No WeightOrDocIdSet; no override of bulkScorer (needless)
2020-04-28 17:32:27 -04:00
Cassandra Targett
f4eb586ef6
SOLR-14173: Ref Guide Redesign: upgrade bootstrap; change layout; consolidate CSS. See issue for list of changes.
2020-04-28 13:56:01 -05:00
Mike Drob
0fc5179c6a
SOLR-14412 only set ssl props when ssl enabled
2020-04-28 13:26:51 -05:00
Christine Poerschke
2d074399e8
Include time unit in SolrCLI's TimeoutException wording.
2020-04-28 17:19:05 +01:00
David Smiley
daeaffa9d7
SOLR-14433: Improve SolrShardReporter default metrics list ( #1453 )
...
Now includes TLOG and UPDATE./update.
These were small bugs to begin with but from user perspective this is an incremental improvement.
2020-04-27 23:48:34 -04:00
Erick Erickson
960610a615
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-27 20:45:57 -04:00
Erick Erickson
ff4363675e
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-27 08:34:10 -04:00
noble
b25eabe6a9
SOLR-13942: A read API at /api/cluster/zk/* to fetch raw ZK data and view contents of a ZK direcory
2020-04-27 20:36:16 +10:00
Noble Paul
ea46596cb3
SOLR-13942: /api/cluster/zk/* to fetch raw ZK data
...
* SOLR-13942: /api/cluster/zk/* to fetch raw ZK data
2020-04-27 20:32:13 +10:00
Tomoko Uchida
f03e6aac59
SOLR-14429: Convert .txt files to properly formatted .md files ( #1450 )
2020-04-27 08:43:04 +09:00
Marcus
ce18505e28
Fix Typo in `cloud-scripts` path ( #1458 )
2020-04-27 00:41:06 +02:00
Erick Erickson
8867f465dc
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-26 09:15:21 -04:00
Erick Erickson
ecc98e8698
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-24 13:34:03 -04:00
Mike Drob
849fb63921
Move audit logging docs under AAA section ( #1452 )
2020-04-24 09:52:09 -05:00
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
Mikhail Khludnev
3a743ea953
SOLR-8998,SOLR-12490: Polishing reference guide.
2020-04-22 23:19:34 +03:00
Mike Drob
950a34ce13
SOLR-14412 use parameterized logging
2020-04-22 12:11:53 -05: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
Jan Høydahl
c9cd623a62
SOLR-14421: Fix non-working examples in solr.in.cmd
2020-04-21 15:10:13 +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
Jan Høydahl
fc53fd921a
SOLR-14411, SOLR-14359 CHANGES entry fixes after 8.5.1 release
2020-04-17 15:58:39 +02:00
Markus Schuch
74ecc13816
SOLR-14387 add testcase for ids with separators to GetByIdTest and fix SolrClient to escape ids properly
2020-04-16 11:52:03 -05:00
Mikhail Khludnev
b24b028402
SOLR-14291: fix regexps to handle dotted fields in Old Analytics params.
2020-04-16 14:11:22 +03:00
iverase
b7b85f3e75
Move bugfix entries to version 8.5.1
2020-04-16 09:36:55 +02:00
iverase
8a88ab0e7c
Add bugfix version 8.5.1
2020-04-16 09:27:06 +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
Jan Høydahl
e15b02c86c
SOLR-14359: Use correct placeholder-text-single option for anguar-chosen
2020-04-14 15:34:29 +02:00
Shalin Shekhar Mangar
3e0f7b1971
SOLR-9909: Actually delete SolrjNamedThreadFactory.java
2020-04-13 13:47:20 +05:30
Shalin Shekhar Mangar
4df81f1d6d
SOLR-9909: The deprecated SolrjNamedThreadFactory has been removed. Use SolrNamedThreadFactory instead.
2020-04-13 08:23:10 +05:30
Shalin Shekhar Mangar
6b78330668
SOLR-9909: Add the right Jira issue to CHANGES.txt
2020-04-13 08:18:00 +05:30
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
David Smiley
4dece1ae17
CHANGES.txt move SOLR-14396
...
oops!
2020-04-12 22:06:45 -04:00
Trey Grainger
04f44399ba
SOLR-14396: TaggerRequestHandler should not error on empty index
...
Fixes #1421
2020-04-12 21:54:27 -04:00
Dawid Weiss
f865c8af83
LUCENE-9077: add a :solr:packaging:dev task that assembles a 'development' image of Solr from which nothing is removed upon consecutive rebuild.
2020-04-12 16:25:39 +02: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
013898dec5
CHANGES.txt: move entry to Optimizations
2020-04-07 16:27:02 -04: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
9b6e072909
SOLR-12720: Use the right Jira issue in change log
2020-04-06 07:29:57 +05:30
Shalin Shekhar Mangar
9322a7b375
SOLR-12067: Remove support for autoReplicaFailoverWaitAfterExpiration
...
This closes #1402 .
2020-04-06 07:25:14 +05:30
Erick Erickson
e916056c8e
SOLR-14386: Update Jetty to 9.4.27 and dropwizard-metrics version to 4.1.5, fix precommit
2020-04-05 09:00:28 -04:00
Erick Erickson
e1e2085e94
SOLR-14386: Update Jetty to 9.4.27 and dropwizard-metrics version to 4.1.5
2020-04-04 16:14:57 -04:00
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
Jan Høydahl
d7494699ed
SOLR-14359: Remove apache header from MIT licensed js file
2020-04-03 23:53:21 +02:00
Jan Høydahl
234e78350d
SOLR-14359: Admin UI collection/core drop-downs had wrong placeholder text ( #1400 )
2020-04-03 23:16:11 +02:00
Christine Poerschke
ac2837cfbd
SOLR-14378: Factor a FilterFeatureScorer class out from (contrib/ltr) OriginalScoreScorer.
2020-04-03 11:19:03 +01:00
Cao Manh Dat
28dea8d327
SOLR-14356: PeerSync should not fail with SocketTimeoutException from hanging nodes
2020-04-03 09:39:29 +07:00
Mike Drob
e25ab4204f
LUCENE-9266 remove gradle wrapper jar from source
...
ASF Release Policy states that we cannot have binary JAR files checked
in to our source releases, a few other projects have solved this by
modifying their generated gradlew scripts to download a copy of the
wrapper jar.
We now have a version and checksum file in ./gradle/wrapper directory
used for verifying the wrapper jar, and will take advantage of single
source java execution to verify and download.
The gradle wrapper jar will continue to be available in the git
repository, but will be excluded from src tarball generation. This
should not change workflows for any users, since we expect the gradlew
script to get the jar when it is missing.
Co-authored-by: Dawid Weiss <dweiss@apache.org>
2020-04-02 11:30:01 -05: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
Erick Erickson
5c2011a6fb
SOLR-14367: Upgrade Tika to 1.24
2020-03-29 08:48:00 -04:00
Ishan Chattopadhyaya
782ded2d7a
SOLR-14317: HttpClusterStateProvider throws exception when only one node down ( Closes #1342 )
2020-03-29 07:20:32 +05:30
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
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