- All data is within a user-provided Subspace, which is excluded from the descriptions below.
- All keys are tuples unless otherwise stated.
- All values are not tuples unless otherwise stated.
- Short strings are used to describe related keys as an aid to readability.
("d", $id) -> EMPTY_VALUE -- represents an in-use doc id. id is in range [0, 2^31-1).
("i", "nd") -> $int -- The number of documents in the index
("s", $docID, $fieldName) -> ($fieldType, $fieldValue) -- StoredField fieldType := "b" | "d" | "f" | "i" | "l" | "s"
("f", $fieldName, "dc") -> $docCount : LeafReader:getDocCount(field) and Terms.getDocCount() ("f", $fieldName, "sdf") -> $sumDocFreq : LeafReader:getSumDocFreq(field) and Terms.getSumDocFreq() ("f", $fieldName, "sttf") -> $sumTotalTermFreq : LeafReader:getSumTotalTermFreq(field) and Terms.getSumTotalTermFreq() ("ndv", $fieldName, $docID) -> $long : LeafReader.getNumericDocValues(field) ("nv", $fieldName, $docID) -> $long : LeafReader.getNormValues(field) BinaryDocValues -- TODO PointValues -- TODO SortedDocValues -- TODO SortedNumericDocValues -- TODO SortedSetDocValues -- TODO
("t", $fieldName, $term, "df") -> $docFreq : LeafReader.docFreq(term), TermsEnum.docFreq(), TermsEnum.totalTermFreq ("t", $fieldName, $term, "ttf") -> $totalTermFreq : TermsEnum.totalTermFreq
("pm", $fieldName, $term, $docID) -> (freq) ("pp", $fieldName, $term, $docID, $pos) -> (startOffset, endOffset, payload)