SearchSetting

Prev Next

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.

Field Type Required Description
transfer_timeout String, Integer Optional Transfer timeout
search_timeout String, Integer Optional Search timeout
ranking_value String, Boolean Optional Whether to display ranking variable values in results
  • true (default) | false
use_df String, Boolean Optional Whether to use the idf value
  • true | false
reuse_term_extractor String, Boolean Optional Save 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
  }
}