#include "lcn_types.h"
#include "lcn_terminfos.h"
#include "lcn_directory.h"
#include <apr_pools.h>
Go to the source code of this file.
Typedefs | |
typedef lcn_frequencies_t | lcn_frequencies_t |
Opaque structure representing the frequencies file for a segment. | |
Functions | |
lcn_error_t * | lcn_frequencies_open (lcn_frequencies_t **freqs, const lcn_directory_t *d, const lcn_char_t *s, apr_pool_t *pool) |
Return the freqs for segment s in directory d, allocated in pool. | |
lcn_error_t * | lcn_frequencies_get_terminfo_data (apr_uint32_t **docs, apr_uint32_t **freqs, lcn_frequencies_t *f, const lcn_terminfo_t *ti, apr_pool_t *pool) |
Return the document numbers docs and frequencies freqs for all documents that contain the term represented by lcn_terminfo_t ti within lcn_frequencies_t f, allocated in pool. |
Definition in file lcn_frequencies.h.