public class ResultItem extends BrowseItem
QueryServlet
in such a way that they are easily accessible from the Velocity Template Language.| Modifier and Type | Field and Description |
|---|---|
int |
doc
The document index of this result.
|
double |
score
The score of this result.
|
alt, text, title, uri| Constructor and Description |
|---|
ResultItem(int doc,
double score) |
public final int doc
public final double score
public int doc()
public final double score()
public final String score(int digits)
public String toString()
toString in class BrowseItem