init_index (KirbyBase::KBEngine)

    # File lib/kirbybase.rb, line 829
        def init_index(table, index_fields)
            return if index_exists?(table, index_fields)

            with_write_locked_table(table) do |fptr|
                @indexes["#{table.name}_#{index_fields.join('_')}".to_sym] = \
                 KBIndex.new(table, index_fields)
                @indexes["#{table.name}_#{index_fields.join('_')}".to_sym
                 ].rebuild(fptr)
            end
        end