ftsPreprocessor top-level constant

String const ftsPreprocessor

The version of the library-defined ftsTerm and ftsText preprocessors.

This version string is used as the default preprocessor identifier value for the SearchIndex.preprocessor property. Changes to the ftsTerm or ftsText functions that make either or both produce different outputs than before are accompanied by a change to this string so that search indexes can be rebuilt automatically by the migration procedure. If an application uses a custom preprocessor for a search index, the application should maintain its own preprocessor version string and pass it to SearchIndex.new. If a custom preprocessor depends on the ftsTerm/ftsText implementation, a custom version string should embed this constant.

Implementation

const String ftsPreprocessor = "json_sqlite ftsTerm/ftsText v1";