You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2021/03/10 09:48:04 UTC

[lucene] branch SOLR-14866 created (now ef3d1ec)

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a change to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git.


      at ef3d1ec  mergin

This branch includes the following new commits:

     new e950258  first cut of looking at removing TODO and adding autowidth
     new d23119a  use both autowidth and width to get a table that stretches across the page
     new 0772057  add autowidth headers where appropriate
     new c59f343  respond to comment
     new 62486e8  mergin
     new 9bce93a  more autowidth headers make sense
     new d579b9a  trying out the default table structure instead of the autowidth.spread version
     new 990c56d  strip off header, since whitespace covers it, but leave in columns bc that makes formatting much more legible
     new da75f26  remove the remaining todos with what seems to be the pattern
     new b39d03f  we never use the [options="header"] layout, so document what we do use
     new ef3d1ec  mergin

The 11 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[lucene] 04/11: respond to comment

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit c59f34377ae809411f1f1ef6932adc3370b0164d
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Tue Sep 15 16:07:03 2020 -0400

    respond to comment
---
 solr/solr-ref-guide/src/other-parsers.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/solr-ref-guide/src/other-parsers.adoc b/solr/solr-ref-guide/src/other-parsers.adoc
index 7a37394..8a8d641 100644
--- a/solr/solr-ref-guide/src/other-parsers.adoc
+++ b/solr/solr-ref-guide/src/other-parsers.adoc
@@ -237,7 +237,7 @@ Comma separated list of tags for excluding queries from parameters above. See ex
 {!bool filter=foo should=bar}
 ----
 
-Parameters might also be multivalue references. The former example above is equivlent to
+Parameters might also be multivalue references. The former example above is equivalent to
 
 [source,text]
 ----


[lucene] 02/11: use both autowidth and width to get a table that stretches across the page

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit d23119a33ade65038e22f13cdf5cb2b04f22d4e8
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Mon Sep 14 09:03:32 2020 -0400

    use both autowidth and width to get a table that stretches across the page
---
 solr/solr-ref-guide/src/charfilterfactories.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/solr-ref-guide/src/charfilterfactories.adoc b/solr/solr-ref-guide/src/charfilterfactories.adoc
index e26597d..37bf643 100644
--- a/solr/solr-ref-guide/src/charfilterfactories.adoc
+++ b/solr/solr-ref-guide/src/charfilterfactories.adoc
@@ -232,7 +232,7 @@ You can configure this filter in `schema.xml` like this:
 
 The table below presents examples of regex-based pattern replacement:
 
