org.apache.xindice.core.query.ftsearch
Class NodeTermPositions
java.lang.Object
org.apache.xindice.core.query.ftsearch.NodeTermDocs
org.apache.xindice.core.query.ftsearch.NodeTermPositions
- All Implemented Interfaces:
- org.apache.lucene.index.TermDocs, org.apache.lucene.index.TermPositions
- public class NodeTermPositions
- extends NodeTermDocs
- implements org.apache.lucene.index.TermPositions
TermPositions for searching over DOM nodes in memory
- Version:
- $Revision: 584476 $, $Date: 2007-10-13 22:41:50 -0400 (Sat, 13 Oct 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.lucene.index.TermDocs |
close, doc, freq, read, seek, skipTo |
NodeTermPositions
public NodeTermPositions(NodeReader reader)
seek
public void seek(org.apache.lucene.index.Term term)
- Specified by:
seek
in interface org.apache.lucene.index.TermDocs
- Overrides:
seek
in class NodeTermDocs
nextPosition
public int nextPosition()
throws IOException
- Specified by:
nextPosition
in interface org.apache.lucene.index.TermPositions
- Throws:
IOException
next
public boolean next()
- Specified by:
next
in interface org.apache.lucene.index.TermDocs
- Overrides:
next
in class NodeTermDocs
getPayloadLength
public int getPayloadLength()
- Specified by:
getPayloadLength
in interface org.apache.lucene.index.TermPositions
getPayload
public byte[] getPayload(byte[] data,
int offset)
throws IOException
- Specified by:
getPayload
in interface org.apache.lucene.index.TermPositions
- Throws:
IOException
isPayloadAvailable
public boolean isPayloadAvailable()
- Specified by:
isPayloadAvailable
in interface org.apache.lucene.index.TermPositions
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.