Skip to content

Commit

Permalink
Document for search query is not updated properly (Fix for apache#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
navis committed Mar 16, 2016
1 parent b2b62a7 commit 71ee9e2
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/content/querying/searchquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ There are several main parts to a search query:
|searchDimensions|The dimensions to run the search over. Excluding this means the search is run over all dimensions.|no|
|query|See [SearchQuerySpec](../querying/searchqueryspec.html).|yes|
|sort|An object specifying how the results of the search should be sorted. Two possible types here are "lexicographic" (the default sort) and "strlen".|no|
|computeCount|Include appearance count of each value in result. False by default.|no|
|context|See [Context](../querying/query-context.html)|no|

The format of the result is:
Expand All @@ -51,11 +50,13 @@ The format of the result is:
"result": [
{
"dimension": "dim1",
"value": "Ke$ha"
"value": "Ke$ha",
"count": 3
},
{
"dimension": "dim2",
"value": "Ke$haForPresident"
"value": "Ke$haForPresident",
"count": 1
}
]
},
Expand All @@ -64,11 +65,13 @@ The format of the result is:
"result": [
{
"dimension": "dim1",
"value": "SomethingThatContainsKe"
"value": "SomethingThatContainsKe",
"count": 1
},
{
"dimension": "dim2",
"value": "SomethingElseThatContainsKe"
"value": "SomethingElseThatContainsKe",
"count": 2
}
]
}
Expand Down

0 comments on commit 71ee9e2

Please sign in to comment.