Methods

Class Index [+]

Quicksearch

Ferret::Browser::TermController

Public Instance Methods

show(field) click to toggle source
     # File lib/ferret/browser.rb, line 223
223:     def show(field)
224:       if field and field.length > 0
225:         @field = field.to_sym
226:         @terms = @reader.terms(@field).to_json(:fast)
227:       end
228:       render(:action => :index)
229:     end
termdocs(args) click to toggle source
     # File lib/ferret/browser.rb, line 231
231:     def termdocs(args)
232:       args = args.split('/')
233:       @field = args.shift.intern
234:       @term = args.join('/')
235:       render(:action => :termdocs,
236:              :content_type => 'text/plain',
237:              :layout => false)
238:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.