fix search doc links and code

This commit is contained in:
Xavier Léauté 2013-11-22 15:53:39 -08:00
parent 51c0393455
commit 40af9df0d4
2 changed files with 47 additions and 45 deletions

View File

@ -3,7 +3,8 @@ layout: doc_page
--- ---
A search query returns dimension values that match the search specification. A search query returns dimension values that match the search specification.
<code>{ ```json
{
"queryType": "search", "queryType": "search",
"dataSource": "sample_datasource", "dataSource": "sample_datasource",
"granularity": "day", "granularity": "day",
@ -22,7 +23,7 @@ A search query returns dimension values that match the search specification.
"2013-01-01T00:00:00.000/2013-01-03T00:00:00.000" "2013-01-01T00:00:00.000/2013-01-03T00:00:00.000"
] ]
} }
</code> ```
There are several main parts to a search query: 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: The format of the result is:
<code>[ ```json
[
{ {
"timestamp": "2012-01-01T00:00:00.000Z", "timestamp": "2012-01-01T00:00:00.000Z",
"result": [ "result": [
@ -68,4 +70,4 @@ The format of the result is:
] ]
} }
] ]
</code> ```

View File

@ -40,7 +40,7 @@ h2. Querying
** "GroupByQuery":./GroupByQuery.html ** "GroupByQuery":./GroupByQuery.html
*** "OrderBy":./OrderBy.html *** "OrderBy":./OrderBy.html
*** "Having":./Having.html *** "Having":./Having.html
** "SearchQuery":./Having.html ** "SearchQuery":./SearchQuery.html
*** "SearchQuerySpec":./SearchQuerySpec.html *** "SearchQuerySpec":./SearchQuerySpec.html
** "SegmentMetadataQuery":./SegmentMetadataQuery.html ** "SegmentMetadataQuery":./SegmentMetadataQuery.html
** "TimeBoundaryQuery":./TimeBoundaryQuery.html ** "TimeBoundaryQuery":./TimeBoundaryQuery.html