SearchPassage
    • PDF

    SearchPassage

    • PDF

    Article Summary

    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

    FieldRequiredTypeLimitationsDescription
    section_nameYStringSelect among sections previously created.Section to display as the result
    passage_typeNStringnone, classicPassage extraction method
  • none: It reads the start of a section first.
  • classic: It reads the text surrounding the query indexes in a section.
  • passage_optionNStringPassage extraction option (not available for CBT)
    max_lengthNIntegerPassage extraction length

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.