Controlling attachment indexing on servers

Use the notes.ini setting FT_INDEX_ATTACHMENTS on a server to control full-text indexing of attachments for all databases on a server.

About this task

By default, full-text indexing of attachments is controlled through database properties. The following options allow you to specify a uniform behavior for all databases on a server.
Option Description
FT_INDEX_ATTACHMENTS=1 Index all attachments without conversion filters. This method is fast but less reliable. This method works well for ASCII text files or file formats that contain mostly ASCII text. For other file formats, use of this option can cause unexpected or inaccurate search results for these reasons:
  • Characters outside of the ASCII range are excluded from full-text indexing.
  • There is no parsing of structured data, so, for example, indexing an HTML attachment also indexes structural elements in addition to ASCII text.
  • ASCII text tokens are extracted from binary file attachments which can give unexpected search results.
FT_INDEX_ATTACHMENTS=2 Do not full-text index attachments.
FT_INDEX_ATTACHMENTS=3 Index all attachments using conversion filters. For more information, see Attachment full-text indexing with conversion filters
DEBUG_FT_TIKA_ENABLE_EXTENDED_STATS=1 Enable statistics for full-text indexing of attachments for a given database.
The statistics for the following information will display on the server console:
  • Total count of attachments processed
  • Total count processed per attachment type
  • Average download speed from Tika
  • Average attachment transfer speed to Tika
  • Larger attachment transfer time to Tika
  • Total failed attachment processing by Tika
  • Peak download speed from Tika
  • Largest attachment file size
  • Largest attachment noteid processed
Note: These statistics are displayed per database; they do not persist.