         # File lib/ferret/index.rb, line 384
    384:     def search_each(query, options = {}) # :yield: doc, score
    385:       @dir.synchronize do
    386:         ensure_searcher_open()
    387:         query = do_process_query(query)
    388:
    389:         @searcher.search_each(query, options) do |doc, score|
    390:           yield doc, score
    391:         end
    392:       end
    393:     end