Displaying 1 result from an estimated 1 matches for "lona".
Did you mean:
lon
2006 Sep 05
4
No matches
...ex = Index::Index.new(:path => path, :field_infos => field_infos,
:analyzer => Analysis::AsciiStandardAnalyzer.new)
index << {:name => "Joe"}
index << {:name => "Sandy"}
index << {:name => "Billy"}
index << {:name => "Lona"}
index << {:name => "Frank"}
index.optimize
query = Search::TermQuery.new(:name, "Joe")
index.search_each(query, {:limit => :all}) do |doc, score|
puts ''i am here to just drink some hot chocolate.''
puts index[doc]["name"]
end
---...