# 결과 레이아웃

### 개요

쿼리의 결과는, 아래와 같은 형태의 레이아웃으로 출력되며, 포맷은 json 입니다.

| 이름      | 내용       | 타입          | 비고                             |
| ------- | -------- | ----------- | ------------------------------ |
| success | 결과 성공 여부 | boolean     | true:성공, false:실패              |
| data    | 결과값      | json object | profile, exceptions, pods 로 구성 |

#### profile 구성

| 이름          | 내용             | 타입     | 비고 |
| ----------- | -------------- | ------ | -- |
| compile     | 컴파일 소요시간(ms)   | number |    |
| interpreter | 해석 소요시간(ms)    | number |    |
| pods        | 결과 처리 소요시간(ms) | number |    |
| total       | 전체 소요시간 합계(ms) | number |    |

#### exceptions 구성

* 예외 항목 리스트를 array로 리턴

#### pods

* 사용자가 입력한 쿼리에 대한 해석 결과 및 출력 결과를 array 로 리턴
* pods 구성은 아래와 같다.

| 항목       | 내용            | 타입          | 비고                                 |
| -------- | ------------- | ----------- | ---------------------------------- |
| class    | pods 의 클래스 타입 | string      | Input, Result:DocumentSearchResult |
| position | position      | number      |                                    |
| title    | 제목            | string      |                                    |
| content  | 내용            | json object | pods 의 클래스에 따른 결과 항목               |
| subpods  | 부가 정보         | array       | 부가정보가 담긴 pod 배열을 결과로 리턴한다.         |

## Pod Class 별 결과 레이아웃

###
