class PolyrexSearch

Public Class Methods

new(index_file=nil) click to toggle source
# File lib/polyrex-search.rb, line 9
def initialize(index_file=nil)
  
  if index_file then
    @polyrex = Polyrex.new(index_file)
  else
    @polyrex = Polyrex.new('words/key[word]/location[url]')
  end
end

Public Instance Methods