IDZEBRA  2.2.7
Data Fields
rset_term Struct Reference

#include <rset.h>

Data Fields

char * name
 
char * flags
 
int type
 
int reg_type
 
RSET rset
 
void * rankpriv
 
zint hits_limit
 
char * ref_id
 
struct ord_listol
 

Detailed Description

rset_term is all we need to know of a term to do ranking etc. As far as the rsets are concerned, it is just a dummy pointer to be passed around.

Definition at line 50 of file rset.h.

Field Documentation

◆ flags

char* rset_term::flags

the term itself in internal encoding (UTF-8/raw)

Definition at line 52 of file rset.h.

Referenced by calc(), and rset_term_create().

◆ hits_limit

zint rset_term::hits_limit

private stuff for the ranking algorithm

Definition at line 62 of file rset.h.

Referenced by rset_create_base(), and rset_term_create().

◆ name

char* rset_term::name

◆ ol

struct ord_list* rset_term::ol

reference for this term

Definition at line 64 of file rset.h.

Referenced by begin(), get_first_snippet_from_rset(), resultSetSortSingle(), rset_term_create(), and zebra_snippets_hit_vector().

◆ rankpriv

void* rset_term::rankpriv

the rset corresponding to this term

Definition at line 61 of file rset.h.

Referenced by add(), begin(), and rset_term_create().

◆ ref_id

char* rset_term::ref_id

limit for hits if > 0

Definition at line 63 of file rset.h.

Referenced by rset_create_base(), rset_term_create(), and zebra_result_set_term_info().

◆ reg_type

int rset_term::reg_type

Term_type from RPN Query. Actually this is Z_Term_general, Z_Term_numeric, Z_Term_characterString, .. This info is used to return encoded term back for search-result-1 .

Definition at line 59 of file rset.h.

Referenced by rset_term_create().

◆ rset

RSET rset_term::rset

register type

Definition at line 60 of file rset.h.

Referenced by begin(), checkterm(), rset_create_base(), and rset_term_create().

◆ type

int rset_term::type

flags for rank method

Definition at line 53 of file rset.h.

Referenced by rset_term_create().


The documentation for this struct was generated from the following file: