`Xapian::doccount` is an integer type, but `1.0` is a double constant - this change doesn't really make much sense.