Added type-specific values to index empty fields in Lucene
Check for non-existing element