mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
[DOCS] Fixed formatting of Example headings. (#33038)
This commit is contained in:
parent
8b43e21521
commit
15727ae8ed
@ -26,7 +26,7 @@ The only variable that is available is `params`, which can be used to access use
|
||||
The result of the script is always converted to a string.
|
||||
If no context is specified then this context is used by default.
|
||||
|
||||
====== Example
|
||||
*Example*
|
||||
|
||||
Request:
|
||||
|
||||
@ -67,7 +67,7 @@ The following parameters may be specified in `context_setup` for a filter contex
|
||||
document:: Contains the document that will be temporarily indexed in-memory and is accessible from the script.
|
||||
index:: The name of an index containing a mapping that is compatable with the document being indexed.
|
||||
|
||||
====== Example
|
||||
*Example*
|
||||
|
||||
[source,js]
|
||||
----------------------------------------------------------------
|
||||
@ -125,7 +125,7 @@ document:: Contains the document that will be temporarily indexed in-memory and
|
||||
index:: The name of an index containing a mapping that is compatable with the document being indexed.
|
||||
query:: If `_score` is used in the script then a query can specified that will be used to compute a score.
|
||||
|
||||
====== Example
|
||||
*Example*
|
||||
|
||||
[source,js]
|
||||
----------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user