first comparison code

No index on any fields. Insert thousands of records and then query for
them by ‘index’ property