Deal with empty fields for ranking
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Nov 2009 11:48:12 +0000 (12:48 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Nov 2009 11:48:12 +0000 (12:48 +0100)
commit6a3be08c0fb5c7ad1f14168435b3de51028945d2
tree93c516c869c34751a4127d8df7858624c0a979de
parent503cdee3366cc0366cc63b8ff275223f9a21b4f3
Deal with empty fields for ranking

Avoid division by length=0 in relevance_countwords.
src/relevance.c
test/test_http_18.res