Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.42 KB

env-vars.md

File metadata and controls

21 lines (15 loc) · 1.42 KB

Environment Variables

Build-time

Functionality

  • LMGREP_FEATURE_SNOWBALL: add a bunch of snowball based token filters, default true.
  • LMGREP_FEATURE_BUNDLED_ANALYZERS: adds a bunch of predefined Lucene analyzers, default true.
  • LMGREP_FEATURE_CHARSETS: add all charsets to the native image, default true.
  • LMGREP_FEATURE_STEMPEL: add Stempel token filter for the Polish language, default true.
  • LMGREP_FEATURE_RAUDIKKO: add Raudikko token Filter for the Finnish language, default false.

Environment variables that specify what binary should be built

  • LMGREP_STATIC: true instructs GraalVM native-image tool to build a statically linked binary, only for Linux.
  • LMGREP_MUSL: instructs GraalVM native-image to statically link against musl-libc, only for Linux.
  • LMGREP_FEATURE_EPSILON_GC: use Epsilon GC in the binary.
  • LMGREP_DEV_BUILD: a quick build mode for Native Image (only for versions 22.1.0+).

Runtime

  • DEBUG_MODE: when true then on error prints full stack trace, default false.