mirror of https://github.com/apache/druid.git
fix search doc links and code
This commit is contained in:
parent
51c0393455
commit
40af9df0d4
|
@ -3,7 +3,8 @@ layout: doc_page
|
|||
---
|
||||
A search query returns dimension values that match the search specification.
|
||||
|
||||
<code>{
|
||||
```json
|
||||
{
|
||||
"queryType": "search",
|
||||
"dataSource": "sample_datasource",
|
||||
"granularity": "day",
|
||||
|
@ -21,8 +22,8 @@ A search query returns dimension values that match the search specification.
|
|||
"intervals": [
|
||||
"2013-01-01T00:00:00.000/2013-01-03T00:00:00.000"
|
||||
]
|
||||
}
|
||||
</code>
|
||||
}
|
||||
```
|
||||
|
||||
There are several main parts to a search query:
|
||||
|
||||
|
@ -40,7 +41,8 @@ There are several main parts to a search query:
|
|||
|
||||
The format of the result is:
|
||||
|
||||
<code>[
|
||||
```json
|
||||
[
|
||||
{
|
||||
"timestamp": "2012-01-01T00:00:00.000Z",
|
||||
"result": [
|
||||
|
@ -67,5 +69,5 @@ The format of the result is:
|
|||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
</code>
|
||||
]
|
||||
```
|
||||
|
|
|
@ -40,7 +40,7 @@ h2. Querying
|
|||
** "GroupByQuery":./GroupByQuery.html
|
||||
*** "OrderBy":./OrderBy.html
|
||||
*** "Having":./Having.html
|
||||
** "SearchQuery":./Having.html
|
||||
** "SearchQuery":./SearchQuery.html
|
||||
*** "SearchQuerySpec":./SearchQuerySpec.html
|
||||
** "SegmentMetadataQuery":./SegmentMetadataQuery.html
|
||||
** "TimeBoundaryQuery":./TimeBoundaryQuery.html
|
||||
|
|
Loading…
Reference in New Issue