Skip to content

Instantly share code, notes, and snippets.

@luketn
Forked from vladak/lucene-luke.md
Last active April 28, 2025 22:28
Show Gist options
  • Save luketn/c9b7ffbde6a752548f8202705497a000 to your computer and use it in GitHub Desktop.
Save luketn/c9b7ffbde6a752548f8202705497a000 to your computer and use it in GitHub Desktop.
How to run Luke

Lucene has Luke built in - to run it from the code I use this command:

git clone https://github.com/apache/lucene.git Lucene
cd Lucene
./gradlew assemble
java -cp './lucene/luke/build/lucene-luke-11.0.0-SNAPSHOT/*' \
    -Xmx1024m -Xms512m -XX:MaxMetaspaceSize=256m org.apache.lucene.luke.app.desktop.LukeMain

or download it from https://lucene.apache.org/core/downloads.html and run bin/luke.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment