lucene 튜토리얼

Elastic/Elasticsearch 2013. 1. 22. 18:56

lucene 튜토리얼(추천)
참조 사이트 : http://www.lucenetutorial.com/lucene-in-5-minutes.html

1. https://github.com/macluq/helloLucene에서 HelloLucene-mastsr.zip을 다운로드 받는다.
2. 압축을 해제 한다.
3. 마우스 오른쪽 버튼 -> import -> existing Maven Projects
4. Maven install
5. /src/main/java/HelloLucene/HelloLucene.java 마우스 오른쪽 버튼 Run As > Java Application을 실행

lucene라이브러리를 사용하여 아래의 과정을 보여줌으로써 기본적인 개념을 잡을 수 있도록 도와줌
1. create the index
2. query
3. search
4. display results

: