How to return entire index

Can someone tell me how I can return the entire index rather than
searching it? Index.new(:path => $index_dir) creates an Index object,
but it doesn’t seem like the index is contained in it.