Thông tin tài liệu
Lucene in 5 mins 1. INDEX Create an in-memory index from some strings addDoc() is what actually adds documents to the index 2. QUERY read the query from stdin, parse it and build a lucene Query out of it. 3. SEARCH Create a Searcher to search the index a TopScoreDocCollector is instantiated to collect top 10 scoring hits 4. DISPLAY Display the result [...]...END https://dl.dropboxusercontent.com/u/23401178/HelloLucene.java . Lucene in 5 mins 1. INDEX Create an in- memory index from some strings addDoc() is what actually adds documents to the index 2. QUERY read the query from stdin, parse it and build a lucene. Searcher to search the index a TopScoreDocCollector is instantiated to collect top 10 scoring hits 4. DISPLAY Display the result END https://dl.dropboxusercontent.com/u/23401178/HelloLucene.java
Ngày đăng: 02/07/2014, 14:12
Xem thêm: Lucene in 5 minutes Course Project