|
xapian-core
2.0.0
|
Classes | |
| class | DocLenChunkReader |
| class | PostingChunkReader |
| struct | fragment |
| class | ValueUpdater |
| class | ValueChunkReader |
| class | RootInfo |
Enumerations | |
| enum | table_type { POSTLIST , DOCDATA , TERMLIST , POSITION , SPELLING , SYNONYM , MAX_ } |
| enum | { KEY_USER_METADATA = 0x00 , KEY_VALUE_STATS = 0x01 , KEY_VALUE_STATS_HI = 0x08 , KEY_VALUE_CHUNK = 0x09 , KEY_VALUE_CHUNK_HI = 0xe1 , KEY_DOCLEN_CHUNK = 0xf7 , KEY_DOCLEN_CHUNK_HI = 0xfe , KEY_POSTING_CHUNK = 0xff } |
| Postlist key second bytes when first byte is zero. More... | |
Functions | |
| std::string | make_doclenchunk_key (Xapian::docid last_did) |
| Generate a key for a doclen chunk. More... | |
| Xapian::docid | docid_from_key (const std::string &key) |
| std::string | make_postingchunk_key (std::string_view term) |
| Generate a key for a posting initial chunk. More... | |
| std::string | make_postingchunk_key (std::string_view term, Xapian::docid did) |
| Generate a key for a posting continuation chunk. More... | |
| Xapian::docid | docid_from_key (const std::string &term, const std::string &key) |
| std::string | make_spelling_wordlist_key (std::string_view word) |
| std::string | make_valuechunk_key (Xapian::valueno slot, Xapian::docid last_did) |
| Generate a key for a value stream chunk. More... | |
| Xapian::docid | docid_from_key (Xapian::valueno required_slot, const std::string &key) |
| std::string | make_valuestats_key (Xapian::valueno slot) |
| static std::string | encode_valuestats (Xapian::doccount freq, const std::string &lbound, const std::string &ubound) |
Variables | |
| const unsigned | KEY_PREFIX_BOOKEND = 0x00 |
| const unsigned | KEY_PREFIX_HEAD = 0x01 |
| const unsigned | KEY_PREFIX_MIDDLE = 0x02 |
| const unsigned | KEY_PREFIX_TAIL = 0x03 |
| const unsigned | KEY_PREFIX_WORD = 0x04 |
| anonymous enum |
Postlist key second bytes when first byte is zero.
| Enumerator | |
|---|---|
| KEY_USER_METADATA | |
| KEY_VALUE_STATS | |
| KEY_VALUE_STATS_HI | |
| KEY_VALUE_CHUNK | |
| KEY_VALUE_CHUNK_HI | |
| KEY_DOCLEN_CHUNK | |
| KEY_DOCLEN_CHUNK_HI | |
| KEY_POSTING_CHUNK | |
Definition at line 79 of file honey_defs.h.
| enum Honey::table_type |
| Enumerator | |
|---|---|
| POSTLIST | |
| DOCDATA | |
| TERMLIST | |
| POSITION | |
| SPELLING | |
| SYNONYM | |
| MAX_ | |
Definition at line 68 of file honey_defs.h.
|
inline |
Definition at line 65 of file honey_alldocspostlist.h.
References Assert, AssertEq, do_bswap(), KEY_DOCLEN_CHUNK, KEY_DOCLEN_CHUNK_HI, and p.
Referenced by HoneyValueManager::get_chunk_containing_did(), HoneyPostListTable::get_used_docid_range(), HoneyCompact::PostlistCursor< const HoneyTable & >::next(), Honey::DocLenChunkReader::update(), Honey::ValueUpdater::update(), HoneyPostList::update_reader(), and HoneyValueList::update_reader().
|
inline |
Definition at line 57 of file honey_postlist.h.
References p, term, unpack_string_preserving_sort(), and unpack_uint_preserving_sort().
|
inline |
Definition at line 53 of file honey_values.h.
References KEY_VALUE_CHUNK, KEY_VALUE_CHUNK_HI, p, and unpack_uint_preserving_sort().
|
inlinestatic |
Definition at line 96 of file honey_values.h.
References pack_string(), and pack_uint().
Referenced by HoneyValueManager::set_value_stats().
|
inline |
Generate a key for a doclen chunk.
Definition at line 43 of file honey_alldocspostlist.h.
References Assert, do_bswap(), and KEY_DOCLEN_CHUNK.
Referenced by HoneyAllDocsPostList::check(), HoneyDatabase::get_doclength(), HoneyPostListTable::get_used_docid_range(), HoneyCompact::merge_postlists(), and HoneyAllDocsPostList::skip_to().
|
inline |
Generate a key for a posting initial chunk.
Definition at line 39 of file honey_postlist.h.
References pack_string_preserving_sort(), and term.
Referenced by HoneyPostListTable::get_freqs(), HoneyPostListTable::get_wdf_upper_bound(), HoneyPostList::open_nearby_postlist(), HoneyPostListTable::open_post_list(), and HoneyPostList::skip_to().
|
inline |
Generate a key for a posting continuation chunk.
Definition at line 48 of file honey_postlist.h.
References pack_string_preserving_sort(), pack_uint_preserving_sort(), and term.
|
inline |
Definition at line 44 of file honey_spelling.h.
References KEY_PREFIX_WORD, and rare.
Referenced by HoneySpellingTable::add_word(), HoneySpellingTable::get_word_frequency(), HoneySpellingTable::merge_changes(), HoneySpellingTable::remove_word(), and HoneySpellingWordsList::skip_to().
|
inline |
Generate a key for a value stream chunk.
Definition at line 39 of file honey_values.h.
References KEY_VALUE_CHUNK, KEY_VALUE_CHUNK_HI, and pack_uint_preserving_sort().
Referenced by HoneyValueManager::get_chunk_containing_did(), HoneyCompact::PostlistCursor< const GlassTable & >::next(), HoneyCompact::PostlistCursor< const HoneyTable & >::next(), HoneyValueList::next(), HoneyValueList::skip_to(), Honey::ValueUpdater::update(), and Honey::ValueUpdater::write_tag().
|
inline |
Definition at line 83 of file honey_values.h.
References KEY_VALUE_STATS, and pack_uint_preserving_sort().
Referenced by HoneyValueManager::get_value_stats(), HoneyCompact::PostlistCursor< const GlassTable & >::next(), and HoneyValueManager::set_value_stats().
| const unsigned Honey::KEY_PREFIX_BOOKEND = 0x00 |
Definition at line 37 of file honey_spelling.h.
Referenced by HoneySpellingTermList::HoneySpellingTermList(), HoneyCompact::merge_spellings(), HoneySpellingTable::open_termlist(), PrefixCompressedStringItor::PrefixCompressedStringItor(), PrefixCompressedStringWriter::PrefixCompressedStringWriter(), and HoneySpellingTable::toggle_word().
| const unsigned Honey::KEY_PREFIX_HEAD = 0x01 |
Definition at line 38 of file honey_spelling.h.
Referenced by HoneySpellingTermList::HoneySpellingTermList(), HoneyCompact::merge_spellings(), HoneySpellingTable::open_termlist(), PrefixCompressedStringItor::PrefixCompressedStringItor(), PrefixCompressedStringWriter::PrefixCompressedStringWriter(), and HoneySpellingTable::toggle_word().
| const unsigned Honey::KEY_PREFIX_MIDDLE = 0x02 |
Definition at line 39 of file honey_spelling.h.
Referenced by HoneyCompact::merge_spellings(), HoneySpellingTable::open_termlist(), Honey::fragment::operator std::string(), and HoneySpellingTable::toggle_word().
| const unsigned Honey::KEY_PREFIX_TAIL = 0x03 |
Definition at line 40 of file honey_spelling.h.
Referenced by HoneySpellingTermList::HoneySpellingTermList(), HoneyCompact::merge_spellings(), HoneySpellingTable::open_termlist(), PrefixCompressedStringItor::PrefixCompressedStringItor(), PrefixCompressedStringWriter::PrefixCompressedStringWriter(), and HoneySpellingTable::toggle_word().
| const unsigned Honey::KEY_PREFIX_WORD = 0x04 |
Definition at line 41 of file honey_spelling.h.
Referenced by HoneySpellingWordsList::get_termfreq(), HoneySpellingTermList::HoneySpellingTermList(), make_spelling_wordlist_key(), HoneyCompact::merge_spellings(), HoneySpellingWordsList::next(), PrefixCompressedStringItor::PrefixCompressedStringItor(), PrefixCompressedStringWriter::PrefixCompressedStringWriter(), and HoneySpellingWordsList::skip_to().