lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [lucene-solr] 02/03: Merge branch 'master' into jira/solr-14749-cluster-singleton
Date Mon, 19 Oct 2020 11:41:51 GMT
This is an automated email from the ASF dual-hosted git repository.

ab pushed a commit to branch jira/solr-14749-cluster-singleton
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 2e93f57e8014f3132ff80e15bd5f588dea966707
Merge: 56105d0 9ab9d20
Author: Andrzej Bialecki <ab@apache.org>
AuthorDate: Mon Oct 19 11:55:01 2020 +0200

    Merge branch 'master' into jira/solr-14749-cluster-singleton

 .dir-locals.el                                     |   3 +
 .gitignore                                         |   6 +-
 build.gradle                                       |   4 +-
 dev-tools/doap/lucene.rdf                          |   7 +
 dev-tools/doap/solr.rdf                            |   7 +
 dev-tools/scripts/README.md                        |   2 +-
 dev-tools/scripts/addBackcompatIndexes.py          |   5 +-
 dev-tools/scripts/addVersion.py                    |  23 +-
 dev-tools/scripts/buildAndPushRelease.py           |  25 +-
 dev-tools/scripts/releaseWizard.py                 |   5 +-
 dev-tools/scripts/releaseWizard.yaml               |  15 +-
 dev-tools/scripts/scriptutil.py                    |   6 +-
 dev-tools/scripts/smokeTestRelease.py              |  27 +-
 gradle/ant-compat/artifact-naming.gradle           |   6 -
 gradle/documentation/changes-to-html.gradle        |  31 +-
 .../changes-to-html}/ChangesFancyStyle.css         |   0
 .../changes-to-html}/ChangesFixedWidthStyle.css    |   0
 .../changes-to-html}/ChangesSimpleStyle.css        |   0
 .../documentation/changes-to-html}/changes2html.pl |   0
 gradle/documentation/documentation.gradle          |  89 ++-
 gradle/documentation/markdown.gradle               |  31 +-
 gradle/documentation/render-javadoc.gradle         |   3 +-
 gradle/ide/intellij-idea.gradle                    |  16 -
 gradle/releasing.gradle                            |  55 ++
 .../randomization/policies/solr-tests.policy       |   2 +-
 gradle/testing/randomization/policies/tests.policy |   3 -
 gradle/validation/check-broken-links.gradle        |   6 +-
 gradle/validation/jar-checks.gradle                |   5 +-
 .../owasp-dependency-check/exclusions.xml          |  15 -
 lucene/CHANGES.txt                                 |  40 ++
 lucene/MIGRATE.md                                  |  19 +-
 lucene/analysis/README.txt                         |  18 +-
 .../miscellaneous/DropIfFlaggedFilter.java         |  51 ++
 .../miscellaneous/DropIfFlaggedFilterFactory.java  |  71 ++
 .../miscellaneous/TypeAsSynonymFilter.java         |  37 +-
 .../miscellaneous/TypeAsSynonymFilterFactory.java  |  17 +-
 .../org.apache.lucene.analysis.TokenFilterFactory  |   1 +
 .../miscellaneous/TestDropIfFlaggedFilter.java     |  73 +++
 ...ry.java => TestDropIfFlaggedFilterFactory.java} |  30 +-
 .../miscellaneous/TestTypeAsSynonymFilter.java     | 106 +++
 .../TestTypeAsSynonymFilterFactory.java            |   7 +
 .../ja/JapanesePartOfSpeechStopFilterFactory.java  |  19 +-
 .../TestJapanesePartOfSpeechStopFilterFactory.java |  17 +
 lucene/analysis/phonetic/src/java/overview.html    |   2 +-
 .../lucene/codecs/lucene80/Lucene80Codec.java      |   6 +
 .../lucene/codecs/lucene84/Lucene84Codec.java      |   6 +
 .../lucene/codecs/lucene86/Lucene86Codec.java      |   6 +
 .../lucene/codecs/lucene87/Lucene87Codec.java      |   4 +
 .../org/apache/lucene/codecs/lucene87/package.html |  42 ++
 .../services/org.apache.lucene.codecs.Codec        |   1 +
 .../lucene/index/TestBackwardsCompatibility.java   |   7 +-
 .../org/apache/lucene/index/index.8.6.3-cfs.zip    | Bin 0 -> 16419 bytes
 .../org/apache/lucene/index/index.8.6.3-nocfs.zip  | Bin 0 -> 16428 bytes
 .../test/org/apache/lucene/index/sorted.8.6.3.zip  | Bin 0 -> 141031 bytes
 .../benchmark/byTask/tasks/CreateIndexTask.java    |   4 +-
 .../org/apache/lucene/benchmark/package-info.java  |   2 +-
 lucene/build.gradle                                |   2 +-
 .../lucene/codecs/simpletext/SimpleTextCodec.java  |   7 +
 .../simpletext/SimpleTextFieldInfosFormat.java     |  27 +-
 .../codecs/simpletext/SimpleTextVectorFormat.java  |  51 ++
 .../codecs/simpletext/SimpleTextVectorReader.java  | 304 +++++++++
 .../codecs/simpletext/SimpleTextVectorWriter.java  | 148 +++++
 .../codecs/uniformsplit/TestBlockWriter.java       |   3 +
 .../sharedterms/TestSTBlockReader.java             |   3 +
 .../org/apache/lucene/analysis/package-info.java   |   4 +-
 .../src/java/org/apache/lucene/codecs/Codec.java   |   6 +-
 .../java/org/apache/lucene/codecs/FilterCodec.java |   5 +
 .../org/apache/lucene/codecs/VectorFormat.java     |  76 +++
 .../org/apache/lucene/codecs/VectorReader.java     |  55 ++
 .../org/apache/lucene/codecs/VectorWriter.java     | 283 ++++++++
 .../codecs/lucene50/Lucene50FieldInfosFormat.java  |   4 +-
 .../lucene/codecs/lucene50/package-info.java       |   2 +-
 .../codecs/lucene60/Lucene60FieldInfosFormat.java  |   4 +-
 .../lucene/codecs/lucene60/package-info.java       |   2 +-
 .../lucene/codecs/lucene80/package-info.java       |   2 +-
 .../lucene/codecs/lucene84/package-info.java       |   2 +-
 .../lucene/codecs/lucene86/package-info.java       | 398 +-----------
 .../lucene/codecs/lucene87/package-info.java       | 398 +-----------
 .../Lucene90Codec.java}                            |  38 +-
 .../Lucene90FieldInfosFormat.java}                 |  43 +-
 .../codecs/lucene90/Lucene90VectorFormat.java      |  57 ++
 .../codecs/lucene90/Lucene90VectorReader.java      | 345 ++++++++++
 .../codecs/lucene90/Lucene90VectorWriter.java      | 127 ++++
 .../{lucene87 => lucene90}/package-info.java       |  39 +-
 .../java/org/apache/lucene/document/FieldType.java |  28 +
 .../org/apache/lucene/document/VectorField.java    |  99 +++
 .../java/org/apache/lucene/index/CheckIndex.java   |  85 ++-
 .../java/org/apache/lucene/index/CodecReader.java  |  19 +
 .../lucene/index/ConcurrentMergeScheduler.java     |  45 +-
 .../apache/lucene/index/DocValuesLeafReader.java   |   5 +
 .../lucene/index/DocumentsWriterFlushQueue.java    |   4 +-
 .../java/org/apache/lucene/index/FieldInfo.java    |  57 +-
 .../java/org/apache/lucene/index/FieldInfos.java   |  76 ++-
 .../org/apache/lucene/index/FilterCodecReader.java |   6 +
 .../org/apache/lucene/index/FilterLeafReader.java  |   5 +
 .../java/org/apache/lucene/index/IndexWriter.java  |  14 +-
 .../apache/lucene/index/IndexableFieldType.java    |  10 +
 .../org/apache/lucene/index/IndexingChain.java     |  81 ++-
 .../java/org/apache/lucene/index/LeafReader.java   |   4 +
 .../apache/lucene/index/MergeReaderWrapper.java    |   5 +
 .../java/org/apache/lucene/index/MergeState.java   |  11 +
 .../apache/lucene/index/ParallelLeafReader.java    |   7 +
 .../org/apache/lucene/index/ReadersAndUpdates.java |   3 +-
 .../apache/lucene/index/SegmentCoreReaders.java    |  11 +-
 .../org/apache/lucene/index/SegmentMerger.java     | 143 ++--
 .../org/apache/lucene/index/SegmentReader.java     |   6 +
 .../lucene/index/SlowCodecReaderWrapper.java       |  30 +
 .../java/org/apache/lucene/index/VectorValues.java | 276 ++++++++
 .../apache/lucene/index/VectorValuesWriter.java    | 322 +++++++++
 .../org/apache/lucene/search/spans/SpanWeight.java |  21 +-
 .../src/java/org/apache/lucene/util/IOUtils.java   | 147 -----
 .../src/java/org/apache/lucene/util/Version.java   |   7 +
 .../org/apache/lucene/util/automaton/Automata.java |  27 +-
 lucene/core/src/java/overview.html                 |   6 +-
 .../services/org.apache.lucene.codecs.Codec        |   2 +-
 ...tLucene87StoredFieldsFormatHighCompression.java |   7 +-
 .../apache/lucene/index/TestIndexableField.java    |  10 +
 .../lucene/index/TestPendingSoftDeletes.java       |  12 +-
 .../lucene/index/TestSegmentToThreadMapping.java   |   3 +
 .../org/apache/lucene/index/TestVectorValues.java  | 722 +++++++++++++++++++++
 .../lucene/search/spans/TestSpanExplanations.java  |  38 ++
 .../test/org/apache/lucene/util/TestIOUtils.java   | 385 -----------
 .../lucene/util/automaton/TestAutomaton.java       |  36 +
 .../test/org/apache/lucene/util/fst/TestFSTs.java  |   2 +-
 lucene/demo/src/java/overview.html                 |   2 +-
 .../documentation/build.gradle                     |   7 +-
 .../src/assets}/lucene_green_300.gif               | Bin
 .../src/markdown}/index.template.md                |   0
 .../search/highlight/LimitTokenOffsetFilter.java   |   2 +-
 .../search/highlight/TermVectorLeafReader.java     |   8 +-
 lucene/licenses/junit-4.12.jar.sha1                |   1 -
 lucene/licenses/junit-4.13.1.jar.sha1              |   1 +
 lucene/luke/build.gradle                           |  33 +-
 .../apache/lucene/index/memory/MemoryIndex.java    |   9 +-
 lucene/packaging/build.gradle                      | 168 +++++
 lucene/queryparser/build.gradle                    |   2 -
 lucene/site/xsl/index.xsl                          | 117 ----
 .../search/suggest/document/TestSuggestField.java  |   4 +-
 .../lucene/analysis/BaseTokenStreamTestCase.java   | 122 ++--
 .../lucene/index/BaseIndexFileFormatTestCase.java  |   3 +-
 .../apache/lucene/index/MismatchedLeafReader.java  |   2 +
 .../apache/lucene/index/RandomPostingsTester.java  |   4 +-
 .../java/org/apache/lucene/search/QueryUtils.java  |   6 +
 .../org/apache/lucene/util/LuceneTestCase.java     |  13 -
 .../util/TestRuleSetupAndRestoreClassEnv.java      |   6 +-
 .../src/java/org/apache/lucene/util/TestUtil.java  |   9 +-
 lucene/version.properties                          |  10 -
 settings.gradle                                    |   3 +
 solr/CHANGES.txt                                   |  65 +-
 .../solr/prometheus/exporter/MetricsQuery.java     |   2 +-
 .../exporter/PrometheusExporterSettings.java       |   2 +-
 .../prometheus/PrometheusExporterTestBase.java     |   1 +
 .../org/apache/solr/cloud/CloudDescriptor.java     |   2 +-
 .../src/java/org/apache/solr/cloud/Overseer.java   |   1 -
 .../apache/solr/cloud/api/collections/Assign.java  |  72 +-
 .../OverseerCollectionMessageHandler.java          |   3 -
 .../solr/cloud/api/collections/SplitShardCmd.java  |   9 +-
 .../org/apache/solr/cloud/rule/ImplicitSnitch.java |  65 --
 .../apache/solr/cloud/rule/ReplicaAssigner.java    | 452 -------------
 .../src/java/org/apache/solr/cloud/rule/Rule.java  | 395 -----------
 .../solr/cloud/rule/ServerSnitchContext.java       |  59 --
 .../java/org/apache/solr/core/CoreContainer.java   |  30 +-
 .../java/org/apache/solr/core/CoreDescriptor.java  |   2 +-
 .../java/org/apache/solr/core/MetricsConfig.java   |  71 +-
 .../src/java/org/apache/solr/core/PluginInfo.java  |   2 +-
 .../src/java/org/apache/solr/core/SolrConfig.java  |   2 +-
 .../src/java/org/apache/solr/core/SolrCore.java    |   8 -
 .../java/org/apache/solr/core/SolrXmlConfig.java   |  17 +-
 .../java/org/apache/solr/core/XmlConfigFile.java   |   2 +-
 .../apache/solr/handler/ReplicationHandler.java    |  63 +-
 .../org/apache/solr/handler/SolrConfigHandler.java |  33 +-
 .../solr/handler/admin/CollectionsHandler.java     |  50 --
 .../solr/handler/admin/ConfigSetsHandler.java      |  62 +-
 .../solr/handler/admin/CoreAdminOperation.java     |   2 +-
 .../apache/solr/handler/admin/MetricsHandler.java  |  18 +-
 .../solr/handler/admin/MetricsHistoryHandler.java  |  15 +-
 .../handler/component/QueryElevationComponent.java |   4 +-
 .../solr/index/SlowCompositeReaderWrapper.java     |   6 +
 .../org/apache/solr/metrics/MetricSuppliers.java   | 267 ++++++--
 .../org/apache/solr/metrics/SolrMetricManager.java |  14 +-
 .../response/transform/ChildDocTransformer.java    |  11 +-
 .../apache/solr/schema/FieldTypePluginLoader.java  |   4 +-
 .../java/org/apache/solr/schema/IndexSchema.java   |   2 +-
 .../java/org/apache/solr/schema/SchemaField.java   |  11 +
 .../java/org/apache/solr/search/CacheConfig.java   |   4 +-
 .../solr/search/CollapsingQParserPlugin.java       |   2 +
 .../src/java/org/apache/solr/search/Insanity.java  |   3 +-
 .../solr/servlet/cache/HttpCacheHeaderUtil.java    |   7 +-
 .../apache/solr/uninverting/UninvertingReader.java |   3 +-
 .../src/java/org/apache/solr/update/PeerSync.java  |  30 +-
 .../src/java/org/apache/solr/util/PackageTool.java |  12 +-
 .../src/java/org/apache/solr/util/SolrCLI.java     |   1 +
 .../solr/util/plugin/AbstractPluginLoader.java     |   2 +-
 .../apache/solr/util/plugin/MapPluginLoader.java   |   2 +-
 .../solr/util/plugin/NamedListPluginLoader.java    |   2 +-
 .../src/test-files/solr/solr-metricsconfig.xml     |   2 +-
 solr/core/src/test-files/solr/solr.xml             |   2 +
 .../apache/solr/cloud/CollectionsAPISolrJTest.java |   1 +
 .../solr/cloud/MetricsHistoryIntegrationTest.java  |   1 +
 .../MetricsHistoryWithAuthIntegrationTest.java     |   2 +-
 .../org/apache/solr/cloud/ReplaceNodeTest.java     |  39 ++
 .../test/org/apache/solr/cloud/SplitShardTest.java |   1 +
 .../apache/solr/cloud/TestBaseStatsCacheCloud.java |   1 +
 .../org/apache/solr/cloud/TestCloudRecovery.java   |   1 +
 .../org/apache/solr/cloud/TestConfigSetsAPI.java   | 190 +++++-
 .../org/apache/solr/cloud/TestTlogReplica.java     |   1 +
 .../apache/solr/cloud/rule/ImplicitSnitchTest.java | 244 -------
 .../org/apache/solr/cloud/rule/RuleEngineTest.java | 323 ---------
 .../test/org/apache/solr/cloud/rule/RulesTest.java | 328 ----------
 .../org/apache/solr/core/TestCustomStream.java     |  19 -
 .../solr/handler/admin/AdminHandlersProxyTest.java |   1 +
 .../handler/admin/MetricsHistoryHandlerTest.java   |   1 +
 .../solr/handler/admin/TestCollectionAPIs.java     |   4 -
 .../org/apache/solr/metrics/MetricsConfigTest.java |  12 +
 .../solr/metrics/MetricsDisabledCloudTest.java     |  72 ++
 .../solr/metrics/SolrMetricsIntegrationTest.java   |  13 -
 .../TestChildDocTransformerHierarchy.java          |  47 ++
 .../solr/schema/TestUseDocValuesAsStored.java      |   2 +-
 .../test/org/apache/solr/search/TestDocSet.java    |   6 +
 .../solr/search/stats/TestDefaultStatsCache.java   |   1 +
 solr/dev-docs/overseer/overseer.adoc               |   7 +-
 {lucene => solr/documentation}/build.gradle        |   6 +-
 .../images => documentation/src/assets}/solr.svg   |   0
 .../src/markdown}/SYSTEM_REQUIREMENTS.md           |   0
 .../src/markdown}/index.template.md                |   2 +-
 .../src/markdown}/online-link.template.md          |   4 +-
 solr/licenses/junit-4.12.jar.sha1                  |   1 -
 solr/licenses/junit-4.13.1.jar.sha1                |   1 +
 solr/packaging/build.gradle                        |  20 +-
 solr/server/etc/security.policy                    |   2 +-
 solr/server/solr/solr.xml                          |   2 +
 solr/site/assets/images/favicon.ico                | Bin 3262 -> 0 bytes
 .../images/quickstart-admin-ui-facet-options.png   | Bin 10646 -> 0 bytes
 .../site/assets/images/quickstart-query-screen.png | Bin 278938 -> 0 bytes
 solr/site/assets/images/quickstart-range-facet.png | Bin 21592 -> 0 bytes
 solr/site/assets/images/quickstart-solrcloud.png   | Bin 50418 -> 0 bytes
 solr/site/assets/images/quickstart-spatial.png     | Bin 229121 -> 0 bytes
 solr/site/index.xsl                                | 112 ----
 solr/site/online-link.xsl                          |  69 --
 solr/solr-ref-guide/build.gradle                   | 280 ++++----
 solr/solr-ref-guide/src/_config.yml.template       |   2 +-
 solr/solr-ref-guide/src/_includes/head.html        |   5 +-
 .../authentication-and-authorization-plugins.adoc  |   2 +-
 .../src/basic-authentication-plugin.adoc           |   2 +-
 solr/solr-ref-guide/src/blob-store-api.adoc        | 274 --------
 solr/solr-ref-guide/src/codec-factory.adoc         |   4 +-
 solr/solr-ref-guide/src/collection-management.adoc |   6 -
 .../src/common-query-parameters.adoc               |   2 +-
 solr/solr-ref-guide/src/configsets-api.adoc        |  11 +-
 solr/solr-ref-guide/src/configuration-apis.adoc    |   5 +-
 ...datadir-and-directoryfactory-in-solrconfig.adoc |   6 +-
 .../src/documents-fields-and-schema-design.adoc    |   2 +
 solr/solr-ref-guide/src/exporting-result-sets.adoc |   2 +-
 solr/solr-ref-guide/src/faceting.adoc              |   2 +-
 .../src/field-types-included-with-solr.adoc        |   6 +-
 solr/solr-ref-guide/src/filter-descriptions.adoc   |   4 +-
 .../src/hadoop-authentication-plugin.adoc          |   2 +-
 solr/solr-ref-guide/src/highlighting.adoc          |   2 +-
 .../src/implicit-requesthandlers.adoc              |  58 +-
 solr/solr-ref-guide/src/index-replication.adoc     |   2 +-
 .../src/indexconfig-in-solrconfig.adoc             |  17 +-
 .../src/indexing-nested-documents.adoc             |  10 +-
 solr/solr-ref-guide/src/language-analysis.adoc     |   2 +-
 solr/solr-ref-guide/src/learning-to-rank.adoc      |  50 +-
 solr/solr-ref-guide/src/luke-request-handler.adoc  |   2 +-
 .../src/major-changes-from-solr-5-to-solr-6.adoc   |   2 +-
 .../src/major-changes-in-solr-7.adoc               |   2 +-
 .../src/major-changes-in-solr-8.adoc               |   8 +-
 .../src/major-changes-in-solr-9.adoc               |   2 +-
 solr/solr-ref-guide/src/math-expressions.adoc      |   3 +-
 solr/solr-ref-guide/src/metrics-history.adoc       |   9 +-
 solr/solr-ref-guide/src/metrics-reporting.adoc     |  15 +
 solr/solr-ref-guide/src/other-parsers.adoc         |  26 +-
 solr/solr-ref-guide/src/other-schema-elements.adoc |   6 +-
 solr/solr-ref-guide/src/query-re-ranking.adoc      |   8 +-
 .../src/query-syntax-and-parsing.adoc              |   2 +-
 ...andlers-and-searchcomponents-in-solrconfig.adoc |   4 +-
 .../src/rule-based-replica-placement.adoc          | 177 -----
 solr/solr-ref-guide/src/schemaless-mode.adoc       |  16 +-
 .../src/searching-nested-documents.adoc            |  42 +-
 .../src/shards-and-indexing-data-in-solrcloud.adoc |   6 +-
 solr/solr-ref-guide/src/solr-field-types.adoc      |   2 +-
 solr/solr-ref-guide/src/solr-upgrade-notes.adoc    |  94 ++-
 ...solrcloud-query-routing-and-read-tolerance.adoc |   2 +-
 solr/solr-ref-guide/src/solrcloud.adoc             |   5 +-
 solr/solr-ref-guide/src/statistics.adoc            |   4 +-
 .../src/stream-decorator-reference.adoc            |   4 +-
 .../src/stream-source-reference.adoc               |   2 +-
 solr/solr-ref-guide/src/streaming-expressions.adoc |   8 +-
 .../src/taking-solr-to-production.adoc             |  10 +-
 .../src/the-query-elevation-component.adoc         |   9 +-
 solr/solr-ref-guide/src/the-terms-component.adoc   |   2 +-
 .../src/update-request-processors.adoc             | 106 +--
 .../src/updating-parts-of-documents.adoc           |  12 +-
 solr/solr-ref-guide/src/using-solrj.adoc           |  22 +-
 solr/solr-ref-guide/src/v2-api.adoc                |  10 -
 solr/solr-ref-guide/src/vectorization.adoc         |   8 +-
 .../src/zookeeper-access-control.adoc              |   6 +-
 solr/solr-ref-guide/tools/BuildNavDataFiles.java   |   1 -
 .../solr-ref-guide/tools/CheckLinksAndAnchors.java |  11 -
 .../solrj/impl/SolrClientNodeStateProvider.java    |  50 +-
 .../solrj/request/CollectionAdminRequest.java      |   7 -
 .../apache/solr/common/cloud/DocCollection.java    |   6 -
 .../apache/solr/common/params/ConfigSetParams.java |   1 +
 .../java/org/apache/solr/common}/util/DOMUtil.java |   4 +-
 .../apache/solr/common}/util/PropertiesUtil.java   |   2 +-
 .../resources/apispec/collections.Commands.json    |  16 -
 .../collections.collection.Commands.modify.json    |  16 -
 ...nfig.Commands.addRequestHandler.properties.json |   4 -
 .../apispec/core.config.Commands.generic.json      |   4 -
 .../resources/apispec/core.config.Commands.json    |  13 -
 .../solrj/impl/CloudHttp2SolrClientRetryTest.java  |   1 +
 .../solrj/impl/CloudHttp2SolrClientTest.java       |   1 +
 .../solrj/impl/CloudSolrClientRetryTest.java       |   1 +
 .../client/solrj/impl/CloudSolrClientTest.java     |   1 +
 .../org/apache/solr/common}/util/DOMUtilTest.java  |   5 +-
 .../apache/solr/cloud/MiniSolrCloudCluster.java    |   3 +-
 .../apache/solr/cloud/SolrCloudAuthTestCase.java   |  12 +
 solr/webapp/web/css/angular/collections.css        |   5 +
 solr/webapp/web/index.html                         |   2 +-
 .../web/js/angular/controllers/collections.js      |   7 +-
 solr/webapp/web/libs/jquery-3.4.1.min.js           |  28 -
 solr/webapp/web/libs/jquery-3.5.1.min.js           |  27 +
 solr/webapp/web/partials/collections.html          |  22 +-
 versions.lock                                      |   2 +-
 versions.props                                     |   2 +-
 326 files changed, 6381 insertions(+), 5426 deletions(-)



Mime
View raw message