Skip to content

Commit

Permalink
set vectorization version for Lucene
Browse files Browse the repository at this point in the history
  • Loading branch information
rjernst committed Mar 4, 2025
1 parent 61e6bc7 commit 4dcba68
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ static List<String> systemJvmOptions(Settings nodeSettings, final Map<String, St
"-Dlog4j2.disable.jmx=true",
"-Dlog4j2.formatMsgNoLookups=true",
"-Djava.locale.providers=CLDR",
// Enable vectorization for whatever version we are running. This ensures we use vectorization even when running EA builds.
"-Dorg.apache.lucene.vectorization.upperJavaFeatureVersion=" + Runtime.version().feature(),
// Pass through distribution type
"-Des.distribution.type=" + distroType
),
Expand Down

0 comments on commit 4dcba68

Please sign in to comment.