|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DocNumMap
Provides information on the chunk size and chunk overlap for a given index, and provides a mapping from main documents to the chunks they are made of.
Method Summary | |
---|---|
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. |
Method Detail |
---|
int getChunkSize()
int getChunkOverlap()
int getDocCount()
int getDocNum(int chunkNumber)
chunkNumber
- Chunk number to translate
int getFirstChunk(int docNum)
int getLastChunk(int docNum)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |