mirror of https://github.com/apache/druid.git
Document for search query is not updated properly (Fix for #2662)
This commit is contained in:
parent
b2b62a723f
commit
71ee9e2aac
|
@ -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:
|
||||
|
@ -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
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue