SearchQuery
    • PDF

    SearchQuery

    • PDF

    Article summary

    Available in Classic

    This is the search query information.

    Syntax

    The syntax is as follows.

    private String query_method;
    private String query;
    private String stopword;
    private String name;
    private String type;
    private String option;
    private String ratio;
    private String term_extractor;
    

    Field

    The following describes the fields.

    FieldTypeRequiredDescription
    query_methodStringRequiredSet search method
    • main | intersection | scope | exclusion | rerank
      • main: Must be present in the search request, where "main query" performs a union operation on the search result set
      • intersection: Perform an intersection operation on the search result set of "main query" and the result set obtained with "intersection query"
      • scope: "scope query" has the same effect as "intersection query", but does not participate in the document query score (QDS)
      • exclusion: "exclusion query" is the result of a subset operation of the search results of "main, intersection, scope query" and the search results obtained by "exclusion query"
      • rerank: "rerank query" does not affect search results, but is used to change the qds value. Available query types include simbst and proxrank
    queryStringOptionalContent to search
    • Can be omitted if type is null
    stopwordStringOptionalSpecify a stopword policy
    nameStringOptionalSpecify the format of search results
    • json (default) | xml
    • Currently only json type can be set
    typeStringOptionalSpecify the search type
    • oneterm: When there is a single word, find documents containing that word
    • nterm: When there are multiple words, find documents containing those words (can use the "option" parameter)
    • nofm: Find documents that contain at least a percentage given by the "ratio" parameter among all words
    • ebool: Find documents that satisfy a combination of boolean operators (and, or)
    • simbst: Among the found documents, those containing the query words will raise the qds by the value given by the "ratio" parameter (used with the "rerank" search type and the "ratio" parameter)
    • proxrank: Calculate proximity (used with the "rerank" search type)
    • null: Search the entire document with an empty query
    optionStringOptionalSpecify options of the query type
    • and | or
      • and: Search for documents containing all given words
      • or: Search for documents that contain any of the given words
    ratioString, DoubleOptionalSpecify the percentage of a specific query type (used when nofm, simbst type)
    • 0 - 1
    term_extractorStringOptionalSpecify how search query terms are extracted
    • Currently unchangeable (Korean only)

    Was this article helpful?

    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.