com.atlassian.confluence.search.v2.lucene
Class WrappedHitImpl

java.lang.Object
  extended by com.atlassian.confluence.search.v2.lucene.WrappedHitImpl
All Implemented Interfaces:
WrappedHit

Deprecated. since 5.2. Hit abstraction no longer exists in lucene 4.2.x.

public class WrappedHitImpl
extends Object
implements WrappedHit


Constructor Summary
WrappedHitImpl(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreDoc hit)
          Deprecated.  
 
Method Summary
 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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrappedHitImpl

public WrappedHitImpl(org.apache.lucene.search.IndexSearcher searcher,
                      org.apache.lucene.search.ScoreDoc hit)
               throws IOException
Deprecated. 
Throws:
IOException
Method Detail

getDocument

public org.apache.lucene.document.Document getDocument()
                                                throws IOException
Deprecated. 
Specified by:
getDocument in interface WrappedHit
Throws:
IOException

getScore

public float getScore()
Deprecated. 
Specified by:
getScore in interface WrappedHit

getId

public int getId()
Deprecated. 
Specified by:
getId in interface WrappedHit

getBoost

public float getBoost()
Deprecated. 
Specified by:
getBoost in interface WrappedHit

get

public String get(String field)
           throws IOException
Deprecated. 
Specified by:
get in interface WrappedHit
Throws:
IOException

getRawHit

public org.apache.lucene.search.ScoreDoc getRawHit()
Deprecated. 
Specified by:
getRawHit in interface WrappedHit

toString

public String toString()
Deprecated. 
Overrides:
toString in class Object


Confluence is developed by Atlassian.