Allow popularity field to be omitted

When the popularity field is required, indexing fails for many
documents.