|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WrappedHit
Allows us to interface out a Lucene Hit so that we can test the LuceneResultFilter properly. (Hit is final, and
can only be instantiated if you have a Hits collection, a Searcher, and God knows what else). All the methods on
this interface (except getRawHit()
are copied from the Hit class.
Method Summary | |
---|---|
java.lang.String |
get(java.lang.String s)
Deprecated. |
float |
getBoost()
Deprecated. |
org.apache.lucene.document.Document |
getDocument()
Deprecated. |
int |
getId()
Deprecated. |
org.apache.lucene.search.ScoreDoc |
getRawHit()
Deprecated. |
float |
getScore()
Deprecated. |
Method Detail |
---|
org.apache.lucene.document.Document getDocument() throws org.apache.lucene.index.CorruptIndexException, java.io.IOException
org.apache.lucene.index.CorruptIndexException
java.io.IOException
float getScore() throws java.io.IOException
java.io.IOException
int getId() throws java.io.IOException
java.io.IOException
float getBoost() throws org.apache.lucene.index.CorruptIndexException, java.io.IOException
org.apache.lucene.index.CorruptIndexException
java.io.IOException
java.lang.String get(java.lang.String s) throws org.apache.lucene.index.CorruptIndexException, java.io.IOException
org.apache.lucene.index.CorruptIndexException
java.io.IOException
org.apache.lucene.search.ScoreDoc getRawHit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |