pazpar2  1.13.0
Data Structures | Functions
termlists.h File Reference
#include <yaz/nmem.h>

Go to the source code of this file.

Data Structures

struct  termlist_score
 

Functions

struct termlisttermlist_create (NMEM nmem)
 
void termlist_insert (struct termlist *tl, const char *display_term, const char *norm_term, const char *id, size_t id_len, int freq)
 
struct termlist_score ** termlist_highscore (struct termlist *tl, int *len, NMEM nmem)
 

Function Documentation

struct termlist* termlist_create ( NMEM  nmem)

Definition at line 52 of file termlists.c.

References termlist::hash_size, termlist::hashtable, termlist::nmem, and termlist::no_entries.

Referenced by add_facet().

struct termlist_score** termlist_highscore ( struct termlist tl,
int *  len,
NMEM  nmem 
)
void termlist_insert ( struct termlist tl,
const char *  display_term,
const char *  norm_term,
const char *  id,
size_t  id_len,
int  freq 
)