Package | Description |
---|---|
org.crosswire.jsword.index.lucene |
An implementation of an Index using Lucene.
|
org.crosswire.jsword.index.query |
The Query package provides JSword with the ability to construct a search request against an Index.
|
org.crosswire.jsword.index.search |
This package helps implementors of the various Book interfaces implement
search.
|
Modifier and Type | Field and Description |
---|---|
private static Query |
LuceneQueryBuilder.NULL_QUERY
A query that returns nothing.
|
Modifier and Type | Method and Description |
---|---|
Query |
LuceneQueryBuilder.parse(String aSearch) |
Modifier and Type | Method and Description |
---|---|
Key |
LuceneSearcher.search(Query query) |
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryQuery
A BinaryQuery consists of a Left and a Right Query
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractBinaryQuery
A binary query has a left query and right query.
|
class |
AbstractQuery
A base query is the smallest unit of search that the index can perform.
|
class |
AndNotQuery
An "And Not" query specifies that a result needs to be in the left but not in
the right query result.
|
class |
AndQuery
An AND query specifies that a result needs to be in both the left and the
right query results.
|
class |
BaseQuery
A base query is the smallest unit of search that the index can perform.
|
class |
BlurQuery
A blur query specifies how much to blur the results of the right query before
ANDing it to the left.
|
class |
NullQuery
A null query searches for nothing and returns an empty Key.
|
class |
OrQuery
An OR query specifies that a result is the union of the left and the right
query results.
|
class |
RangeQuery
A range query specifies how a range should be included in the search.
|
Modifier and Type | Field and Description |
---|---|
private Query |
AbstractBinaryQuery.leftQuery |
private Query |
AbstractBinaryQuery.rightQuery |
Modifier and Type | Method and Description |
---|---|
Query |
BinaryQuery.getLeftQuery() |
Query |
AbstractBinaryQuery.getLeftQuery() |
Query |
BinaryQuery.getRightQuery() |
Query |
AbstractBinaryQuery.getRightQuery() |
Query |
QueryBuilder.parse(String aQuery)
Construct a query from a string.
|
Constructor and Description |
---|
AbstractBinaryQuery(Query theLeftQuery,
Query theRightQuery)
Create a query consisting of two queries.
|
AndNotQuery(Query theLeftQuery,
Query theRightQuery)
Create a query where the right query result is subtracted from the left
query result.
|
AndQuery(Query theLeftQuery,
Query theRightQuery)
Create a query where the result is the intersection of two queries.
|
BlurQuery(Query theLeftQuery,
Query theRightQuery,
int theFactor)
Create a query that specifies how much to blur the results of the right
query before ANDing it to the left.
|
OrQuery(Query theLeftQuery,
Query theRightQuery) |
Modifier and Type | Method and Description |
---|---|
Key |
Searcher.search(Query request)
Take a search request and decipher it into a Passage.
|