Refactor code that extracts terms for relevance-ranking
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 19 Sep 2011 12:03:16 +0000 (14:03 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 19 Sep 2011 12:03:16 +0000 (14:03 +0200)
commitf8d8d8ddec7c889411a09248f02e565de1d94cbc
treeebea0c14a20336078fc6193c649eba5b733877f4
parentb98dee48223d77553169129fc98f9bb40475c7c1
Refactor code that extracts terms for relevance-ranking

Function pull_terms checks for max number of terms in termlist -
to prevent SEGV/exploit.
src/client.c
src/relevance.c
src/relevance.h
src/session.c
src/session.h