|
||||||||||
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 invisage includes:
for license details.
The copyright to this program is held by it's authors.
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 Searcher
newindex
- The Index to query for wordspublic Key search(String request) throws BookException
BookException
public Key search(SearchRequest request) throws BookException
Searcher
search
in interface Searcher
request
- The request
BookException
public Key search(Query query) throws BookException
Searcher
search
in interface Searcher
query
- The request
BookException
protected Index getIndex()
|
Copyright ยจ 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |