|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.book.search.lucene.IndexSearcher
public class IndexSearcher
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 | |
---|---|
IndexSearcher()
|
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 |
protected Key |
search(List matches)
Take a search string and decipher it into a Key. |
Key |
search(SearchRequest request)
Take a search request and decipher it into a Passage. |
Key |
search(String request)
Take a search request and decipher it into a Passage. |
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 IndexSearcher()
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
Searcher
search
in interface Searcher
request
- The request
BookException
public Key search(SearchRequest request) throws BookException
Searcher
search
in interface Searcher
request
- The request
BookException
protected Key search(List matches) throws BookException
BookException
protected Index getIndex()
|
Copyright ยจ 2003-2005 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |