Skip to content

Instantly share code, notes, and snippets.

View krzynio's full-sized avatar

Krzysztof Koziarek krzynio

  • Warsaw
View GitHub Profile
Works in Solr 5.3.0, Lucene 5.3.0
Refer to Solr 101 gist to get solr working https://gist.github.com/pslusarz/7de913ac63e36e8983b8#file-gistfile1-txt
1. download lucene and copy the following jars into SOLR_ROOT/server/solr-webapp/WEB-INF/lib
- lucene-analyzers-morfologik-X.X.jar,
- apache-solr-analysis-extras-X.X.jar (not in lucene, but in solr/dist)
- morfologik-fsa-X.X.jar,
- morfologik-polish-X.X.jar
- morfologik-stemming-X.X.jar
2. modify SOLR_ROOT/server/solr/<core>/conf/managed-schema.xml
a) field type definition
@krzynio
krzynio / gist:a47629492b972b96c6b02dc41b694341
Created January 23, 2024 10:34
Morfeusz on ARM / aarch64 - Dockerfile
# Use Ubuntu 20.04 as the base image
FROM ubuntu:20.04
# Set maintainer label
LABEL maintainer="your-email@example.com"
# Set environment variables for non-interactive mode
ENV DEBIAN_FRONTEND=noninteractive \
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8

Keybase proof

I hereby claim:

  • I am krzynio on github.
  • I am krzynio (https://keybase.io/krzynio) on keybase.
  • I have a public key whose fingerprint is 3BD8 6592 5432 7A09 E913 A684 7710 636D AB2C 0CC1

To claim this, I am signing this object: