org.paneris.bibliomania.fti
Class ContextSearchResults
java.lang.Object
org.paneris.bibliomania.fti.ContextSearchResults
- All Implemented Interfaces:
- org.melati.poem.transaction.ToTidyList.Closeable, SearchResults, TextSearchResults
public class ContextSearchResults
- extends java.lang.Object
- implements SearchResults
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextUnavailable
public static final java.lang.String contextUnavailable
- See Also:
- Constant Field Values
contextWordsAfterHit
public static final int contextWordsAfterHit
- See Also:
- Constant Field Values
wordsGapBetweenAreas
public static final int wordsGapBetweenAreas
- See Also:
- Constant Field Values
ContextSearchResults
public ContextSearchResults(Library library,
SearchResults results,
IndexOther fti)
frequency
public int frequency()
- Specified by:
frequency
in interface SearchResults
hitWordsCount
public int hitWordsCount()
- Specified by:
hitWordsCount
in interface TextSearchResults
init
public void init()
- Specified by:
init
in interface TextSearchResults
skipToNextHit
public void skipToNextHit()
- Specified by:
skipToNextHit
in interface TextSearchResults
skipToWordIndex
public void skipToWordIndex(int wordIndex)
- Specified by:
skipToWordIndex
in interface TextSearchResults
currentWordIndex
public int currentWordIndex()
- Specified by:
currentWordIndex
in interface TextSearchResults
currentOffset
public int currentOffset()
- Specified by:
currentOffset
in interface TextSearchResults
gotoText
public void gotoText(long textID)
throws com.sleepycat.db.DatabaseException
- Specified by:
gotoText
in interface SearchResults
- Throws:
com.sleepycat.db.DatabaseException
gotoPosition
public void gotoPosition(long position)
throws com.sleepycat.db.DatabaseException
- Throws:
com.sleepycat.db.DatabaseException
getPosition
public long getPosition()
currentTextID
public long currentTextID()
- Specified by:
currentTextID
in interface SearchResults
currentText
public Text currentText()
currentAnchor
public java.lang.String currentAnchor()
throws com.sleepycat.db.DatabaseException
- Throws:
com.sleepycat.db.DatabaseException
nextArea
public java.lang.String nextArea()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
close
public void close()
- Specified by:
close
in interface org.melati.poem.transaction.ToTidyList.Closeable
Copyright © 2000-2009 PanEris. All Rights Reserved.