public class WrappedHitImpl extends Object implements WrappedHit
| Constructor and Description |
|---|
WrappedHitImpl(org.apache.lucene.search.IndexSearcher searcher,
org.apache.lucene.search.ScoreDoc hit)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
get(String field)
Deprecated.
|
float |
getBoost()
Deprecated.
|
org.apache.lucene.document.Document |
getDocument()
Deprecated.
|
int |
getId()
Deprecated.
|
org.apache.lucene.search.ScoreDoc |
getRawHit()
Deprecated.
|
float |
getScore()
Deprecated.
|
String |
toString()
Deprecated.
|
public WrappedHitImpl(org.apache.lucene.search.IndexSearcher searcher,
org.apache.lucene.search.ScoreDoc hit)
throws IOException
IOExceptionpublic org.apache.lucene.document.Document getDocument()
throws IOException
getDocument in interface WrappedHitIOExceptionpublic float getScore()
getScore in interface WrappedHitpublic int getId()
getId in interface WrappedHitpublic float getBoost()
getBoost in interface WrappedHitpublic String get(String field) throws IOException
get in interface WrappedHitIOExceptionpublic org.apache.lucene.search.ScoreDoc getRawHit()
getRawHit in interface WrappedHitCopyright © 2003–2019 Atlassian. All rights reserved.