SOLR-13633: fix typos in analytics documentation

This commit is contained in:
Munendra S N 2019-07-29 09:28:28 +05:30
parent ca4cd3c7d3
commit 691b095066
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ Next you need to enable the request handler and search component. Add the follow
<searchComponent name="analytics" class="org.apache.solr.handler.component.AnalyticsComponent" />
<requestHandler name="/select" class="solr.SearchHandler">
<arr name="last_components">
<arr name="last-components">
<str>analytics</str>
</arr>
</requestHandler>
@ -68,7 +68,7 @@ For example, this curl command encodes and POSTs a simple analytics request to t
[source,bash]
----
curl --data-urlencode 'analytics={
curl --data-binary 'analytics={
"expressions" : {
"revenue" : "sum(mult(price,quantity))"
}