net.sf.zekr.engine.search
Class SearchResultItem
java.lang.Object
net.sf.zekr.engine.search.SearchResultItem
public class SearchResultItem
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
text
public java.lang.String text
location
public IQuranLocation location
score
public double score
matchedParts
public java.util.List matchedParts
null
matchedParts means that this item was matched because of an exclude term in the search
query.
SearchResultItem
public SearchResultItem(java.lang.String ayaText,
IQuranLocation location)
- Parameters:
ayaText
- location
-
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toMeaningfulString
public java.lang.String toMeaningfulString()
getLocation
public IQuranLocation getLocation()
- Method needed for Velocity
- Returns:
- location
getText
public java.lang.String getText()
- Method needed for Velocity
- Returns:
- text