Commit Graph

33681 Commits

Author SHA1 Message Date
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
Dawid Weiss 3e8e5d8cf6
LUCENE-9382: update gradle to 6.4.1. (#1549)
* LUCENE-9382: update gradle to 6.4.1. Requires minor changes around log call validation by restructuring the code around switches to a series of ifs. Piggybacking: apply log validation to :solr modules. Add inputs declaration so that task is not re-run on unmodified files.
2020-06-02 13:49:57 +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
Dawid Weiss da3dbb1921 LUCENE-9301: include build time and user name only in non-snapshot builds so that jars are not recompiled on each build in development. 2020-06-01 10:09:44 +02: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
Adrien Grand 22cb4d4d95 LUCENE-9359: Address test failures when the codec version gets modified. 2020-05-29 21:16:10 +02:00
Adrien Grand f908f2cd48 LUCENE-9359: Always call checkFooter in SegmentInfos#readCommit. (#1483) 2020-05-29 16:05:46 +02:00
Adrien Grand fe07d9dd0e Revert "LUCENE-9359: Always call checkFooter in SegmentInfos#readCommit. (#1483)"
This reverts commit bfb6bf9c9a.
2020-05-29 15:45:51 +02:00
Adrien Grand bfb6bf9c9a
LUCENE-9359: Always call checkFooter in SegmentInfos#readCommit. (#1483) 2020-05-29 14:59:36 +02: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
Erick Erickson 724709c8c0 SOLR-14498: BlockCache gets stuck not accepting new stores. Fix gradle check 2020-05-28 08:12:30 -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 18519f3eb8 Add back-compat indices for 8.5.2 2020-05-27 13:18:15 -05:00
Mike Drob a240f0ba3f Add bugfix version 8.5.2 2020-05-27 12:09:36 -05:00
Erick Erickson b576ef6c8c LUCENE-9380: Fix auxiliary class warnings in Lucene 2020-05-27 12:36:39 -04:00
Erick Erickson 07a9b5d1b0 SOLR-14474: Fix remaining auxilliary class warnings in Solr 2020-05-27 12:06:29 -04:00
Mike Drob ac80fb9979 DOAP changes for release 8.5.2 2020-05-26 16:58:52 -05: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
Erick Erickson 3db79ed9ff Merge branch 'master' of https://gitbox.apache.org/repos/asf/lucene-solr 2020-05-21 20:29:24 -04:00
Erick Erickson 21b08d5cab LUCENE-9376: Fix or suppress 20 resource leak precommit warnings in lucene/search 2020-05-21 20:29:18 -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
Tomoko Uchida 84ea0cb87d
LUCENE-9374: Add checkBrokenLinks gradle task (#1522) 2020-05-20 23:23:24 +09: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
markharwood 44fc5b989a
Lucene-9371: Allow external access to RegExp's parsed structure (#1521)
Made RegExp internal fields public final to allow external classes to render eg English explanations of pattern logic
2020-05-19 17:38:00 +01: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
Tomoko Uchida 3b09d30e69 Merge branch 'master' of github.com:apache/lucene-solr 2020-05-19 21:26:53 +09:00