|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.components.search.LuceneCocoonPager.HitWrapper
public static class LuceneCocoonPager.HitWrapper
A helper class encapsulating found document, and its score
Constructor Summary | |
---|---|
LuceneCocoonPager.HitWrapper(float score,
org.apache.lucene.document.Document document)
Constructor for the HitWrapper object |
Method Summary | |
---|---|
org.apache.lucene.document.Document |
getDocument()
Gets the document attribute of the HitWrapper object |
String |
getField(String field)
Gets the field attribute of the HitWrapper object |
float |
getScore()
Gets the score attribute of the HitWrapper object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LuceneCocoonPager.HitWrapper(float score, org.apache.lucene.document.Document document)
score
- Description of Parameterdocument
- Description of ParameterMethod Detail |
---|
public org.apache.lucene.document.Document getDocument()
public float getScore()
public String getField(String field)
field
- Description of Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |