only compute _all boost if AllEntries actually contains some entries
added simple test to ensure empty documents are correctly indexed with keyword analyzer