Elasticsearch 8.17.0
Compatible with FreeBSD 14.2 x64 using the NativeAccess
implementation.
To build this release:
gradle distribution:archives:freebsd-tar:assemble -D"build.snapshot=false"
The vector library needs to be compiled separately (optional):
# relative to the repo root:
cd libs/simdvec/native/src/vec
clang -shared -fpic -o libvec.so -I headers/ c/amd64/vec.c -O3 -march=core-avx2 -Wno-incompatible-pointer-types
cp libvec.so /usr/local/lib/
Lastly, add the following to /usr/local/etc/elasticsearch/jvm.options
:
-Des.nativelibs.path=/usr/local/lib
# Uncomment this if you wish to disable the vector library:
#-Dorg.elasticsearch.nativeaccess.enableVectorLibrary=false