|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.index.lucene.LuceneSearcher
public class LuceneSearcher
The central interface to all searching. Functionality the I envisage includes:
The GNU Lesser General Public License for details.| Field Summary | |
|---|---|
private Index |
index
The index |
| Constructor Summary | |
|---|---|
LuceneSearcher()
|
|
| Method Summary | |
|---|---|
protected Index |
getIndex()
Accessor for the Bible to search. |
void |
init(Index newindex)
Setup the index that this parser can use to do word level searches |
Key |
search(Query query)
Take a search request and decipher it into a Passage. |
Key |
search(SearchRequest request)
Take a search request and decipher it into a Passage. |
Key |
search(String request)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Index index
| Constructor Detail |
|---|
public LuceneSearcher()
| Method Detail |
|---|
public void init(Index newindex)
Searcher
init in interface Searchernewindex - The Index to query for words
public Key search(String request)
throws BookException
BookException
public Key search(SearchRequest request)
throws BookException
Searcher
search in interface Searcherrequest - The request
BookException
public Key search(Query query)
throws BookException
Searcher
search in interface Searcherquery - The request
BookExceptionprotected Index getIndex()
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||