pazpar2  1.14.1
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

◆ termlist_create()

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().

◆ termlist_highscore()

struct termlist_score** termlist_highscore ( struct termlist tl,
int *  len,
NMEM  nmem 
)

Definition at line 109 of file termlists.c.

Referenced by perform_termlist().

◆ termlist_insert()

void termlist_insert ( struct termlist tl,
const char *  display_term,
const char *  norm_term,
const char *  id,
size_t  id_len,
int  freq 
)