         # File lib/ferret/index.rb, line 379
    379:     def search_each(query, options = {}) # :yield: doc, score
    380:       @dir.synchronize do
    381:         ensure_searcher_open()
    382:         query = do_process_query(query)
    383:
    384:         @searcher.search_each(query, options) do |doc, score|
    385:           yield doc, score
    386:         end
    387:       end
    388:     end