[pylucene-dev] PyLucene 2.1.0-2: bad scores for searches?
Bill Janssen
janssen at parc.com
Mon Jun 4 15:16:51 PDT 2007
I've built PyLucene 2.1.0-2 on Intel Mac OS X 10.4.9 with the OSAF gcc
4.0.2 from 11/6/2006, using the system version of Python (2.3.5). I'm
getting wierd scores for searches. I've got a collection of documents
tagged with category names like "paper", "photo", "article", etc.
About 100 categories. When I search on a particular category:
category:photo
I typically get back a list of hits, each having a score of .5 to 1.0,
depending on how many categories they are in (usually two or three).
However, when I search for
category:article
I get back 500 some hits, but all zero scores (actually, values like
8.31538032875e-11). What the heck? I've tried lots of other category
values; this is the only one that gives me those tiny values. Is this
some wierd floating-point oddity?
Bill
More information about the pylucene-dev
mailing list