public interface DocNumMap
Modifier and Type | Method and Description |
---|---|
int |
getChunkOverlap()
Get the number of words one chunk overlaps with the next
|
int |
getChunkSize()
Get the max number of words per chunk
|
int |
getDocCount()
Count the number of main documents (not chunks) in the index.
|
int |
getDocNum(int chunkNumber)
Given a chunk number, return the corresponding document number that it
is part of.
|
int |
getFirstChunk(int docNum)
Given a document number, this method returns the number of its first
chunk.
|
int |
getLastChunk(int docNum)
Given a document number, this method returns the number of its last
chunk.
|
int getChunkSize()
int getChunkOverlap()
int getDocCount()
int getDocNum(int chunkNumber)
chunkNumber
- Chunk number to translateint getFirstChunk(int docNum)
int getLastChunk(int docNum)