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
IOException
public org.apache.lucene.document.Document getDocument() throws IOException
getDocument
in interface WrappedHit
IOException
public float getScore()
getScore
in interface WrappedHit
public int getId()
getId
in interface WrappedHit
public float getBoost()
getBoost
in interface WrappedHit
public String get(String field) throws IOException
get
in interface WrappedHit
IOException
public org.apache.lucene.search.ScoreDoc getRawHit()
getRawHit
in interface WrappedHit
Copyright © 2003–2017 Atlassian. All rights reserved.