Contents of this repo:
plugin
- Contains code for a plugin for highlighting span queries, giving back word positions instead of words when highlighting.
analyzers
- Contains stems.txt
needed to translate words to lemgrams in analyzers
- Check plugin pom.xml to see current ES version needed, download and extract
- Move
analyzers/stems.txt
to <elasticsearch_dir>/config/ - Build plugin
cd plugin mvn install
- Unpack
plugin/target/releases/*.zip
and move containing folder to <elasticsearch_dir>/plugins/ - Recommmended settings to att to
elasticsearch.yml
is:http.max_content_length: 1000mb indices.memory.index_buffer_size: 13%