SearchPassage
- Print
- PDF
SearchPassage
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Description
Extraction method settings of search results
Syntax
private String section_name;
private String passage_type;
private String passage_option
private Integer max_length;
Example
{
"search": {
"content": {
"main": {
"query": "weather"
}
}
},
"passage": {
"TITLE": {
"passage_type": "classic",
"passage_option": "mspcnt=1;rmtag=on;",
"max_length": 400
},
"TITLE+BODY": {
"passage_type": "classic",
"passage_option": "mspcnt=1;rmtag=on;",
"max_length": 500
}
}
}
Field
Field | Required | Type | Limitations | Description |
---|---|---|---|---|
section_name | Y | String | Select among sections previously created. | Section to display as the result |
passage_type | N | String | none, classic | Passage extraction method |
passage_option | N | String | Passage extraction option (not available for CBT) | |
max_length | N | Integer | Passage extraction length |
Was this article helpful?