just some lucene examples (github suggested repo name drunken-octo-batman, how can you not use that!)
everything is in one java file Main.java
-
how to load json file into the index using whitespace analyzer
-
- [explanation about IndexSearcher.search()](https://github.com/jackdoe/drunken-octo-batman/blob/master/src/main/java/no/Ma in.java#L141)
- search illustration without collector
- search without using lucene's search infrastructure, using only IndexReader
-
todo:
- term stats example
- similarity examples
- concurrent searches
-
how to run the thing: sh run.sh (will do cat data.txt | java, to index the json content of data.txt, the whole project requires maven and java 1.7