mirror of
https://github.com/apache/lucene.git
synced 2025-02-08 19:15:06 +00:00
SOLR-12827: remove monospace in headings; correct formatting for heading level indicator; remove redundant "Example #" in the example titles
This commit is contained in:
parent
b72f05dac6
commit
16ee847663
@ -1208,13 +1208,11 @@ http://localhost:8983/solr/admin/collections?action=CLUSTERPROP&name=urlScheme&v
|
|||||||
</response>
|
</response>
|
||||||
----
|
----
|
||||||
|
|
||||||
=== Deeply Nested Cluster Properties ===
|
=== Setting Cluster-Wide Defaults
|
||||||
|
|
||||||
==== `defaults` ====
|
It is possible to set cluster-wide default values for certain attributes of a collection, using the `defaults` parameter.
|
||||||
It is possible to set cluster-wide default values for certain attributes of a collection.
|
|
||||||
|
|
||||||
|
*Set/update default values*
|
||||||
*Example 1: Set/update default values*
|
|
||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
curl -X POST -H 'Content-type:application/json' --data-binary '
|
curl -X POST -H 'Content-type:application/json' --data-binary '
|
||||||
@ -1232,7 +1230,7 @@ curl -X POST -H 'Content-type:application/json' --data-binary '
|
|||||||
}' http://localhost:8983/api/cluster
|
}' http://localhost:8983/api/cluster
|
||||||
----
|
----
|
||||||
|
|
||||||
*Example 2: Unset the value of `nrtReplicas` alone*
|
*Unset the only value of `nrtReplicas`*
|
||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
curl -X POST -H 'Content-type:application/json' --data-binary '
|
curl -X POST -H 'Content-type:application/json' --data-binary '
|
||||||
@ -1247,7 +1245,7 @@ curl -X POST -H 'Content-type:application/json' --data-binary '
|
|||||||
}' http://localhost:8983/api/cluster
|
}' http://localhost:8983/api/cluster
|
||||||
----
|
----
|
||||||
|
|
||||||
*Example 2: Unset all values in `defaults`*
|
*Unset all values in `defaults`*
|
||||||
[source]
|
[source]
|
||||||
----
|
----
|
||||||
curl -X POST -H 'Content-type:application/json' --data-binary '
|
curl -X POST -H 'Content-type:application/json' --data-binary '
|
||||||
@ -1256,10 +1254,10 @@ curl -X POST -H 'Content-type:application/json' --data-binary '
|
|||||||
}' http://localhost:8983/api/cluster
|
}' http://localhost:8983/api/cluster
|
||||||
----
|
----
|
||||||
|
|
||||||
NOTE: Until Solr 7.5, cluster properties supported a "collectionDefaults" key which is now deprecated. Using the API
|
NOTE: Until Solr 7.5, cluster properties supported a `collectionDefaults` key which is now deprecated and
|
||||||
structure for Solr 7.4 or Solr 7.5 with "collectionDefaults" will continue to work but the format of the properties
|
replaced with `defaults`. Using the `collectionDefaults` parameter in Solr 7.4 or 7.5 will continue to work
|
||||||
will automatically be converted to the new nested structure. Support for the "collectionDefaults" key will be
|
but the format of the properties will automatically be converted to the new nested structure.
|
||||||
removed in Solr 9.
|
Support for the "collectionDefaults" key will be removed in Solr 9.
|
||||||
|
|
||||||
[[collectionprop]]
|
[[collectionprop]]
|
||||||
== COLLECTIONPROP: Collection Properties
|
== COLLECTIONPROP: Collection Properties
|
||||||
|
Loading…
x
Reference in New Issue
Block a user