tarzanek / luke Goto Github PK
View Code? Open in Web Editor NEWPlease use the luke bundled with lucene! This repo is archived and frozen now.
Please use the luke bundled with lucene! This repo is archived and frozen now.
luke ==== fork of http://luke.googlecode.com/svn/ to support 6.x, 5.x lucene (and maybe all newer) and elastic search indices fixes are usually quick and dirty, so need review I just fix what I use (e.g. no hadoop updates, ... ) I am using Netbeans (latest) + latest JDK8 (Suns/Oracles) from nb I can run compile & then I run target "dist" on top of build.xml to get the binaries built NOTE: dependency jars get downloaded upon FIRST build (so repo doesn't ship them anymore, but they get fetched from maven repos using ant)
running ant
on 8b8027c I get:
Buildfile: /workspaces/luke/build.xml
clean:
-check-lucene:
download-lucene:
BUILD FAILED
/workspaces/luke/build.xml:98: Directory does not exist: /workspaces/luke/lib/solr
Total time: 0 seconds
[javac] Compiling 53 source files to /Users/henrysetiawan/Downloads/lukegit-master/build
[javac] /Users/henrysetiawan/Downloads/lukegit-master/src/org/getopt/luke/KeepLastIndexDeletionPolicy.java:16: unreported exception java.io.IOException; must be caught or declared to be thrown
[javac] onCommit(commits);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
Downloaded "lukeall-5.3.0.jar" from "https://java.net/projects/opengrok/downloads." Ran the following command "java -cp lukeall-5.3.0.jar org.getopt.luke.Luke." When prompted I attempted to open an ElasticSearch index and received the following:
java.lang.NoClassDefFoundError: org/apache/lucene/index/FilterAtomicReader$Filte
rTerms
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.elasticsearch.index.codec.postingsformat.BloomFilterPostingsForma
t.fieldsProducer(BloomFilterPostingsFormat.java:99)
.
.
.
It appears that the class "FilterAtomicReader" has been removed from "lucene-core-5.3.0.jar." To get it run, I copied over the classes "FilterAtomicReader" and "AtomicReader" from "lucene-core-4.10.4.jar" into "lucene-core-5.3.0.jar."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.