Erick Erickson
d0864a19c7
SOLR-14523: Enhance gradle logging calls validation: eliminate getMessage()
2020-07-01 22:07:59 -04:00
Erick Erickson
76e1d901cb
SOLR-14592: Upgrade Zookeeper to 3.6.1
2020-07-01 19:47:16 -04:00
Tomas Fernandez Lobbe
6eb7bc3b7b
SOLR-14590 : Add support for Lucene's FeatureField in Solr ( #1620 )
...
Add a new RankField type that internally creates a FeatureField
Add a new RankQParser that can create queries on the FeatureField
2020-06-30 11:15:36 -07:00
Atri Sharma
d1c29ae8a9
SOLR-14609: Fix Unused Imports in TestJsonFacetsWithNestedObjects
2020-06-30 23:09:52 +05:30
Atri Sharma
ccbdb77344
Remove Unused Import in BoolQParserPlugin
2020-06-30 22:17:48 +05:30
Mikhail Khludnev
f647400e31
SOLR-14539: Introducing {!bool excludeTags=foo,bar}
2020-06-30 18:55:07 +03:00
Noble Paul
20c1fdbf7e
SOLR-14404: use MethodHandles in AnnotatedAPI ( #1624 )
2020-06-30 22:40:26 +10:00
Jan Høydahl
f0764dbb54
SOLR-14561: Fix failing @Nightly test
2020-06-30 14:37:10 +02:00
Ishan Chattopadhyaya
adf3361428
SOLR-14599: Package manager support for cluster level plugins
...
Usage:
bin/solr package deploy <packagename> -y -cluster
bin/solr package deploy <packagename>:<new-version> -y -cluster --update
bin/solr package undeploy <packagename> -y -cluster
2020-06-30 15:50:40 +05:30
Jan Høydahl
49a3f0a11d
SOLR-14561 Followup - validate params for more core operations ( #1629 )
...
Add template to solr.in scripts
Also testes Windows paths
Added RefGuide documentation to some params
2020-06-29 13:18:24 +02:00
Jan Høydahl
574e399ce5
SOLR-14588: Fix failing DebugComponentTest by reverting test to pre-patch state
2020-06-29 12:53:42 +02:00
noble
d883cd69fc
SOLR-14481: use classloader to open resource
2020-06-29 14:03:17 +10:00
noble
584e4d5f3c
syncing with branch_8x
2020-06-28 15:22:42 +10:00
Noble Paul
1590ed56bb
SOLR-14404: support for openResource() in PackageResourceLoader & path-prefix for container plugins
2020-06-28 14:49:06 +10:00
Atri Sharma
529faf1241
Revert "SOLR-14588: Implement Circuit Breakers ( #1606 )"
...
This reverts commit 7b54902f68
.
2020-06-27 23:44:32 +05:30
Atri Sharma
45763b6531
Revert "SOLR-14588: Follow Up Fixes and Documentation ( #1615 )"
...
This reverts commit 74ac97e402
.
2020-06-27 23:43:58 +05:30
David Smiley
80bc86dd6a
SOLR Revert change in path separator exposed by cat()
...
Previous change *should* have been purely a refactor but accidentally changed the path separator this streaming expression exposed to always be '/'. Apparently this is controversial so the previous behavior is re-instated here (and fixes a failing test on Windows).
2020-06-27 12:13:25 -04:00
Gus Heck
455f2e6c73
SOLR-13286 Quiet down metrics logging, add a marker to allow any handler to be silenced via log4j2.xml
2020-06-26 18:00:52 -04:00
Atri Sharma
74ac97e402
SOLR-14588: Follow Up Fixes and Documentation ( #1615 )
...
This commit is a follow up to the original commit and adds more documentation and adds timing information for circuit breaker in query response only if circuit breakers are enabled. This commit also adds a test for ensuring that the query response is correct when timing is enabled and circuit breakers are being used.
2020-06-26 22:20:21 +05:30
Erick Erickson
cb6b0318a7
SOLR-14588: fix failing test
2020-06-25 19:29:20 -04:00
Marcus
31de01f0ae
SOLR-14578: Update solrcloud-autoscaling-triggers.adoc and test ( #1591 )
...
* Update solrcloud-autoscaling-triggers.adoc
* fix the name of the execute_plan action in docs and test.
2020-06-25 16:50:50 -05:00
Erick Erickson
11538e52a2
SOLR-14541: Ensure classes that implement equals implement hashCode or suppress warnings
2020-06-25 16:35:56 -04:00
Atri Sharma
7b54902f68
SOLR-14588: Implement Circuit Breakers ( #1606 )
...
* SOLR-14588: Implement Circuit Breakers
This commit consists of two parts: initial circuit breakers infrastructure and real JVM memory based
circuit breaker which monitors incoming search requests and rejects them with SERVICE_TOO_BUSY error
if the defined threshold is breached, thus giving headroom to existing indexing and search requests
to complete.
2020-06-25 21:06:22 +05:30
Dan Fox
54e6528304
SOLR-13749: XCJF -> Cross-Collection Join
...
change solrUrlWhitelist -> allowSolrUrls
ref guide: update join parser section to be inline with the unit tests.
2020-06-25 09:26:00 -04:00
noble
73a5016ea7
Use simplified API signatures. @EndPoint annotation can be attached to a method and it's posisble to have just a single parameter for an end point
2020-06-25 16:16:04 +10:00
David Smiley
3000bbd05a
SOLR Move "userfiles" stuff from SolrPaths to CoreContainer. ( #1600 )
...
And convert String and File paths to Path API
2020-06-25 00:18:58 -04:00
Noble Paul
57a892f896
SOLR-14404 CoreContainer level custom requesthandlers ( #1432 )
...
SOLR-14404 CoreContainer level custom requesthandlers
2020-06-25 13:08:51 +10:00
Mike Drob
fa44f822e3
LUCENE-6669 Fix repeated "the the"
...
Co-Authored-By: Rich Bowen <rbowen@apache.org>
2020-06-24 16:15:51 -05:00
Atri Sharma
6a455866b0
Change JoinQuery class's visibility to package again ( #1611 )
2020-06-24 22:41:34 +05:30
Atri Sharma
7030bb5e27
SOLR-14591: Move JoinQuery To Its Own File ( #1609 )
2020-06-24 21:36:46 +05:30
Erick Erickson
db986086f5
SOLR-14541: Remove IntelliJ //noinspection comments
2020-06-23 19:36:51 -04:00
Erick Erickson
ea1bb9f2e9
SOLR-13268: Clean up any test failures resulting from defaulting to async logging
2020-06-23 15:35:08 -04:00
Ilan Ginzburg
3e42286e9e
SOLR-14546: OverseerTaskProcessor can process messages out of order ( #1561 )
...
SOLR-14546: OverseerTaskProcessor can process messages out of order
2020-06-23 16:16:46 +02:00
Tomas Fernandez Lobbe
a1be1de67e
SOLR-14554: Let Solr use WAND algorithm when scores are requested ( #1566 )
...
Make MaxScoreCollector set minCompetitiveScore
2020-06-22 16:50:54 -07:00
David Smiley
aa5b26f6c4
Remove some needless toAbsolutePath calls ( #1582 )
2020-06-21 16:28:25 -04:00
Erick Erickson
84729edbba
SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 2)
2020-06-18 11:12:50 -04:00
Jan Høydahl
936b9d770e
SOLR-14561 CoreAdminAPI's parameters instanceDir and dataDir are now validated ( #1572 )
2020-06-18 16:13:52 +02:00
Tomas Fernandez Lobbe
cfae052973
SOLR-14577: Return BAD REQUEST when field is missing in terms QP ( #1588 )
2020-06-17 16:02:48 -07:00
Erick Erickson
b01e249c9e
SOLR-14574: Fix or suppress warnings in solr/core/src/test (part 1)
2020-06-17 17:51:41 -04:00
Eric Pugh
207efbceeb
SOLR-14572 document missing SearchComponents ( #1581 )
...
* Add an example explaining how to use
* fix up JavaDoc formatting
* add missing SearchComponents that ship with Solr, and point to external site with components.
* fix path
* simplify page layout by consolidating to lists
* add missing components that are documented elsewhere in refguide
* try to get pathing to pass precommit
* remove mention of solr.cool, in favour of a seperate PR that handles it differently
2020-06-17 11:01:49 -04:00
Erick Erickson
6357b3bdaa
SOLR-14573: Fix or suppress warnings in solrj/src/test
2020-06-16 13:27:53 -04:00
Jason Gerlowski
a7792b129b
SOLR-14558: Record all log lines in SolrLogPostTool ( #1570 )
2020-06-16 08:21:24 -04:00
Nazerke Seidan
2da71c2a40
SOLR-14384: SolrRequestInfo now stacks internally.
...
* "set" now MUST pair with a "clear"
* fixes SolrIndexSearcher.warm which should have re-instated previous SRI
* cleans up some SRI set/clear users
Closes #1527
2020-06-16 01:46:50 -04:00
Gus Heck
b8ff4c7636
Refactor for code clarity, add some comments.
2020-06-13 12:17:48 -04:00
Erick Erickson
a41aa20b0a
SOLR-14564: Fix or suppress remaining warnings in solr/core
2020-06-13 11:00:58 -04:00
Michael Sokolov
26075fc1dc
LUCENE-9394: fix and suppress warnings ( #1563 )
...
* LUCENE-9394: fix and suppress warnings in lucene/*
* Change type of ValuesSource context from raw Map to Map<Object, Object>
2020-06-12 07:25:31 -04:00
Erick Erickson
ff391448d1
SOLR-14559: Fix or suppress warnings in solr/core/src/java/org/apache/solr/util, response, cloud, security, schema, api
2020-06-11 18:01:29 -04:00
Mike Drob
fb98f30a61
SOLR-8392 type safety on SolrParam ( #1556 )
2020-06-11 14:21:54 -05:00
Tomas Fernandez Lobbe
9728f4ef20
SOLR-14552: Add BMW support to ReRank queries ( #1559 )
2020-06-10 14:59:50 -07:00
Munendra S N
53040984f6
SOLR-14345: return correct err msg when non-binary resp parser is used
...
* This adds support to parse error properly in case of non-binary
resp parser but the problem still exists for noopResponseParser
2020-06-10 19:11:52 +05:30
Munendra S N
001c4e2ddd
SOLR-14550: fix duplicate issue in Atomic updates with add-distinct
...
* When add-distinct value is list, it can end up adding duplicate
entries
2020-06-10 18:59:44 +05:30
Mike Drob
8ee6e6797b
SOLR-14548 Address warning: static member should be qualified by type… ( #1555 )
2020-06-09 15:33:37 -05:00
murblanc
1ab9b811c6
SOLR-12823: remove /clusterstate.json ( #1528 )
...
* SOLR-12823: remove /clusterstate.json
Remove all code dealing with Zookeeper's /clusterstate.json, remove Collection API's MIGRATESTATEVERSION, remove legacyCloud option.
Also fixes SOLR-11877 DocCollection.getStateFormat is buggy
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-09 13:59:17 -05:00
Erick Erickson
4dcdd750f2
SOLR-14545: Fix or suppress warnings in apache/solr/update
2020-06-08 19:03:34 -04:00
Andrzej Bialecki
30924f23d6
SOLR-14470: Add streaming expressions to /export handler.
2020-06-08 16:03:07 +02:00
Jan Høydahl
3e538005ec
SOLR-9679: Harden BasicAuthOnSingleNodeTest#testDeleteSecurityJsonZnode
2020-06-08 10:46:53 +02:00
Erick Erickson
04ba04c29d
SOLR-14543: Fix or suppress warnings in apache/solr/search
2020-06-07 21:20:25 -04:00
Jan Høydahl
f404a38fa6
SOLR-9679: Exception when removing zk node /security.json ( #1403 )
2020-06-08 01:11:56 +02:00
Gus Heck
ae6fe8d826
Revert "Refactor for code clarity, add some comments."
...
This reverts commit ebd40918
for which I apparently ran the tests one less time than I needed to
2020-06-07 13:02:45 -04:00
Gus Heck
ebd409187a
Refactor for code clarity, add some comments.
2020-06-07 12:24:17 -04:00
Gus Heck
14a988cc2a
Legibility: Only get the value of node from messages once.
2020-06-07 12:20:27 -04:00
mrsoong
291e358a3d
SOLR-13203: return 400 on invalid dynamic field for edismax uf ( #1502 )
2020-06-07 17:42:25 +05:30
Erick Erickson
3cbb1e0b4f
SOLR-14480: Fix or suppress warnings in solr/cloud/api
2020-06-06 18:11:37 -04:00
Erick Erickson
ae3de57b33
SOLR-14538: Fix or suppress remaining warnings in apache/solr/handler
2020-06-05 15:22:44 -04:00
Chris Hostetter
924e7d5cd6
Assume the 'javascript' engine is supported before trying test, to prevent spurious failures on systems w/o javascript engine
2020-06-05 11:39:47 -07:00
Chris Hostetter
b055c7489f
SOLR-14467: Fix relatedness() stat in json.facets to no longer cause server errors (or nonsense results) when combined with allBuckets:true
2020-06-05 08:58:59 -07:00
Erick Erickson
0c4d8fb116
SOLR-14535: Fix or suppress warnings in apache/solr/handler/component, sql and loader
2020-06-04 17:49:46 -04:00
murblanc
dec6922528
SOLR-14524: Harden MultiThreadedOCPTest testFillWorkQueue() ( #1548 )
...
Make MultiThreadedOCPTest.testFillWorkQueue() less vulnerable to timing issues
Co-authored-by: Ilan Ginzburg <iginzburg@salesforce.com>
2020-06-04 16:37:24 -05:00
Erick Erickson
bab4fccba2
SOLR-14533: Fix or suppress warnings in solr/handler/admin
2020-06-04 07:02:55 -04:00
Chris Hostetter
fb58f433fb
SOLR-14520: Fixed server errors from the json.facet allBuckets:true option when combined with refine:true
2020-06-03 09:09:46 -07:00
David Smiley
2af82c83d9
SOLR-11334: Split some field lists better
...
Used by HighlightComponent and TermVectorComponent
Used to produce an empty string on comma-space, leading to an exception.
2020-06-02 22:57:37 -04:00
David Smiley
a06f57c7e1
SOLR: Use absolute paths for server paths. ( #1546 )
...
CoreContainer's paths and SolrCore instanceDir are now absolute; mandated. This avoids bugs when the current working directory of the server is abnormal (perhaps running in tests or some IDE configs).
2020-06-02 22:36:52 -04:00
Erick Erickson
db9cd0cebb
SOLR-14526: fix or suppress warnings in apache/solr/core
2020-06-02 09:08:11 -04:00
Dawid Weiss
f59f8fd77b
Add license file to ShardRequestor.
2020-06-02 13:54:41 +02:00
noble
502f62cc9c
SOLR-14531: Refactor out internode requests from HttpShardHandler
2020-06-02 16:00:58 +10:00
noble
552f1940af
SOLR-14525: Test failure
2020-06-02 15:52:49 +10:00
Noble Paul
e841d7625c
SOLR-14525 For components loaded from packages SolrCoreAware, ResourceLoaderAware are not honored ( #1547 )
2020-06-02 10:01:39 +10:00
Yuriy Koval
cb7e948d2e
SOLR-14517 Obey "mm" local param on edismax queries with operators ( #1540 )
...
Prior to this commit query parsing looked for mm in query-params, but neglected to check local params for a subset of queries.
2020-06-01 08:13:11 -04:00
Ishan Chattopadhyaya
1dda684876
SOLR-14491: Intercepting internode requests in KerberosPlugin when HTTP/2 client is used
2020-06-01 13:37:12 +05:30
Erick Erickson
e1cc7a75c7
SOLR-14519:Fix or suppress warnings in solr/cloud/autoscaling
2020-05-31 15:07:06 -04:00
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
Mikhail Khludnev
2c8cfa678b
SOLR-14419: adding {param:ref} to Query DSL
2020-05-28 23:51:53 +03: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
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
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
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
Andrzej Bialecki
57b7d8a8db
SOLR-14486: Autoscaling simulation framework should stop using /clusterstate.json.
2020-05-19 18:52:47 +02: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
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
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
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
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
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
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
David Smiley
2dd92fc052
Solr GraphTermsQParser simplifications ( #1405 )
...
No WeightOrDocIdSet; no override of bulkScorer (needless)
2020-04-28 17:32:27 -04: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
ff4363675e
LUCENE-7788: fail precommit on unparameterised log messages and examine for wasted work/objects
2020-04-27 08:34:10 -04: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
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
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
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
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
Erick Erickson
5fd55d77e9
SOLR-12353: SolrDispatchFilter expensive non-conditional debug line degrades performance
2020-03-19 15:26:44 -04:00
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
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
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
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
Joel Bernstein
01688cd8f1
SOLR-14073: Fix segment look ahead NPE in CollapsingQParserPlugin
2020-03-08 20:26:04 -04: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
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
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
Shalin Shekhar Mangar
4897a64713
SOLR-13996: Rename LegacyReplicaSource to StandaloneReplicaSource
2020-03-01 07:00:51 +05:30
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
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
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
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
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
Erick Erickson
0767a9d4d7
Code comment only change
2020-02-11 19:32:54 -05: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
Mike
71b869381e
SOLR-14247 Remove unneeded sleeps ( #1244 )
2020-02-10 21:13:56 -06: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
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
Robert Muir
f41eabdc5f
LUCENE-8279: fix javadocs wrong header levels and accessibility issues
...
Java 13 adds a new doclint check under "accessibility" that the html
header nesting level isn't crazy.
Many are incorrect because the html4-style javadocs had horrible
font-sizes, so developers used the wrong header level to work around it.
This is no issue in trunk (always html5).
Java recommends against using such structured tags at all in javadocs,
but that is a more involved change: this just "shifts" header levels
in documents to be correct.
2020-02-08 10:00:00 -05:00
Shalin Shekhar Mangar
f5c132be6d
SOLR-14248: Improve ClusterStateMockUtil and make its methods public
2020-02-08 11:59:27 +05:30
Nicholas Knize
206a70e7b7
LUCENE-9149: Increase data dimension limit in BKD
2020-02-07 16:08:14 -06:00
Andrzej Bialecki
9a19093586
SOLR-14245: Validate Replica / ReplicaInfo on creation.
2020-02-07 17:56:39 +01:00
Robert Muir
0d339043e3
LUCENE-9209: fix javadocs to be html5, enable doclint html checks, remove jtidy
...
Current javadocs declare an HTML5 doctype: !DOCTYPE HTML. Some HTML5
features are used, but unfortunately also some constructs that do not
exist in HTML5 are used as well.
Because of this, we have no checking of any html syntax. jtidy is
disabled because it works with html4. doclint is disabled because it
works with html5. our docs are neither.
javadoc "doclint" feature can efficiently check that the html isn't
crazy. we just have to fix really ancient removed/deprecated stuff
(such as use of tt tag).
This enables the html checking in both ant and gradle. The docs are
fixed via straightforward transformations.
One exception is table cellpadding, for this some helper CSS classes
were added to make the transition easier (since it must apply padding
to inner th/td, not possible inline). I added TODOs, we should clean
this up. Most problems look like they may have been generated from a
GUI or similar and not a human.
2020-02-06 22:30:52 -05:00
Adrien Grand
fe349ddcf2
SOLR-14242: HdfsDirectory#createTempOutput. ( #1240 )
2020-02-05 16:38:53 +01:00
Adrien Grand
2d8428ec2e
SOLR-14238: Fix HdfsDirectory to no longer overwrite existing files. ( #1237 )
2020-02-04 19:35:15 +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
Erick Erickson
b0bb299dc4
LUCENE-9134: Port ant-regenerate tasks to Gradle build ( #1230 )
...
LUCENE-9134: Port ant-regenerate tasks to Gradle build (Solr javacc)
2020-02-04 09:16:38 -05:00
Erick Erickson
d3ac1329a3
LUCENE-8656: Deprecations in FuzzyQuery ( #1229 )
...
LUCENE-8656: Deprecations in FuzzyQuery
Closes #1229
2020-02-03 08:52:33 -05:00
Mikhail Khludnev
d8bc9bcfcf
SOLR-12325: uniqueBlock(\{!v=foo:bar})
2020-02-02 15:15:35 +03:00
Jason Gerlowski
719b38c8d8
SOLR-13892: Add 'top-level' docValues Join implementation ( #1171 )
2020-01-31 11:21:01 -05:00
Adrien Grand
7941d109bd
SOLR-13897: Fix precommit.
2020-01-28 20:11:47 +01:00
Robert Muir
975df9ddd3
LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task
2020-01-27 12:05:34 -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
andywebb1975
efd0e8f3e8
SOLR-14189 switch from String.trim() to StringUtils.isBlank() ( #1172 )
2020-01-26 12:03:39 +01:00
Mike
eaa3dbe440
SOLR-14162 TestInjection can leak Timer objects ( #1137 )
2020-01-24 14:04:22 -06: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
Andrzej Bialecki
434f90265b
SOLR-14211: Fix a bug introduced in SOLR-14192.
2020-01-23 19:33:12 +01:00
Anshum Gupta
3c0146196a
SOLR-14206: Annotate HttpSolrCall as thread-safe ( #1203 )
...
* SOLR-14206: Annotate HttpSolrCall and V2HttpCall as thread-safe
2020-01-23 08:37:03 -08: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
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
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
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
Joel Bernstein
35d8e3de6d
SOLR-14130: Continue to improve log parsing logic
2020-01-16 11:36:11 -05: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
3008dd9526
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-13 17:55:53 +01: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
Dawid Weiss
f9dde4de52
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-13 08:37:15 +01: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
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
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
Dawid Weiss
405d227c55
Merge remote-tracking branch 'origin/master' into gradle-master
2020-01-07 08:45:12 +01:00
Houston Putman
f5ab3ca688
SOLR-11746: Existence query support for numeric point fields
2020-01-06 12:12:22 -05: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
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
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