Object
# File lib/fastri/full_text_index.rb, line 15 def initialize(searcher, query, index, path, metadata) @searcher = searcher @index = index @query = query @path = path @metadata = metadata end
# File lib/fastri/full_text_index.rb, line 23 def context(size) @searcher.fetch_data(@index, 2*size+1, -size) end
# File lib/fastri/full_text_index.rb, line 27 def text(size) @searcher.fetch_data(@index, size, 0) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.