Complete the definition of the index_entry record

Most of the values are ignored, though
Remove references to ref type filtering