         # File lib/ferret/index.rb, line 389
    389:     def search_each(query, options = {}) # :yield: doc, score
    390:       @dir.synchronize do
    391:         ensure_searcher_open()
    392:         query = do_process_query(query)
    393:
    394:         @searcher.search_each(query, options) do |doc, score|
    395:           yield doc, score
    396:         end
    397:       end
    398:     end