SearchSetting
    • PDF

    SearchSetting

    • PDF

    Article summary

    Available in Classic

    These are other preferences for searching.

    Syntax

    The syntax is as follows.

    private String transfer_timeout;
    private String search_timeout;
    private String ranking_value;
    private String use_df;
    private String reuse_term_extractor;
    

    Field

    The following describes the fields.

    FieldTypeRequiredDescription
    transfer_timeoutString, IntegerOptionalTransfer timeout
    search_timeoutString, IntegerOptionalSearch timeout
    ranking_valueString, BooleanOptionalWhether to display ranking variable values in results
    • true (default) | false
    use_dfString, BooleanOptionalWhether to use the idf value
    • true | false
    reuse_term_extractorString, BooleanOptionalSave the term analyzer created by the term_extractor option to the server
    • true | false
      • true: Store term analyzer created at runtime with the term_extractor option on the server for use in subsequent requests (up to 50 total)
      • false: Term analyzer created at runtime with the term_extractor option is used once and then discarded. Default setting
    • This option does not affect search results, but does affect performance. If you plan to use the term_extractor option to create search queries, make sure to turn it on before you start receiving real traffic. However, when testing, you should test with the term analyzer turned off because the number can exceed the maximum number of 50

    Examples

    The following is a sample search request.

    {
        ...,
      "setting": {
        "transfer_timeout": 30,
        "search_timeout": 30,
        "ranking_value": true,
        "use_df": true,
        "reuse_term_extractor": true
      }
    }
    

    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.