         # File lib/ferret/index.rb, line 358
    358:     def search_each(query, options = {}) # :yield: doc, score
    359:       @dir.synchronize do
    360:         ensure_searcher_open()
    361:         query = do_process_query(query)
    362:
    363:         @searcher.search_each(query, options) do |doc, score|
    364:           yield doc, score
    365:         end
    366:       end
    367:     end