public class LuceneSearcher extends Object implements Searcher
The GNU Lesser General Public License for details.| Constructor and Description |
|---|
LuceneSearcher() |
| Modifier and Type | Method and Description |
|---|---|
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) |
private Index index
public void init(Index newindex)
Searcherpublic Key search(String request) throws BookException
BookExceptionpublic Key search(SearchRequest request) throws BookException
Searchersearch in interface Searcherrequest - The requestBookExceptionpublic Key search(Query query) throws BookException
Searchersearch in interface Searcherquery - The requestBookExceptionprotected Index getIndex()