Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 09d7265

Browse files
committed
Remove analyzer in URL, update snippet
1 parent 4f6b6a8 commit 09d7265

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

070_Index_Mgmt/15_Configure_Analyzer.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ specify the index name:
5353

5454
[source,js]
5555
--------------------------------------------------
56-
GET /spanish_docs/_analyze?analyzer=es_std
56+
GET /spanish_docs/_analyze
5757
{
58+
"analyzer": "es_std",
5859
"text":"El veloz zorro marrón"
5960
}
6061
--------------------------------------------------
@@ -73,4 +74,3 @@ removed correctly:
7374
]
7475
}
7576
--------------------------------------------------
76-

snippets/070_Index_Mgmt/15_Configure_Analyzer.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ PUT /spanish_docs
1717
}
1818

1919
# Test out the new analyzer
20-
GET /spanish_docs/_analyze?analyzer=es_std&text=El veloz zorro marrón
21-
20+
GET /spanish_docs/_analyze
21+
{
22+
"analyzer": "es_std",
23+
"text":"El veloz zorro marrón"
24+
}

0 commit comments

Comments
 (0)