|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.index.search.DefaultSearchModifier
public class DefaultSearchModifier
The DefaultSearchModifier provides a simple implementation of a SearchModifier.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormField Summary | |
---|---|
private int |
maxResults
The indicator of whether the request should be ranked. |
private boolean |
ranked
The indicator of whether the request should be ranked. |
private static long |
serialVersionUID
Serialization ID |
Constructor Summary | |
---|---|
DefaultSearchModifier()
A default SearchModifier that returns all hits and does not rank the results. |
Method Summary | |
---|---|
int |
getMaxResults()
|
boolean |
isRanked()
|
void |
setMaxResults(int newMaxResults)
The maximum number of results to provide. |
void |
setRanked(boolean newRanked)
Set whether or not the search should be ranked. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean ranked
private int maxResults
private static final long serialVersionUID
Constructor Detail |
---|
public DefaultSearchModifier()
Method Detail |
---|
public boolean isRanked()
isRanked
in interface SearchModifier
public void setRanked(boolean newRanked)
newRanked
- true if the search should be rankedpublic int getMaxResults()
getMaxResults
in interface SearchModifier
public void setMaxResults(int newMaxResults)
newMaxResults
- the maxResults to set
|
Copyright ? 2003-2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |