Modify the Length of a Document Summary

Find generates document summaries for the results that it returns in queries to give users a quick idea of what each document is about. By default, Find uses a maximum summary length of 250 characters (where a character is a single byte). This value is generally suitable for producing summaries for English and most European languages.

You might need to increase the summary length if you have documents in multibyte languages, such as Chinese, Japanese, Korean, and Thai.

For example, if you want to generate summaries for Thai text, you might increase the maximum summary length to 750, because each Thai text character corresponds to three UTF-8 bytes.

To change the document summary length

  1. Go to the Find home directory.
  2. Open config.json in a text editor.
  3. Find or add the documentSummaryMaxLength property, and set it to the maximum length to use. This value must be an integer.

    "documentSummaryMaxLength": 750
  4. Save the file, and then restart Find to apply your configuration changes.