8 9 10 11 12 13 14 15 16 17 18
# File 'lib/geoff/indexer.rb', line 8 def rebuild_indices db @db = db Geoff.log 're-building indexes' Neo4j::Transaction.run do node_types.each do |type| re_index(type) end end end