# File lib/ferret/browser.rb, line 223 def show(field) if field and field.length > 0 @field = field.to_sym @terms = @reader.terms(@field).to_json(:fast) end render(:action => :index) end
# File lib/ferret/browser.rb, line 231 def termdocs(args) args = args.split('/') @field = args.shift.intern @term = args.join('/') render(:action => :termdocs, :content_type => 'text/plain', :layout => false) end