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)
Searcher
public Key search(String request) throws BookException
BookException
public Key search(SearchRequest request) throws BookException
Searcher
search
in interface Searcher
request
- The requestBookException
public Key search(Query query) throws BookException
Searcher
search
in interface Searcher
query
- The requestBookException
protected Index getIndex()