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 java.lang.Object
implements WrappedHit


Constructor Summary
WrappedHitImpl(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreDoc hit)
          Deprecated.  
 
Method Summary
 java.lang.String get(java.lang.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.  
 java.lang.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 java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

getDocument

public org.apache.lucene.document.Document getDocument()
                                                throws java.io.IOException
Deprecated. 
Specified by:
getDocument in interface WrappedHit
Throws:
java.io.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 java.lang.String get(java.lang.String field)
                     throws java.io.IOException
Deprecated. 
Specified by:
get in interface WrappedHit
Throws:
java.io.IOException

getRawHit

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

toString

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.