com.atlassian.confluence.search.v2.lucene
Class WrappedHitImpl
java.lang.Object
com.atlassian.confluence.search.v2.lucene.WrappedHitImpl
- All Implemented Interfaces:
- WrappedHit
public class WrappedHitImpl
- extends java.lang.Object
- implements WrappedHit
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WrappedHitImpl
public WrappedHitImpl(org.apache.lucene.search.Hit hit)
getDocument
public org.apache.lucene.document.Document getDocument()
throws org.apache.lucene.index.CorruptIndexException,
java.io.IOException
- Specified by:
getDocument
in interface WrappedHit
- Throws:
org.apache.lucene.index.CorruptIndexException
java.io.IOException
- See Also:
Hit.getDocument()
getScore
public float getScore()
throws java.io.IOException
- Specified by:
getScore
in interface WrappedHit
- Throws:
java.io.IOException
- See Also:
Hit.getScore()
getId
public int getId()
throws java.io.IOException
- Specified by:
getId
in interface WrappedHit
- Throws:
java.io.IOException
- See Also:
Hit.getId()
getBoost
public float getBoost()
throws org.apache.lucene.index.CorruptIndexException,
java.io.IOException
- Specified by:
getBoost
in interface WrappedHit
- Throws:
org.apache.lucene.index.CorruptIndexException
java.io.IOException
- See Also:
Hit.getBoost()
get
public java.lang.String get(java.lang.String s)
throws org.apache.lucene.index.CorruptIndexException,
java.io.IOException
- Specified by:
get
in interface WrappedHit
- Throws:
org.apache.lucene.index.CorruptIndexException
java.io.IOException
- See Also:
Hit.get(java.lang.String)
getRawHit
public org.apache.lucene.search.Hit getRawHit()
- Description copied from interface:
WrappedHit
- Get the Lucene hit object, unwrapped.
- Specified by:
getRawHit
in interface WrappedHit
- Returns:
- the Lucene hit object.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2003-2010 Atlassian. All Rights Reserved.