-[%autowidth.spread,options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Input |Pattern |Replacement |Output |Description
 |see-ing looking |`(\w+)(ing)` |`$1` |see-ing look |Removes "ing" from the end of word.


[lucene] 01/11: first cut of looking at removing TODO and adding autowidth

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit e950258a57e5f7cda7ff53c6e9f57b1a5a17a5ff
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Mon Sep 14 08:48:11 2020 -0400

    first cut of looking at removing TODO and adding autowidth
---
 solr/solr-ref-guide/src/charfilterfactories.adoc | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/solr/solr-ref-guide/src/charfilterfactories.adoc b/solr/solr-ref-guide/src/charfilterfactories.adoc
index 031706c..e26597d 100644
--- a/solr/solr-ref-guide/src/charfilterfactories.adoc
+++ b/solr/solr-ref-guide/src/charfilterfactories.adoc
@@ -65,9 +65,7 @@ Mapping file syntax:
 * The source string must contain at least one character, but the target string may be empty.
 * The following character escape sequences are recognized within source and target strings:
 +
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-+
-[cols="20,30,20,30",options="header"]
+[%autowidth.spread,options="header"]
 |===
 |Escape Sequence |Resulting Character (http://www.ecma-international.org/publications/standards/Ecma-048.htm[ECMA-48] alias) |Unicode Character |Example Mapping Line
 |`\\` |`\` |U+005C |`"\\" \=> "/"`
@@ -234,9 +232,7 @@ You can configure this filter in `schema.xml` like this:
 
 The table below presents examples of regex-based pattern replacement:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="20,20,10,20,30",options="header"]
+[%autowidth.spread,options="header"]
 |===
 |Input |Pattern |Replacement |Output |Description
 |see-ing looking |`(\w+)(ing)` |`$1` |see-ing look |Removes "ing" from the end of word.


[lucene] 09/11: remove the remaining todos with what seems to be the pattern

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit da75f260875c9f2af252af969f2fc91b5a30d628
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Thu Sep 17 16:53:02 2020 -0400

    remove the remaining todos with what seems to be the pattern
---
 solr/solr-ref-guide/src/charfilterfactories.adoc             |  4 ++--
 solr/solr-ref-guide/src/thread-dump.adoc                     |  4 +---
 solr/solr-ref-guide/src/velocity-response-writer.adoc        |  4 +---
 .../src/working-with-external-files-and-processes.adoc       | 12 +++---------
 4 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/solr/solr-ref-guide/src/charfilterfactories.adoc b/solr/solr-ref-guide/src/charfilterfactories.adoc
index 37bf643..edf401c 100644
--- a/solr/solr-ref-guide/src/charfilterfactories.adoc
+++ b/solr/solr-ref-guide/src/charfilterfactories.adoc
@@ -65,9 +65,9 @@ Mapping file syntax:
 * The source string must contain at least one character, but the target string may be empty.
 * The following character escape sequences are recognized within source and target strings:
 +
-[%autowidth.spread,options="header"]
 |===
 |Escape Sequence |Resulting Character (http://www.ecma-international.org/publications/standards/Ecma-048.htm[ECMA-48] alias) |Unicode Character |Example Mapping Line
+
 |`\\` |`\` |U+005C |`"\\" \=> "/"`
 |`\"` |`"` |U+0022 |`"\"and\"" \=> "'and'"`
 |`\b` |backspace (BS) |U+0008 |`"\b" \=> " "`
@@ -105,9 +105,9 @@ TIP: The input need not be an HTML document. The filter removes only constructs
 
 The table below presents examples of HTML stripping.
 
-[width="100%",options="header",]
 |===
 |Input |Output
+
 |`my <a href="www.foo.bar">link</a>` |my link
 |`<br>hello<!--comment-\->` |hello
 |`hello<script><!-- f('<!--internal-\-></script>'); -\-></script>` |hello
diff --git a/solr/solr-ref-guide/src/thread-dump.adoc b/solr/solr-ref-guide/src/thread-dump.adoc
index 3def77c..1581947 100644
--- a/solr/solr-ref-guide/src/thread-dump.adoc
+++ b/solr/solr-ref-guide/src/thread-dump.adoc
@@ -26,9 +26,7 @@ image::images/thread-dump/thread_dump_1.png[image,width=484,height=250]
 
 When you move your cursor over a thread name, a box floats over the name with the state for that thread. Thread states can be:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="25,75",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |State |Meaning
 |NEW |A thread that has not yet started.
diff --git a/solr/solr-ref-guide/src/velocity-response-writer.adoc b/solr/solr-ref-guide/src/velocity-response-writer.adoc
index c493440..e08ea70 100644
--- a/solr/solr-ref-guide/src/velocity-response-writer.adoc
+++ b/solr/solr-ref-guide/src/velocity-response-writer.adoc
@@ -94,9 +94,7 @@ Resource bundles can be added by providing a JAR file visible by the SolrResourc
 
 === VelocityResponseWriter Context Objects
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="30,70",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Context Reference |Description
 |`request` |{solr-javadocs}solr-core/org/apache/solr/request/SolrQueryRequest.html[SolrQueryRequest] javadocs
diff --git a/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc b/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc
index 06d2c0e..2639577 100644
--- a/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc
+++ b/solr/solr-ref-guide/src/working-with-external-files-and-processes.adoc
@@ -93,9 +93,7 @@ By default, the query-time analyzer for fields of this type will be the same as
 
 This is the default serialization format used by PreAnalyzedField type. It uses a top-level JSON map with the following keys:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="20,60,20",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Key |Description |Required
 |`v` |Version key. Currently the supported version is `1`. |required
@@ -110,9 +108,7 @@ Any other top-level key is silently ignored.
 
 The token stream is expressed as a JSON list of JSON maps. The map for each token consists of the following keys and values:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="10,20,20,30,20",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Key |Description |Lucene Attribute |Value |Required?
 |`t` |token |{lucene-javadocs}/core/org/apache/lucene/analysis/tokenattributes/CharTermAttribute.html[CharTermAttribute] |UTF-8 string representing the current token |required
@@ -183,9 +179,7 @@ Please note that Unicode sequences (e.g., `\u0001`) are not supported.
 
 The following token attributes are supported, and identified with short symbolic names:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="10,30,30,30",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Name |Description |Lucene attribute |Value format
 |`i` |position increment |{lucene-javadocs}/core/org/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute.html[PositionIncrementAttribute] |integer


[lucene] 08/11: strip off header, since whitespace covers it, but leave in columns bc that makes formatting much more legible

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 990c56df6cedea625ae8ea070c2a86242658560a
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Thu Sep 17 16:28:53 2020 -0400

    strip off header, since whitespace covers it, but leave in columns bc that makes formatting much more legible
---
 solr/solr-ref-guide/src/the-dismax-query-parser.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/the-dismax-query-parser.adoc b/solr/solr-ref-guide/src/the-dismax-query-parser.adoc
index a521663..501cd5f 100644
--- a/solr/solr-ref-guide/src/the-dismax-query-parser.adoc
+++ b/solr/solr-ref-guide/src/the-dismax-query-parser.adoc
@@ -64,10 +64,10 @@ When processing queries, Lucene/Solr recognizes three types of clauses: mandator
 
 The table below explains the various ways that mm values can be specified.
 
-// Keep manual column formatting
-[cols="30,10,60",options="header"]
+[cols="30,10,60"]
 |===
 |Syntax |Example |Description
+
 |Positive integer |3 |Defines the minimum number of clauses that must match, regardless of how many clauses there are in total.
 |Negative integer |-2 |Sets the minimum number of matching clauses to the total number of optional clauses, minus this value.
 |Percentage |75% |Sets the minimum number of matching clauses to this percentage of the total number of optional clauses. The number computed from the percentage is rounded down and used as the minimum.


[lucene] 10/11: we never use the [options="header"] layout, so document what we do use

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit b39d03f044a46cd67b8be32338f23f8f139ec0ef
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Thu Sep 17 16:59:33 2020 -0400

    we never use the [options="header"] layout, so document what we do use
---
 solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc b/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc
index 36f9b1a..428512a 100644
--- a/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc
+++ b/solr/solr-ref-guide/src/meta-docs/asciidoc-syntax.adoc
@@ -302,11 +302,11 @@ The basic structure of a table is similar to Markdown, with pipes (`|`) delimiti
 Note the use of `|===` at the start and end. For basic tables that's not exactly required, but it does help to delimit the start and end of the table in case you accidentally introduce (or maybe prefer) spaces between the rows.
 
 === Header Rows
-To add a header to a table, you need only set the `header` attribute at the start of the table:
+Most of our tables are laid out with a header and spread out to the width of the page, so you will see this header definition frequently:
 
 [source]
 ----
-[options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 | header col 1 | header col 2|
 | col 1 row 1 | col 2 row 1|


[lucene] 11/11: mergin

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit ef3d1ecb8db26454d50f748df5aba28ccb3999e9
Merge: b39d03f 33f7280
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Thu Sep 17 17:00:43 2020 -0400

    mergin

 .gitignore                                         |    1 -
 build.gradle                                       |    2 +-
 gradle/documentation/render-javadoc.gradle         |    7 -
 gradle/generation/javacc.gradle                    |  585 ++++----
 gradle/maven/defaults-maven.gradle                 |    1 -
 lucene/CHANGES.txt                                 |    4 +
 .../compressing/CompressingStoredFieldsReader.java |   68 +-
 .../compressing/CompressingStoredFieldsWriter.java |   13 +-
 .../compressing/CompressingTermVectorsReader.java  |   32 +-
 .../compressing/CompressingTermVectorsWriter.java  |   15 +-
 .../codecs/lucene87/BugfixDeflater_JDK8252739.java |   13 +-
 .../DeflateWithPresetDictCompressionMode.java      |   22 +-
 .../lucene87/LZ4WithPresetDictCompressionMode.java |   26 +-
 .../lucene87/Lucene87StoredFieldsFormat.java       |   35 +-
 .../lucene/index/SortingStoredFieldsConsumer.java  |   59 +-
 .../lucene/index/SortingTermVectorsConsumer.java   |   22 +-
 .../lucene/queryparser/classic/CharStream.java     |    9 +-
 .../lucene/queryparser/classic/FastCharStream.java |   20 +
 .../lucene/queryparser/classic/ParseException.java |   38 +-
 .../lucene/queryparser/classic/QueryParser.java    |  705 +++++-----
 .../classic/QueryParserTokenManager.java           |  455 ++++---
 .../apache/lucene/queryparser/classic/Token.java   |    7 +-
 .../lucene/queryparser/classic/TokenMgrError.java  |   24 +-
 .../flexible/standard/parser/CharStream.java       |    9 +-
 .../flexible/standard/parser/FastCharStream.java   |   20 +
 .../flexible/standard/parser/ParseException.java   |   84 +-
 .../standard/parser/StandardSyntaxParser.java      | 1021 ++++++++------
 .../standard/parser/StandardSyntaxParser.jj        |   13 +-
 .../parser/StandardSyntaxParserTokenManager.java   |  391 +++---
 .../flexible/standard/parser/Token.java            |    7 +-
 .../flexible/standard/parser/TokenMgrError.java    |   24 +-
 .../queryparser/surround/parser/CharStream.java    |    9 +-
 .../surround/parser/FastCharStream.java            |   20 +
 .../surround/parser/ParseException.java            |   38 +-
 .../queryparser/surround/parser/QueryParser.java   |  580 ++++----
 .../surround/parser/QueryParserTokenManager.java   |  322 +++--
 .../lucene/queryparser/surround/parser/Token.java  |    7 +-
 .../queryparser/surround/parser/TokenMgrError.java |   24 +-
 .../flexible/standard/TestQPHelper.java            |    9 +
 .../DeflateWithPresetCompressingCodec.java         |    2 +-
 .../compressing/LZ4WithPresetCompressingCodec.java |    2 +-
 .../TestCompressingStoredFieldsFormat.java         |    3 +-
 .../TestCompressingTermVectorsFormat.java          |    2 +-
 settings.gradle                                    |    1 -
 solr/CHANGES.txt                                   |    2 +
 .../java/org/apache/solr/response/PageTool.java    |   92 --
 .../solr/response/SolrVelocityResourceLoader.java  |   61 -
 .../solr/response/VelocityResponseWriter.java      |  468 -------
 .../src/java/org/apache/solr/response/package.html |   23 -
 solr/contrib/velocity/src/java/overview.html       |   21 -
 .../velocity/src/resources/VM_global_library.vm    |    4 -
 solr/contrib/velocity/src/resources/_macros.vm     |   70 -
 solr/contrib/velocity/src/resources/macros.vm      |    3 -
 .../velocity/src/resources/velocity/_default.vm    |   14 -
 .../velocity/src/resources/velocity/browse.vm      |   73 -
 .../velocity/src/resources/velocity/error.vm       |    4 -
 .../velocity/src/resources/velocity/facets.vm      |   23 -
 .../velocity/src/resources/velocity/footer.vm      |   19 -
 .../velocity/src/resources/velocity/head.vm        |  185 ---
 .../contrib/velocity/src/resources/velocity/hit.vm |   27 -
 .../velocity/src/resources/velocity/layout.vm      |   19 -
 .../src/resources/velocity/resources.properties    |    6 -
 .../src/resources/velocity/results_list.vm         |    3 -
 .../velocity/src/test-files/velocity/file.vm       |    1 -
 .../velocity/solr/collection1/conf/schema.xml      |   26 -
 .../velocity/solr/collection1/conf/solrconfig.xml  |   52 -
 .../solr/collection1/conf/velocity-init.properties |   18 -
 .../collection1/conf/velocity/VM_global_library.vm |    3 -
 .../solr/collection1/conf/velocity/encoding.vm     |    1 -
 .../solr/collection1/conf/velocity/layout.vm       |    1 -
 .../solr/collection1/conf/velocity/locale.vm       |    1 -
 .../collection1/conf/velocity/locale_number.vm     |    1 -
 .../solr/collection1/conf/velocity/macros.vm       |    3 -
 .../solr/collection1/conf/velocity/numFound.vm     |    1 -
 .../collection1/conf/velocity/outside_the_box.vm   |    4 -
 .../solr/collection1/conf/velocity/resource_get.vm |    1 -
 .../conf/velocity/sandbox_intersection.vm          |    5 -
 .../conf/velocity/test_macro_legacy_support.vm     |    1 -
 .../conf/velocity/test_macro_overridden.vm         |    1 -
 .../conf/velocity/test_macro_visible.vm            |    1 -
 solr/contrib/velocity/src/test/custom_tool.vm      |   19 -
 solr/contrib/velocity/src/test/foreach.vm          |   14 -
 .../solr/velocity/VelocityResponseWriterTest.java  |  318 -----
 .../src/test/velocity/resources.properties         |   18 -
 .../src/test/velocity/resources_en_UK.properties   |   18 -
 .../src/java/org/apache/solr/api/AnnotatedApi.java |   12 +-
 .../src/java/org/apache/solr/api/PayloadObj.java   |    4 +-
 .../apache/solr/cloud/api/collections/Assign.java  |   64 +-
 .../cloud/api/collections/CreateCollectionCmd.java |    3 +-
 .../solr/cloud/api/collections/ReplaceNodeCmd.java |    3 +-
 .../solr/cloud/api/collections/RestoreCmd.java     |    3 +-
 .../solr/cloud/api/collections/SplitShardCmd.java  |    3 +-
 .../src/java/org/apache/solr/cluster/Cluster.java  |   50 +
 .../src/java/org/apache/solr/cluster/Node.java}    |   21 +-
 .../src/java/org/apache/solr/cluster/Replica.java} |   39 +-
 .../src/java/org/apache/solr/cluster/Shard.java    |   60 +
 .../org/apache/solr/cluster/SolrCollection.java    |   78 ++
 .../java/org/apache/solr/cluster/package-info.java |   28 +
 .../solr/cluster/placement/AttributeFetcher.java   |   85 ++
 .../solr/cluster/placement/AttributeValues.java    |   55 +
 .../solr/cluster/placement/PlacementException.java |   48 +
 .../solr/cluster/placement/PlacementPlan.java      |   43 +
 .../cluster/placement/PlacementPlanFactory.java    |   51 +
 .../solr/cluster/placement/PlacementPlugin.java    |   51 +
 .../cluster/placement/PlacementPluginConfig.java   |  115 ++
 .../cluster/placement/PlacementPluginFactory.java} |   27 +-
 .../solr/cluster/placement/PlacementRequest.java   |   64 +
 .../solr/cluster/placement/ReplicaPlacement.java   |   56 +
 .../placement/impl/AttributeFetcherImpl.java       |  228 ++++
 .../placement/impl/AttributeValuesImpl.java        |  114 ++
 .../placement/impl/PlacementPlanFactoryImpl.java}  |   26 +-
 .../cluster/placement/impl/PlacementPlanImpl.java} |   31 +-
 .../impl/PlacementPluginAssignStrategy.java        |   68 +
 .../placement/impl/PlacementPluginConfigImpl.java  |  204 +++
 .../placement/impl/PlacementRequestImpl.java       |  100 ++
 .../placement/impl/ReplicaPlacementImpl.java       |   83 ++
 .../impl/SimpleClusterAbstractionsImpl.java        |  392 ++++++
 .../solr/cluster/placement/impl/package-info.java} |   21 +-
 .../solr/cluster/placement/package-info.java       |   40 +
 .../SamplePluginAffinityReplicaPlacement.java      |  509 +++++++
 .../plugins/SamplePluginMinimizeCores.java         |  138 ++
 .../plugins/SamplePluginRandomPlacement.java       |   88 ++
 .../cluster/placement/plugins/package-info.java}   |   21 +-
 .../java/org/apache/solr/core/CoreContainer.java   |    4 +
 .../org/apache/solr/core/SolrResourceLoader.java   |  111 +-
 .../java/org/apache/solr/handler/ClusterAPI.java   |  191 +++
 .../org/apache/solr/handler/SolrConfigHandler.java |    2 +-
 .../solr/handler/admin/CollectionHandlerApi.java   |   53 -
 .../solr/handler/admin/CollectionsHandler.java     |   63 +-
 .../java/org/apache/solr/parser/CharStream.java    |    9 +-
 .../org/apache/solr/parser/FastCharStream.java     |   20 +
 .../org/apache/solr/parser/ParseException.java     |   38 +-
 .../java/org/apache/solr/parser/QueryParser.java   |  729 +++++-----
 .../solr/parser/QueryParserTokenManager.java       |  556 ++++----
 .../src/java/org/apache/solr/parser/Token.java     |    7 +-
 .../java/org/apache/solr/parser/TokenMgrError.java |   24 +-
 .../java/org/apache/solr/schema/IndexSchema.java   |    2 +-
 .../org/apache/solr/schema/ManagedIndexSchema.java |    5 +-
 .../java/org/apache/solr/schema/SchemaManager.java |   10 +-
 .../org/apache/solr/security/JWTAuthPlugin.java    |    8 +-
 .../runtimecode/payload-component.jar.bin          |  Bin 0 -> 17815 bytes
 .../solr/handler/admin/TestCollectionAPIs.java     |   10 +
 .../src/test/org/apache/solr/pkg/TestPackages.java |   21 +-
 .../apache/solr/security/JWTAuthPluginTest.java    |   18 +-
 solr/example/files/README.md                       |  167 ---
 .../browse-resources/velocity/resources.properties |   82 --
 .../velocity/resources_de_DE.properties            |   18 -
 .../velocity/resources_fr_FR.properties            |   20 -
 solr/example/files/conf/currency.xml               |   67 -
 solr/example/files/conf/elevate.xml                |   42 -
 solr/example/files/conf/email_url_types.txt        |    2 -
 solr/example/files/conf/lang/contractions_ca.txt   |    8 -
 solr/example/files/conf/lang/contractions_fr.txt   |   15 -
 solr/example/files/conf/lang/contractions_ga.txt   |    5 -
 solr/example/files/conf/lang/contractions_it.txt   |   23 -
 solr/example/files/conf/lang/hyphenations_ga.txt   |    5 -
 solr/example/files/conf/lang/stemdict_nl.txt       |    6 -
 solr/example/files/conf/lang/stoptags_ja.txt       |  420 ------
 solr/example/files/conf/lang/stopwords_ar.txt      |  125 --
 solr/example/files/conf/lang/stopwords_bg.txt      |  193 ---
 solr/example/files/conf/lang/stopwords_ca.txt      |  220 ---
 solr/example/files/conf/lang/stopwords_cz.txt      |  172 ---
 solr/example/files/conf/lang/stopwords_da.txt      |  110 --
 solr/example/files/conf/lang/stopwords_de.txt      |  294 ----
 solr/example/files/conf/lang/stopwords_el.txt      |   78 --
 solr/example/files/conf/lang/stopwords_en.txt      |   54 -
 solr/example/files/conf/lang/stopwords_es.txt      |  356 -----
 solr/example/files/conf/lang/stopwords_eu.txt      |   99 --
 solr/example/files/conf/lang/stopwords_fa.txt      |  313 -----
 solr/example/files/conf/lang/stopwords_fi.txt      |   97 --
 solr/example/files/conf/lang/stopwords_fr.txt      |  186 ---
 solr/example/files/conf/lang/stopwords_ga.txt      |  110 --
 solr/example/files/conf/lang/stopwords_gl.txt      |  161 ---
 solr/example/files/conf/lang/stopwords_hi.txt      |  235 ----
 solr/example/files/conf/lang/stopwords_hu.txt      |  211 ---
 solr/example/files/conf/lang/stopwords_hy.txt      |   46 -
 solr/example/files/conf/lang/stopwords_id.txt      |  359 -----
 solr/example/files/conf/lang/stopwords_it.txt      |  303 -----
 solr/example/files/conf/lang/stopwords_ja.txt      |  127 --
 solr/example/files/conf/lang/stopwords_lv.txt      |  172 ---
 solr/example/files/conf/lang/stopwords_nl.txt      |  119 --
 solr/example/files/conf/lang/stopwords_no.txt      |  194 ---
 solr/example/files/conf/lang/stopwords_pt.txt      |  253 ----
 solr/example/files/conf/lang/stopwords_ro.txt      |  233 ----
 solr/example/files/conf/lang/stopwords_ru.txt      |  243 ----
 solr/example/files/conf/lang/stopwords_sv.txt      |  133 --
 solr/example/files/conf/lang/stopwords_th.txt      |  119 --
 solr/example/files/conf/lang/stopwords_tr.txt      |  212 ---
 solr/example/files/conf/lang/userdict_ja.txt       |   29 -
 solr/example/files/conf/managed-schema             |  520 -------
 solr/example/files/conf/params.json                |   34 -
 solr/example/files/conf/protwords.txt              |   21 -
 solr/example/files/conf/solrconfig.xml             | 1423 --------------------
 solr/example/files/conf/stopwords.txt              |   14 -
 solr/example/files/conf/synonyms.txt               |   29 -
 solr/example/files/conf/update-script.js           |  115 --
 solr/example/files/conf/velocity/browse.vm         |   32 -
 solr/example/files/conf/velocity/dropit.js         |    0
 solr/example/files/conf/velocity/facet_doc_type.vm |    2 -
 .../files/conf/velocity/facet_text_shingles.vm     |   12 -
 solr/example/files/conf/velocity/facets.vm         |   24 -
 solr/example/files/conf/velocity/footer.vm         |   29 -
 solr/example/files/conf/velocity/head.vm           |  290 ----
 solr/example/files/conf/velocity/hit.vm            |   77 --
 .../files/conf/velocity/img/english_640.png        |  Bin 138412 -> 0 bytes
 .../example/files/conf/velocity/img/france_640.png |  Bin 99992 -> 0 bytes
 .../files/conf/velocity/img/germany_640.png        |  Bin 105271 -> 0 bytes
 solr/example/files/conf/velocity/img/globe_256.png |  Bin 46622 -> 0 bytes
 .../files/conf/velocity/jquery.tx3-tag-cloud.js    |    0
 solr/example/files/conf/velocity/js/dropit.js      |   97 --
 .../files/conf/velocity/js/jquery.autocomplete.js  |  763 -----------
 .../files/conf/velocity/js/jquery.tx3-tag-cloud.js |   70 -
 solr/example/files/conf/velocity/layout.vm         |   42 -
 solr/example/files/conf/velocity/macros.vm         |   16 -
 .../example/files/conf/velocity/mime_type_lists.vm |   68 -
 solr/example/files/conf/velocity/results.vm        |   20 -
 solr/example/files/conf/velocity/results_list.vm   |   21 -
 solr/licenses/velocity-engine-core-2.0.jar.sha1    |    1 -
 solr/licenses/velocity-engine-core-LICENSE-ASL.txt |  202 ---
 solr/licenses/velocity-engine-core-NOTICE.txt      |    7 -
 solr/licenses/velocity-tools-generic-3.0.jar.sha1  |    1 -
 .../velocity-tools-generic-LICENSE-ASL.txt         |  201 ---
 solr/licenses/velocity-tools-generic-NOTICE.txt    |   12 -
 solr/licenses/velocity-tools-view-3.0.jar.sha1     |    1 -
 solr/licenses/velocity-tools-view-LICENSE-ASL.txt  |  201 ---
 solr/licenses/velocity-tools-view-NOTICE.txt       |   12 -
 solr/licenses/velocity-tools-view-jsp-3.0.jar.sha1 |    1 -
 .../velocity-tools-view-jsp-LICENSE-ASL.txt        |  201 ---
 solr/licenses/velocity-tools-view-jsp-NOTICE.txt   |   12 -
 solr/packaging/build.gradle                        |    1 -
 .../conf/solrconfig.xml                            |  112 +-
 .../conf/velocity/README.md                        |  116 --
 .../conf/velocity/VM_global_library.vm             |  186 ---
 .../conf/velocity/browse.vm                        |   33 -
 .../conf/velocity/cluster.vm                       |   19 -
 .../conf/velocity/cluster_results.vm               |   31 -
 .../conf/velocity/debug.vm                         |   28 -
 .../conf/velocity/did_you_mean.vm                  |   11 -
 .../conf/velocity/error.vm                         |   11 -
 .../conf/velocity/facet_fields.vm                  |   24 -
 .../conf/velocity/facet_pivot.vm                   |   12 -
 .../conf/velocity/facet_queries.vm                 |   12 -
 .../conf/velocity/facet_ranges.vm                  |   23 -
 .../conf/velocity/facets.vm                        |   10 -
 .../conf/velocity/footer.vm                        |   43 -
 .../conf/velocity/head.vm                          |   37 -
 .../conf/velocity/header.vm                        |    7 -
 .../conf/velocity/hit.vm                           |   25 -
 .../conf/velocity/hit_grouped.vm                   |   43 -
 .../conf/velocity/hit_plain.vm                     |   25 -
 .../conf/velocity/join_doc.vm                      |   20 -
 .../conf/velocity/jquery.autocomplete.css          |   48 -
 .../conf/velocity/jquery.autocomplete.js           |  763 -----------
 .../conf/velocity/layout.vm                        |   24 -
 .../conf/velocity/main.css                         |  231 ----
 .../conf/velocity/mime_type_lists.vm               |   68 -
 .../conf/velocity/pagination_bottom.vm             |   22 -
 .../conf/velocity/pagination_top.vm                |   29 -
 .../conf/velocity/product_doc.vm                   |   32 -
 .../conf/velocity/query.vm                         |   42 -
 .../conf/velocity/query_form.vm                    |   64 -
 .../conf/velocity/query_group.vm                   |   43 -
 .../conf/velocity/query_spatial.vm                 |   75 --
 .../conf/velocity/results_list.vm                  |   22 -
 .../conf/velocity/richtext_doc.vm                  |  153 ---
 .../conf/velocity/suggest.vm                       |    8 -
 .../conf/velocity/tabs.vm                          |   50 -
 solr/solr-ref-guide/build.gradle                   |    3 -
 solr/solr-ref-guide/src/_config.yml.template       |    1 -
 solr/solr-ref-guide/src/libs.adoc                  |    2 -
 solr/solr-ref-guide/src/response-writers.adoc      |   10 +-
 solr/solr-ref-guide/src/searching.adoc             |    2 -
 .../src/velocity-response-writer.adoc              |  120 --
 solr/solr-ref-guide/src/velocity-search-ui.adoc    |   26 -
 .../client/solrj/request/CollectionApiMapping.java |   31 +-
 .../solrj/request/beans/ClusterPropInfo.java       |   72 +
 .../solr/common/params/DefaultSolrParams.java      |    2 +-
 .../apache/solr/common/util/JsonSchemaCreator.java |   14 +-
 .../java/org/apache/solr/common/util/Utils.java    |    2 +-
 .../src/resources/apispec/cluster.Commands.json    |  146 --
 .../apispec/cluster.commandstatus.delete.json      |   10 -
 .../resources/apispec/cluster.commandstatus.json   |   20 -
 solr/solrj/src/resources/apispec/cluster.json      |   14 -
 .../apache/solr/common/util/JsonValidatorTest.java |    8 -
 versions.lock                                      |    8 +-
 versions.props                                     |    2 -
 286 files changed, 6832 insertions(+), 18454 deletions(-)


[lucene] 06/11: more autowidth headers make sense

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 9bce93ab4f7db1fce06c39743484f600e4baa2e9
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Tue Sep 15 16:42:55 2020 -0400

    more autowidth headers make sense
---
 solr/solr-ref-guide/src/the-dismax-query-parser.adoc   | 3 +--
 solr/solr-ref-guide/src/the-standard-query-parser.adoc | 8 ++------
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/solr/solr-ref-guide/src/the-dismax-query-parser.adoc b/solr/solr-ref-guide/src/the-dismax-query-parser.adoc
index ce20bfc..a521663 100644
--- a/solr/solr-ref-guide/src/the-dismax-query-parser.adoc
+++ b/solr/solr-ref-guide/src/the-dismax-query-parser.adoc
@@ -64,8 +64,7 @@ When processing queries, Lucene/Solr recognizes three types of clauses: mandator
 
 The table below explains the various ways that mm values can be specified.
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
+// Keep manual column formatting
 [cols="30,10,60",options="header"]
 |===
 |Syntax |Example |Description
diff --git a/solr/solr-ref-guide/src/the-standard-query-parser.adoc b/solr/solr-ref-guide/src/the-standard-query-parser.adoc
index 2df5c9c..83bcf6c 100644
--- a/solr/solr-ref-guide/src/the-standard-query-parser.adoc
+++ b/solr/solr-ref-guide/src/the-standard-query-parser.adoc
@@ -111,9 +111,7 @@ Solr supports a variety of term modifiers that add flexibility or precision, as
 
 Solr's standard query parser supports single and multiple character wildcard searches within single terms. Wildcard characters can be applied to single terms, but not to search phrases.
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="30,20,50",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Wildcard Search Type |Special Character |Example
 |Single character (matches a single character) |? |The search string `te?t` would match both test and text.
@@ -240,9 +238,7 @@ The field is only valid for the term that it directly precedes, so the query `ti
 
 Boolean operators allow you to apply Boolean logic to queries, requiring the presence or absence of specific terms or conditions in fields in order to match documents. The table below summarizes the Boolean operators supported by the standard query parser.
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="20,40,40",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Boolean Operator |Alternative Symbol |Description
 |AND |`&&` |Requires both terms on either side of the Boolean operator to be present for a match.


[lucene] 07/11: trying out the default table structure instead of the autowidth.spread version

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit d579b9a08e0bc5fd5068261c0e768649d1ce2964
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Wed Sep 16 08:13:23 2020 -0400

    trying out the default table structure instead of the autowidth.spread version
---
 solr/solr-ref-guide/src/the-standard-query-parser.adoc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/solr/solr-ref-guide/src/the-standard-query-parser.adoc b/solr/solr-ref-guide/src/the-standard-query-parser.adoc
index 83bcf6c..f40a612 100644
--- a/solr/solr-ref-guide/src/the-standard-query-parser.adoc
+++ b/solr/solr-ref-guide/src/the-standard-query-parser.adoc
@@ -111,8 +111,9 @@ Solr supports a variety of term modifiers that add flexibility or precision, as
 
 Solr's standard query parser supports single and multiple character wildcard searches within single terms. Wildcard characters can be applied to single terms, but not to search phrases.
 
-[%autowidth.spread,width="100%",options="header"]
+
 |===
+
 |Wildcard Search Type |Special Character |Example
 |Single character (matches a single character) |? |The search string `te?t` would match both test and text.
 |Multiple characters (matches zero or more sequential characters) |* |The wildcard search: `tes*` would match test, testing, and tester. You can also use wildcard characters in the middle of a term. For example: `te*t` would match test and text. `*est` would match pest and test.
@@ -238,9 +239,9 @@ The field is only valid for the term that it directly precedes, so the query `ti
 
 Boolean operators allow you to apply Boolean logic to queries, requiring the presence or absence of specific terms or conditions in fields in order to match documents. The table below summarizes the Boolean operators supported by the standard query parser.
 
-[%autowidth.spread,width="100%",options="header"]
 |===
 |Boolean Operator |Alternative Symbol |Description
+
 |AND |`&&` |Requires both terms on either side of the Boolean operator to be present for a match.
 |NOT |`!` |Requires that the following term not be present.
 |OR |`\|\|` |Requires that either term (or both terms) be present for a match.


[lucene] 03/11: add autowidth headers where appropriate

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 0772057375d43d742b32b5a8aeb0b4757069f2f9
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Tue Sep 15 07:54:35 2020 -0400

    add autowidth headers where appropriate
---
 solr/solr-ref-guide/src/common-query-parameters.adoc       |  8 ++------
 solr/solr-ref-guide/src/defining-fields.adoc               |  4 +---
 .../src/field-type-definitions-and-properties.adoc         |  4 +---
 .../solr-ref-guide/src/field-types-included-with-solr.adoc |  4 +---
 solr/solr-ref-guide/src/other-parsers.adoc                 | 14 ++++----------
 solr/solr-ref-guide/src/overview-of-the-solr-admin-ui.adoc |  4 +---
 .../src/performance-statistics-reference.adoc              | 12 +++---------
 solr/solr-ref-guide/src/query-re-ranking.adoc              |  4 +---
 ...requesthandlers-and-searchcomponents-in-solrconfig.adoc |  4 +---
 9 files changed, 15 insertions(+), 43 deletions(-)

diff --git a/solr/solr-ref-guide/src/common-query-parameters.adoc b/solr/solr-ref-guide/src/common-query-parameters.adoc
index c101a8b..daa515f 100644
--- a/solr/solr-ref-guide/src/common-query-parameters.adoc
+++ b/solr/solr-ref-guide/src/common-query-parameters.adoc
@@ -45,9 +45,7 @@ In the case of primitive fields, or SortableTextFields, that are `multiValued="t
 
 The table below explains how Solr responds to various settings of the `sort` parameter.
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="30,70",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Example |Result
 | |If the sort parameter is omitted, sorting is performed as though the parameter were set to `score desc`.
@@ -117,9 +115,7 @@ The field list can be specified as a space-separated or comma-separated list of
 
 This table shows some basic examples of how to use `fl`:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="30,70",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Field List |Result
 |id name price |Return only the id, name, and price fields.
diff --git a/solr/solr-ref-guide/src/defining-fields.adoc b/solr/solr-ref-guide/src/defining-fields.adoc
index 5e6b839..f4ebed9 100644
--- a/solr/solr-ref-guide/src/defining-fields.adoc
+++ b/solr/solr-ref-guide/src/defining-fields.adoc
@@ -46,9 +46,7 @@ Fields can have many of the same properties as field types. Properties from the
 
 // TODO: SOLR-10655 BEGIN: refactor this into a 'field-default-properties.include.adoc' file for reuse
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="20,40,20,20",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Property |Description |Values |Implicit Default
 |indexed |If true, the value of the field can be used in queries to retrieve matching documents. |true or false |true
diff --git a/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc b/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc
index 487cd4c..754e853 100644
--- a/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc
+++ b/solr/solr-ref-guide/src/field-type-definitions-and-properties.adoc
@@ -120,9 +120,7 @@ The default values for each property depend on the underlying `FieldType` class,
 
 // TODO: SOLR-10655 BEGIN: refactor this into a 'field-default-properties.include.adoc' file for reuse
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="20,40,20,20",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Property |Description |Values |Implicit Default
 |indexed |If true, the value of the field can be used in queries to retrieve matching documents. |true or false |true
diff --git a/solr/solr-ref-guide/src/field-types-included-with-solr.adoc b/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
index 1e98d86..b9a236a 100644
--- a/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
+++ b/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
@@ -18,9 +18,7 @@
 
 The following table lists the field types that are available in Solr. The `org.apache.solr.schema` package includes all the classes listed in this table.
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="25,75",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Class |Description
 |BinaryField |Binary data.
diff --git a/solr/solr-ref-guide/src/other-parsers.adoc b/solr/solr-ref-guide/src/other-parsers.adoc
index 5395938..7a37394 100644
--- a/solr/solr-ref-guide/src/other-parsers.adoc
+++ b/solr/solr-ref-guide/src/other-parsers.adoc
@@ -237,7 +237,7 @@ Comma separated list of tags for excluding queries from parameters above. See ex
 {!bool filter=foo should=bar}
 ----
 
-Parameters might also be multivalue references. The former example above is equivlent to 
+Parameters might also be multivalue references. The former example above is equivlent to
 
 [source,text]
 ----
@@ -251,7 +251,7 @@ Referred queries might be excuded via tags. Overall the idea is similar to <<fac
 q={!bool must=$ref excludeTags=t2}&ref={!tag=t1}foo&ref={!tag=t2}bar
 ----
 
-Since the later query is excluded via `t2`, the resulting query is equivalent to 
+Since the later query is excluded via `t2`, the resulting query is equivalent to
 
 [source,text]
 ----
@@ -1082,8 +1082,6 @@ This parser takes the following parameters:
 q.operators::
 Comma-separated list of names of parsing operators to enable. By default, all operations are enabled, and this parameter can be used to effectively disable specific operators as needed, by excluding them from the list. Passing an empty string with this parameter disables all operators.
 +
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-+
 [cols="15,20,50,15",options="header"]
 |===
 |Name |Operator |Description |Example query
@@ -1262,9 +1260,7 @@ An optional parameter used to determine which of several query implementations s
 
 The {solr-javadocs}/solr-core/org/apache/solr/search/XmlQParserPlugin.html[XmlQParserPlugin] extends the {solr-javadocs}/solr-core/org/apache/solr/search/QParserPlugin.html[QParserPlugin] and supports the creation of queries from XML. Example:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="30,70",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Parameter |Value
 |defType |`xmlparser`
@@ -1294,9 +1290,7 @@ The {solr-javadocs}/solr-core/org/apache/solr/search/XmlQParserPlugin.html[XmlQP
 
 The XmlQParser implementation uses the {solr-javadocs}/solr-core/org/apache/solr/search/SolrCoreParser.html[SolrCoreParser] class which extends Lucene's {lucene-javadocs}/queryparser/org/apache/lucene/queryparser/xml/CoreParser.html[CoreParser] class. XML elements are mapped to {lucene-javadocs}/queryparser/org/apache/lucene/queryparser/xml/QueryBuilder.html[QueryBuilder] classes as follows:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[width="100%",cols="30,70",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |XML element |QueryBuilder class
 |<BooleanQuery> |{lucene-javadocs}/queryparser/org/apache/lucene/queryparser/xml/builders/BooleanQueryBuilder.html[BooleanQueryBuilder]
diff --git a/solr/solr-ref-guide/src/overview-of-the-solr-admin-ui.adoc b/solr/solr-ref-guide/src/overview-of-the-solr-admin-ui.adoc
index 5f8ca6a..3764a23 100644
--- a/solr/solr-ref-guide/src/overview-of-the-solr-admin-ui.adoc
+++ b/solr/solr-ref-guide/src/overview-of-the-solr-admin-ui.adoc
@@ -68,9 +68,7 @@ image::images/getting-assistance/Assistance.png[image]
 
 These icons include the following links.
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="25,75",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Link |Description
 |Documentation |Navigates to the Apache Solr documentation hosted on https://lucene.apache.org/solr/.
diff --git a/solr/solr-ref-guide/src/performance-statistics-reference.adoc b/solr/solr-ref-guide/src/performance-statistics-reference.adoc
index ed8bae0..2e0ecd0 100644
--- a/solr/solr-ref-guide/src/performance-statistics-reference.adoc
+++ b/solr/solr-ref-guide/src/performance-statistics-reference.adoc
@@ -50,9 +50,7 @@ To get request times, specifically, you can send an API request such as:
 * `\http://localhost:8983/solr/admin/metrics?group=core&prefix=UPDATE./update.requestTimes`
 *  `\http://localhost:8983/solr/admin/metrics?group=core&prefix=QUERY./select.requestTimes`
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="25,75",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Attribute |Description
 |15minRate |Requests per second received over the past 15 minutes.
@@ -118,9 +116,7 @@ You can get all update handler statistics shown in the table below with an API r
 
 The following describes the specific statistics you can get:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="40,60",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Attribute |Description
 |`UPDATE.updateHandler.adds` |Total number of “add” requests since last commit.
@@ -191,9 +187,7 @@ You can get the statistics shown in the table below with an API request such as
 
 The following statistics are available for each of the caches mentioned above:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="25,75",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Attribute |Description
 |cumulative_evictions |Number of cache evictions across all caches since this node has been running.
diff --git a/solr/solr-ref-guide/src/query-re-ranking.adoc b/solr/solr-ref-guide/src/query-re-ranking.adoc
index c3d59d1..cc2a711 100644
--- a/solr/solr-ref-guide/src/query-re-ranking.adoc
+++ b/solr/solr-ref-guide/src/query-re-ranking.adoc
@@ -27,9 +27,7 @@ A Ranking query can be specified using the `rq` request parameter. The `rq` para
 
 Three rank queries are currently included in the Solr distribution. You can also configure a custom {solr-javadocs}/solr-core/org/apache/solr/search/QParserPlugin.html[QParserPlugin] you have written, but most users can just use a parser provided with Solr.
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="30,70",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Parser |QParserPlugin class
 |rerank |{solr-javadocs}/solr-core/org/apache/solr/search/ReRankQParserPlugin.html[ReRankQParserPlugin]
diff --git a/solr/solr-ref-guide/src/requesthandlers-and-searchcomponents-in-solrconfig.adoc b/solr/solr-ref-guide/src/requesthandlers-and-searchcomponents-in-solrconfig.adoc
index 52e2788..c1cfc74 100644
--- a/solr/solr-ref-guide/src/requesthandlers-and-searchcomponents-in-solrconfig.adoc
+++ b/solr/solr-ref-guide/src/requesthandlers-and-searchcomponents-in-solrconfig.adoc
@@ -113,9 +113,7 @@ Search components define the logic that is used by the SearchHandler to perform
 
 There are several default search components that work with all SearchHandlers without any additional configuration. If no components are defined (with the exception of `first-components` and `last-components` - see below), these are executed by default, in the following order:
 
-// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
-
-[cols="20,40,40",options="header"]
+[%autowidth.spread,width="100%",options="header"]
 |===
 |Component Name |Class Name |More Information
 |query |`solr.QueryComponent` |Described in the section <<query-syntax-and-parsing.adoc#query-syntax-and-parsing,Query Syntax and Parsing>>.


[lucene] 05/11: mergin

Posted by dw...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch SOLR-14866
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 62486e8c51dd1b4b6eeeefde90a412a05719c6e1
Merge: c59f343 9b9b0a6
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Tue Sep 15 16:12:54 2020 -0400

    mergin

 dev-tools/scripts/buildAndPushRelease.py           | 33 +++-------
 dev-tools/scripts/releaseWizard.py                 | 23 +++----
 dev-tools/scripts/releaseWizard.yaml               | 73 +++++++++++-----------
 dev-tools/scripts/scriptutil.py                    | 11 ----
 lucene/CHANGES.txt                                 |  8 ++-
 .../java/org/apache/lucene/index/DocConsumer.java  | 36 -----------
 .../lucene/index/DocumentsWriterPerThread.java     | 38 +++--------
 ...efaultIndexingChain.java => IndexingChain.java} | 17 ++---
 .../apache/lucene/index/LiveIndexWriterConfig.java | 13 ----
 .../lucene/index/SortingStoredFieldsConsumer.java  |  5 +-
 .../org/apache/lucene/index/TestIndexWriter.java   |  2 +-
 .../apache/lucene/index/TestIndexWriterConfig.java | 17 -----
 .../lucene/index/TestIndexWriterWithThreads.java   |  2 +-
 .../org/apache/lucene/facet/TestDrillSideways.java | 18 ++++--
 .../lucene/facet/range/TestRangeFacetCounts.java   |  5 +-
 .../flexible/standard/TestQPHelper.java            |  8 +--
 .../org/apache/lucene/search/AssertingWeight.java  | 13 +++-
 lucene/version.properties                          | 10 +++
 solr/CHANGES.txt                                   |  5 +-
 solr/bin/solr                                      |  2 +-
 solr/bin/solr.cmd                                  |  2 +-
 solr/bin/solr.in.cmd                               |  2 +-
 solr/bin/solr.in.sh                                |  2 +-
 solr/docker/build.gradle                           |  2 +-
 .../src/field-types-included-with-solr.adoc        | 60 +++++++++++-------
 solr/solr-ref-guide/src/other-parsers.adoc         | 11 ++++
 .../src/stream-decorator-reference.adoc            |  6 +-
 27 files changed, 184 insertions(+), 240 deletions(-)

diff --cc solr/solr-ref-guide/src/field-types-included-with-solr.adoc
index b9a236a,11bd1c0..7675fd7
--- a/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
+++ b/solr/solr-ref-guide/src/field-types-included-with-solr.adoc
@@@ -16,11 -16,17 +16,13 @@@
  // specific language governing permissions and limitations
  // under the License.
  
- The following table lists the field types that are available in Solr. The `org.apache.solr.schema` package includes all the classes listed in this table.
+ The following table lists the field types that are available in Solr and are recommended. The page further down, lists all the deprecated types for those migrating from older version of Solr. The {solr-javadocs}/solr-core/org/apache/solr/schema/package-summary.html[`org.apache.solr.schema`] package includes all the classes listed in this table.
  
 -// TODO: Change column width to %autowidth.spread when https://github.com/asciidoctor/asciidoctor-pdf/issues/599 is fixed
 -
 -== Recommended field types
 -
 -[cols="25,75",options="header"]
 +[%autowidth.spread,width="100%",options="header"]
  |===
  |Class |Description
+ |BBoxField | Indexes a single rectangle (bounding box) per document field and supports searching via a bounding box. See the section <<spatial-search.adoc#spatial-search,Spatial Search>> for more information.
+ 
  |BinaryField |Binary data.
  
  |BoolField |Contains either true or false. Values of `1`, `t`, or `T` in the first character are interpreted as `true`. Any other values in the first character are interpreted as `false`.